Wireshark mailing list archives

Re: Packet direction detection from dissector level


From: Daniel Kozar <los.danielos () gmail com>
Date: Fri, 12 Feb 2010 16:51:06 +0100

Hi there and thanks for the very descriptive replies.

On 12 February 2010 07:49, Jaap Keuter <jaap.keuter () xs4all nl> wrote:
Hi,

There are a few ways to tackle this.
First is based on a known port number. Say the server port has a fixed
value of 4444, you can check the pinfo to see if the sourceport is
4444. If so it's a server packet. If its destinationport is 4444 it is
a client packet. If neither it's not your protocol.


Thanks a lot - that's the first thing I've thought about, didn't
realize that packet_info had any informations about dest/src-port.

On 12 February 2010 07:28, Anders Broman <a.broman () telia com> wrote:
There is a dissector for gadu-gadu in th bugs data base
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3256
is there a solution in that one?
Regards
Anders

Is there a reason why it wasn't added to the mainstream Wireshark?

Kind regards,
D.K.
___________________________________________________________________________
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: