Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use UDS dissector inside DoIP dissector

UDS is a diagnostic protocol used in cars. It can be used on any bus that provides a transport protocol.

DoIP (ISO 13400) is a transport protocol created to convey diagnostic messages and other information over TCP or UDP.

I used a custom dissector written in lua to reconstruct and parse DoIP messages and then passed it to a custom uds dissector for the diagnostic message content using

Lua Error: dissect_tcp_pdus dissect_func: [string "C:\Program Files\Wireshark\plugins\2.4.2\doip..."]:160: bad argument #1 to 'get' (Dissector_get: No such dissector)

How am I supposed to use the new UDS dissector?

Use UDS dissector inside DoIP dissector

UDS is a diagnostic protocol used in cars. It can be used on any bus that provides a transport protocol.

DoIP (ISO 13400) is a transport protocol created to convey diagnostic messages and other information over TCP or UDP.

I used a custom dissector written in lua to reconstruct and parse DoIP messages and then passed it to a custom uds dissector for the diagnostic message content using

Dissector.get("uds"):call(tvb(8+4):tvb(),pinfo,tree)

Since 2.4.0, an official uds protocol has landed in Wireshark (yeah!). But it seems I can't call the dissector

Lua Error: dissect_tcp_pdus dissect_func: [string "C:\Program Files\Wireshark\plugins\2.4.2\doip..."]:160: bad argument #1 to 'get' (Dissector_get: No such dissector)

How am I supposed to use the new UDS dissector?