Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to decode NR-RRC messages after installing the RLS-wireshark-dissector #10

Closed
pychan88 opened this issue Jan 5, 2024 · 3 comments
Labels
Wireshark dissector Related to RLS-wireshark-dissector

Comments

@pychan88
Copy link

pychan88 commented Jan 5, 2024

  1. My OS version: Ubuntu Linux

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

  1. Wireshark version:
    Version 4.0.6 (Git v4.0.6 packaged as 4.0.6-1exp1ubuntu22.04.0~ppa1)

  2. Cannot decode your example pcap file

Screenshot from 2024-01-05 16-10-33

  1. UERANSIM version: 3.2.6

  2. Version of plugin: unknown (how to check it?)

  3. Plugin can be installed successfully in Terminal but it cannot be found in Wireshark even after reloading the plugin (Analyze > Reload Lua Plugins):

eecatchan@eecatchan-Virtual-Machine:$ mkdir -p ${XDG_LIB_HOME:-/.local/lib}/wireshark/plugins
eecatchan@eecatchan-Virtual-Machine:$ git -C ${XDG_LIB_HOME:-/.local/lib}/wireshark/plugins clone https://github.com/louisroyer/RLS-wireshark-dissector
Cloning into 'RLS-wireshark-dissector'...
remote: Enumerating objects: 120, done.
remote: Counting objects: 100% (60/60), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 120 (delta 30), reused 8 (delta 3), pack-reused 60
Receiving objects: 100% (120/120), 58.94 KiB | 1.25 MiB/s, done.
Resolving deltas: 100% (54/54), done.

Screenshot from 2024-01-05 16-06-32
Screenshot from 2024-01-05 16-07-57

@louisroyer
Copy link
Member

You have installed the module in user eecatchan directory, but you are running Wireshark as root (probably because you started it with sudo). Therefore the module cannot be loaded. Please either:

  1. Install the plugin as root (i.e. in /root/.local/lib/wireshark/plugins), or
  2. Run Wireshark as user eecatchan. If you do this, you may want to configure Wireshark to allow capturing on network interfaces for this user.

@pychan88
Copy link
Author

pychan88 commented Jan 8, 2024 via email

@louisroyer
Copy link
Member

My dissector can be used in real-time, but only with UERANSIM's protocol, not OAI's one. The NR-RRC support is builtin in Wireshark and this plugin only deals with decoding the encapsulation layer; I don't know how NR-RRC is encapsulated in OAI softmodem (I guess this is done in https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/develop/openair1/SIMULATION?ref_type=heads but I can't find a documented protocol).

@louisroyer louisroyer transferred this issue from nextmn/RLS-wireshark-dissector Sep 18, 2024
@louisroyer louisroyer added the Wireshark dissector Related to RLS-wireshark-dissector label Sep 18, 2024
@nextmn nextmn locked and limited conversation to collaborators Sep 18, 2024
@louisroyer louisroyer converted this issue into discussion #11 Sep 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Wireshark dissector Related to RLS-wireshark-dissector
Projects
None yet
Development

No branches or pull requests

2 participants