OpenCyphal / wireshark_plugins

A place to hold WireShark Filters for Cyphal
MIT License
1 stars 0 forks source link

Import Cyphal/CAN from older UAVCAN filter #2

Closed emrainey closed 1 year ago

emrainey commented 1 year ago

The older filter was written in C so a new filter will have to be rewritten from scratch in Lua if we want that. UDP was very easy in Lua so a working CAN version can't be too hard.

pavel-kirienko commented 1 year ago

Why would we want to rewrite a working dissector in another language though? I think its only problem right now is that it is named improperly (UAVCAN/CAN instead of Cyphal/CAN).

emrainey commented 1 year ago

Keeping them together reduces the support burden for updating the specification. Currently that dissector is in Peter's github and is thousands of commits older than the most up to date wireshark (which has a copy of uavcan-can too).

Learning Lua last night was fairly simple. It's not a complex language, but it is a bit hard to debug inside Wireshark.

pavel-kirienko commented 1 year ago

I see your point but note that Peter's dissector has already been accepted upstream so the fact that his fork is falling behind is not relevant.