Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: AW: [Ethereal-dev] How to register dissector only on UDP source port?

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

Date: Tue, 11 Oct 2005 15:50:29 +0200
Thanks,

that would be possible, but can it also be done without heuristic dissectors?

-----Ursprüngliche Nachricht-----
Von: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]Im Auftrag von Jaap Keuter
Gesendet: Dienstag, 11. Oktober 2005 12:36
An: Ethereal development
Betreff: Re: [Ethereal-dev] How to register dissector only on UDP source
port?



Why not create two heuristic dissectors? If these payloads are very
different they should be able to tell if it's for them and return TRUE.

On Tue, 11 Oct 2005 Lars2B wrote:

> Hi list,
>
> I have to dissect some protocols on top of  UDP and I wondered how to
> configure a dissector to be applied only for a source or destination
> port number. Depending on pinfo->destport, I can switch to different
> dissecting functions within one packet-dissector, but I'd like to split
> it up into two separate dissectors as the payload differs a lot.
>
> Thanks,
>
> Lars


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev