Error on starting wireshark with SCION dissector

47 views
Skip to first unread message

Leopold Ryll

unread,
Oct 5, 2018, 5:44:07 AM10/5/18
to SCION community
Hello,

I installed the SCION dissector for wireshark as described in SCION Tutorials. When I start wireshark I get the following error message:

wiresharkScionDissectorErrorOnStartup.png


- System: Lubuntu 16.04 in VM

- Wireshark Version: 2.6.3 (Git v2.6.3 packaged as 2.6.3-1~16.04.0)

- Wireshark is started by a non root user belonging to the group `wireshark`

- lua script path is `/usr/lib/x86_64-linux-gnu/wireshark/plugins/2.6`


Does anybody know what to do in this case? Any help appreciated.


Best regards

Leo R.

Matthias Frei

unread,
Oct 5, 2018, 6:31:09 AM10/5/18
to SCION community
Hi Leo,

Looking at the wireshark source code, it appears this is due to a change in the lua API introduced in wireshark-2.5.0; the scion.lua file is passing an empty string as the "text" parameter of the ProtoExpert-constructor which is now explicitly disallowed.

To fix this issue, it should be enough to replace the empty strings in scion.lua in the lines 192 to 213, or apply the patch attached to this message. Unfortunately I cannot test easily test this myself, as I have an older wireshark version installed.
You can apply the patch by running
```
cd $SC && git apply path/to/0001-Fix-dissector-for-wireshark-2.5-add-missing-summary.patch`
```

Cheers,
Matthias
0001-Fix-dissector-for-wireshark-2.5-add-missing-summary.patch

Leopold Ryll

unread,
Oct 5, 2018, 6:48:06 AM10/5/18
to SCION community
Hi Matthias,

that worked. Thank you very much!

Best regards
Leo

Matthias Frei

unread,
Oct 8, 2018, 5:04:55 AM10/8/18
to SCION community
Hi Leo,

glad I could help.

This fix has been pushed to scionproto/scion and the scionlab branch of netsec-ethz/scion.

Cheers
Matthias
Reply all
Reply to author
Forward
0 new messages