Ethereal-dev: [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: Paul Ionescu <paul@xxxxxxxx>
Date: Sat, 22 Jan 2000 00:07:18 +0200
Hello developers,

I want to make a plugin for dissecting cisco ISL frames.
It is not hard to implement it, but I don't know how to set some variables in the plugin.

const gchar version[] = "0.1";
const gchar desc[] = "Cisco Inter-Switch Link";
const gchar protocol[] = "???";
const gchar filter_string[] = "???";

For instance, what should I put in protocol[] and in filter_string[] to enable my plugin to receive all the packets?

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.
The pluging in registered and is working because I have tested it with protoco[]="tcp" and filter_string[]="tcp.port==5000" and
the trafic for tcp port 5000 was coming in my plugin and gets dissected.

ISL is a Cisco proprietary Vlan tagging and, in order to decode it, I have to process the whole traffic, take every frame, and
interpret the ISL header (12 bytes) and to pass the remaining frame to dissect_eth().

I see no other way to interpret ISL frames, but maybe I am wrong.

Cheers,
Paul Ionescu.