ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Daniel Kozar <los.danielos@xxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
> There is a dissector for gadu-gadu in th bugs data base
> is there a solution in that one?
> Regards
> Anders

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

Kind regards,