User Guide

Procedure for converting a CORBA idl file into a Wireshark dissector
1. To write the C code to stdout.
idl2wrs <your file.idl>
eg:
idl2wrs echo.idl
2. To write to a file, just redirect the output.
idl2wrs echo.idl > packet-test-idl.c
You may wish to comment out the register_giop_user_module() code and that will leave you
with heuristic dissection.
If you don't want to use the shell script wrapper, then try steps 3 or 4 instead.
3. To write the C code to stdout.
Usage: omniidl -p ./ -b wireshark_be <your file.idl>
eg:
omniidl -p ./ -b wireshark_be echo.idl
4. To write to a file, just redirect the output.
omniidl -p ./ -b wireshark_be echo.idl > packet-test-idl.c
You may wish to comment out the register_giop_user_module() code and that will leave you
with heuristic dissection.
5. Copy the resulting C code to your Wireshark src directory, edit the two make files to include
the packet-test-idl.c
cp packet-test-idl.c /dir/where/wireshark/lives/
edit Makefile.am
edit Makefile.nmake
6. Run configure
./configure (or ./autogen.sh)
7. Compile the code
make
8. Good Luck !!
D.9.4. TODO
1. Exception code not generated (yet), but can be added manually.
2. Enums not converted to symbolic values (yet), but can be added manually.
3. Add command line options etc
Related command line tools
202