Wireshark mailing list archives
Dissecting a Protocol with multiple static TCP ports
From: Craig Bumpstead <cbumpste () yahoo com au>
Date: Mon, 26 Apr 2010 15:11:05 -0700 (PDT)
Hi, I am trying to write a dissector for a proprietary protocol. This protocol can use 4 static TCP ports. Thanks to the Wireshark tutorial I have gotten the dissector to work, but only with one static TCP port. I have tried: dissector_add("tcp.port", 21016, myproto_handle); dissector_add("tcp.port", 4435, myproto_handle); .... ..... without any luck, it just decodes the first 2 packets then will only decode packets with TCP port 21016. I've looked at packet-xml.c as directed, in the Developer doc's, but it is a bit beyond my intermediate C skills. I would appreciate any advice or sample piece of code that anyone can help me with. Regards, Craig ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Dissecting a Protocol with multiple static TCP ports Craig Bumpstead (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Bill Meier (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Craig Bumpstead (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Bill Meier (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Craig Bumpstead (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Maynard, Chris (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Craig Bumpstead (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Stephen Fisher (Apr 27)
- Re: Dissecting a Protocol with multiple static TCP ports Craig Bumpstead (Apr 26)
- Re: Dissecting a Protocol with multiple static TCP ports Bill Meier (Apr 26)