Ethereal-users: [Ethereal-users] Question about idl2eth and user defined plugins.

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

From: Per Knudsgaard <per@xxxxxxxxxxxx>
Date: Mon, 2 Feb 2004 14:52:02 -0800
   Hi,

   I am having problems getting Ethereal to display a simple corba interaction 
between a client and a server.  The packets are correctly identified as GIOP 
in the protocol field and it displays General Inter-ORB Protocol and General 
Inter-ORB Protocol Request/Reply fields but nothing is parsed using the idl.

   What am I running?  My system is a debian based laptop with a 2.6.1 kernel.  
The packet trace is made on an IBM rackmount running redhat with a 2.4.24 
kernel.

   I have tried the debian distribution of 0.10.0, self compiled 0.10.0a, 
0.9.16 and 0.9.14.  Same outcome from all of them.  The idl file in question:

interface MyObject {
    void setChangeMe(in long value);
    long getChangeMe();
};

interface Container {
    MyObject getMyObject(in long index);
};

   I ran it through idl2eth (whatever version is packaged with the version of 
Ethereal I was trying) and produced packet-test.c.  I added packet-test.c to 
the plugin/giop directory and changed the Makefiles to include it in the 
compile.  When I run ethereal, help->[supported plugins] shows the test 
plugin.  help->[supported protocols].[display filter fields] tells me it is 
there but that it has no fields:

TEST - Test Dissector Using GIOP API (giop-test) [0 fields]:

   Any ideas?  I am fresh out.  Should supported protocol show any fields?  
The omniidl I have installed is version 1.0.  Help, please!

   -- Per.