9 idl2wrs - CORBA IDL to Wireshark Plugin Generator
13 B<idl2wrs> E<lt>filenameE<gt>
17 B<idl2wrs> is a program that takes a user specified B<CORBA IDL>
18 file and generates B<"C"> source code for a B<Wireshark> "plugin".
20 This resulting file can be compiled as a B<Wireshark> plugin, and
21 used to monitor B<GIOP/IIOP> traffic that is using this IDL.
23 B<idl2wrs> is actually a shell script wrapper for two B<Python> programs.
28 =item * B<wireshark_be.py>
30 Contains the main IDL Visitor Class
32 =item * B<wireshark_gen.py>
34 Contains the Source Code Generator Class
38 B<idl2wrs> supports heuristic dissection of GIOP/IIOP traffic,
39 and some experimental code for explicit dissection, based on
40 Object Key <-> Repository Id mapping.
41 However, code for heuristic based plugins is
42 generated by default, and users should consider this the preferred
43 method unless you have some namespace collisions.
48 Currently there are no options. B<idl2wrs> can be invoked as follows.
50 1. To write the C code to stdout.
52 idl2wrs <your_file.idl>
57 2. To write to a file, just redirect the output.
59 idl2wrs echo.idl > packet-test.c
66 B<idl2wrs> will look for B<wireshark_be.py> and B<wireshark_gen.py> in
67 B<$PYTHONPATH/site-packages/> and if not found, will try the current
70 The B<-p> option passed to omniidl (inside B<idl2wrs>) indicates where
71 B<wireshark_be.py> and B<wireshark_gen.py> will be searched. This may
72 need tweaking if you place these files somewhere else.
74 If it complains about being unable to find some modules (eg tempfile.py),
75 you may want to check if PYTHONPATH is set correctly.
77 eg: PYTHONPATH=/usr/lib/python1.5/
82 wireshark(1), tshark(1)
87 B<idl2wrs> (including B<wireshark_be.py> and B<wireshark_gen.py>) are part of
88 the B<Wireshark> distribution. The latest version of B<Wireshark> can
89 be found at L<https://www.wireshark.org>.
91 B<idl2wrs> uses B<omniidl>, an IDL parser, and can be found at
92 L<http://omniorb.sourceforge.net/>
96 Some of the more important things to do are:
101 Improve Explicit dissection code.
104 Improve command line options.
107 Improve decode algorithm when we have operation name collision.
115 Frank Singleton <frank.singleton[AT]ericsson.com>