We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: Re: [Wireshark-dev] Packet direction detection from dissector level

From: Daniel Kozar <[email protected]>
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 <[email protected]> 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 <[email protected]> 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,