ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: AW: [Ethereal-dev] direct dissect with plugin

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

From: Lars Dörner <mail@xxxxxxxxx>
Date: Fri, 20 Jan 2006 13:17:00 +0100
I think there was a misunderstanding.
"Decode As" is working!
I'm looking for an option us this functionality without "decode as"

For example: I'm loading my capture file and it will automatically decoded
as my protocol in the plug-in if the Port is used. 

Is there any possibility do realize that?

Thx


-----Ursprüngliche Nachricht-----
Von: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] Im Auftrag von Guy Harris
Gesendet: Dienstag, 17. Januar 2006 12:48
An: Ethereal development
Betreff: Re: [Ethereal-dev] direct dissect with plugin

Lars Dörner wrote:

> Is there a possibility to write in a plug-in something that allows
ethereal
> to use the dissector automatically?
> 
> I mean without selecting "decode as" ? 

If it's possible to do it when the dissector is built in, it's possible 
to do it if the dissector is a plugin.

> The Protocol is running on TCP.

You'd either need to

	1) specify some port as the port your protocol uses;

	2) have that port be a configuration option;

	3) come up with a heuristic that checks some data in the packet to
see 
if it's a packet for your protocol;

if you want it to be automatic (and 2) isn't fully automatic - you'd 
still need to specify the port if it's not the current setting).

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