ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Bug ugly protocol graph

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 11 Mar 2005 14:21:44 -0800
Gerald Combs wrote:
I wrote a script (attached) that converts the output of "tethereal -G
decodes" into a Graphviz graph.  The final output can be found at
http://www.ethereal.com/~gerald/big-ugly-protocol-graph.png .  With a
bit of tweaking, we _might_ be able to turn this into a protocol poster.

One problem is that it doesn't catch cases where dissector A explicitly calls dissector B, e.g. with "find_dissector()" and "call_dissector()". We could add a protocol ID number argument to "find_dissector()", and have "find_dissector()" build a table of protocols and subdissectors, for that.

It also doesn't handle heuristic dissectors - "tethereal -G" would need to dump the heuristic dissector tables as well.