Ethereal-dev: Re: [ethereal-dev] Plugin for Cisco ISL

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 21 Jan 2000 19:33:09 -0800
> I tried to look in packet-gryphon.c, but I don't get it. There is
> protocol[]="tcp" and filter_string[]="tcp.port==7000".
> So, I tried in my plugin to put protoco[]="eth" and
> filter_string[]="eth" to pass me all the traffic, but nothing came to
> me.

Currently, the only hooks for protocol plugins are in the TCP and UDP
dissectors; there aren't yet hooks in the Ethernet dissector or the
Ethertype dissector.

> ISL is a Cisco proprietary Vlan tagging and, in order to decode it, I
> have to process the whole traffic, take every frame,

Presumably ISL frames have a particular Ethernet type (or are 802.2
frames using a Cisco OUI and a particular protocol ID); you should only
have to dissect those frames.  Unfortunately, as indicated, there's not
yet any way to register a plugin that gets handed packets with a
particular Ethernet type.