Ethereal-dev: Re: [Ethereal-dev] Queries

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

From: Dominique bastien <ip6helper@xxxxxxxxx>
Date: Sat, 30 Apr 2005 08:37:06 -0400 (EDT)
It's when you register your protocol, for instance if you have a protocol on port TCP 1200 :
 
dissector_add("tcp.port", 1200, my_protocol_handle);
 

pradan h <pradan1@xxxxxxxxxxx> wrote:
Hello,
 
I have two questions.
1. How does ethereal detect which protocol dissector to call when it encounters a packet?
2. How do you make ethereal call a protocol dissector when the protocol packet is hidden inside another protocol
i.e FRAME(HEADER(IP PACKET HEADER(TCP PACKET HEADER(XXX PACKET HEADER(DATA))))), If we have to write a protocol dissector which has to dissect the XXX packet what needs to be done.
 
Thanks and best regards,
Pradan.

Yahoo! India Matrimony: Find your life partner online._______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev



Post your free ad now! Yahoo! Canada Personals