This site was behind a Cloudflare proxy between September 22, 2016 and February 18th, 2017 and might be subject to sensitive information leaks. See this blog post for more details.

I have installed wireshark, and I wanted to use idl2wrs. I have done everything a specified in the user guide:

idl2wrs echo.idl > packet-test-idl.c`
cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/

...changed Makefile.common, then ./configure and make wireshark again. Everything seemed okay. However, when I start Wireshark, I do not see it in the Edit->preferences menu, in the protocol list. What can I do differently to fix this?

asked 07 Feb '12, 04:23

ivana's gravatar image

accept rate: 0%

edited 07 Feb '12, 07:53

multipleinterfaces's gravatar image


You only see dissectors with registered preferences there. Since there aren't any it doesn't show up.

You could find it through Analyze|Enabled Protocols... and/or through Help|Supported Protocols


answered 07 Feb '12, 07:52

Jaap's gravatar image

Jaap ♦
accept rate: 14%

It isn't there either :|

(07 Feb '12, 07:59) ivana


./ && ./configure && make

to process the changes in Makefile.common and make because a dissector is not part of Wireshark (gasp), it's part of EPAN, found in libwireshark.

(07 Feb '12, 23:16) Jaap ♦

I found solution! Maybe someone will find it helpful:

  1. Converting a CORBA idl file into a Wireshark dissector idl2wrs echo.idl > packet-giop_echo.c (it is important that name is in format: packet-xxxx.c, where xxxx is name of dissector and it should be same as in functions proto_register_handoff_giop_echo and proto_register_giop_echo)
  2. Copy the resulting C code to subdirectory epan/dissectors/ inside your Wireshark source directory.
    cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/
  3. Adding dissector in Makefile.common(epan/dissectors/)
    packet-test-idl.c \
    packet-2dparityfec.c \
    packet-3com-njack.c \
  4. Adding dissector in (epan/dissectors/)
    • libdissectors_la-packet-giop_echo.lo \
    • packet-giop_echo.c
    • @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdissectors_la-packet- [email protected][email protected]_la-packet-echo.lo: packet-echo.c
    • @amfastdepCC_TRUE@    if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdissectors_la_CFLAGS) $(CFLAGS) -MT libdissectors_la-packet-echo.lo -MD -MP -MF "$(DEPDIR)/libdissectors_la-packet-echo.Tpo" -c -o libdissectors_la-packet-echo.lo test -f 'packet-echo.c' || echo '$(srcdir)/'packet-echo.c; 
      @amfastdepCC_TRUE@    then mv -f "$(DEPDIR)/libdissectors_la-packet-echo.Tpo" "$(DEPDIR)/libdissectors_la-packet-echo.Plo"; else rm -f "$(DEPDIR)/libdissectors_la-packet-echo.Tpo"; exit 1; fi
      @AMDEP_TRUE@@amfastdepCC_FALSE@       source='packet-echo.c' object='libdissectors_la-packet-echo.lo' libtool=yes @AMDEPBACKSLASH@
      @am__fastdepCC_FALSE@   $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdissectors_la_CFLAGS) $(CFLAGS) -c -o libdissectors_la-packet-echo.lo test -f 'packet-echo.c' || echo '$(srcdir)/'packet-echo.c

  5. Adding dissector in CmakeLists.txt (epan/)
  6. ./configure
  7. make
  8. make install
This answer is marked "community wiki".

answered 09 Feb '12, 06:17

ivana's gravatar image

accept rate: 0%

edited 09 Feb '12, 07:42

multipleinterfaces's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07 Feb '12, 04:23

Seen: 2,642 times

Last updated: 09 Feb '12, 07:42

p​o​w​e​r​e​d by O​S​Q​A