Hi, I'm a newcomer of wireshark.I want to know what the meaning of subdissector, what the relationship between a dissector and their subdissectors. Thank's a lot! asked 03 Mar '13, 00:47 qqgeet edited 03 Mar '13, 03:42 grahamb ♦ |
One Answer:
Basically a dissector and a sub-dissector are two names for the same thing. A dissector dissects protocol headers for a certain protocol. When it comes to dissecting the payload it will hand over the remaining data to the next dissector which is then called a sub-dissector from the point of view from the dissector. So if you have a frame like this "ETH->IP->TCP->HTTP", the following relations will exist:
And for an ICMP destination unreachable frame, it can be like this "ETH->IP->ICMP->IP" which results in the following relationships:
As you can see, the same dissector (IP) can be a dissector and a sub-dissector. It all depends on the view :-) answered 03 Mar '13, 11:09 SYN-bit ♦♦ |
Thank you!
(converted to a comment in keeping with the way ask.wireshark.org works. Please see the FAQ).