Ethereal-dev: Re: [Ethereal-dev] Compiling a plugin
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "fabio matturro" <fabiomax3@xxxxxxxxxxx>
Date: Mon, 21 Nov 2005 16:40:35 +0100
Hello,I have installed ethereal by Synaptic. I've read how to add a plugin in theReadme.DEVELOPER guide. The problem is that there's the only plugindirectory installed on my system does not contain subdirectories containingdissector files such as packet-xxx.c , COPYING, Makefile.am etc etc.The directory (/usr/lib/ethereal/plugins/0.10.12) contains xxx.la and xxx.sodissector files. How can i add a plugin?
Hi,
From what I read is that you installed a Ethereal RPM. You can add your _compiled_ plugins to that. If you have to compile your plugin code you need to install the Ethereal development RPM. That will give you the source tree in which to add your plugin code and compile it there.
Good luck, Jaap
Thank you :) I have installed all three ethereal .deb packages (i am working on ubuntu).As far as .deb ethereal-common packet is concerned, here follows the list of the files installed:
usr/bin/editcap usr/bin/mergecap usr/bin/text2pcap usr/lib/ethereal/libethereal.so.0 usr/lib/ethereal/libethereal.so.0.0.1 usr/lib/ethereal/libwiretap.so.0 usr/lib/ethereal/libwiretap.so.0.0.1 usr/lib/ethereal/plugins/0.10.10/acn.la usr/lib/ethereal/plugins/0.10.10/acn.so usr/lib/ethereal/plugins/0.10.10/agentx.la usr/lib/ethereal/plugins/0.10.10/agentx.so usr/lib/ethereal/plugins/0.10.10/artnet.la usr/lib/ethereal/plugins/0.10.10/artnet.so usr/lib/ethereal/plugins/0.10.10/asn1.la usr/lib/ethereal/plugins/0.10.10/asn1.so usr/lib/ethereal/plugins/0.10.10/ciscosm.la usr/lib/ethereal/plugins/0.10.10/ciscosm.so usr/lib/ethereal/plugins/0.10.10/coseventcomm.la usr/lib/ethereal/plugins/0.10.10/coseventcomm.so usr/lib/ethereal/plugins/0.10.10/cosnaming.la usr/lib/ethereal/plugins/0.10.10/cosnaming.so usr/lib/ethereal/plugins/0.10.10/docsis.la usr/lib/ethereal/plugins/0.10.10/docsis.sousr/lib/ethereal/plugins/0.10.10/enttec.la usr/lib/ethereal/plugins/0.10.10/enttec.so
usr/lib/ethereal/plugins/0.10.10/gryphon.la usr/lib/ethereal/plugins/0.10.10/gryphon.so usr/lib/ethereal/plugins/0.10.10/irda.la usr/lib/ethereal/plugins/0.10.10/irda.so usr/lib/ethereal/plugins/0.10.10/lwres.la usr/lib/ethereal/plugins/0.10.10/lwres.so usr/lib/ethereal/plugins/0.10.10/mate.la usr/lib/ethereal/plugins/0.10.10/mate.so usr/lib/ethereal/plugins/0.10.10/megaco.la usr/lib/ethereal/plugins/0.10.10/megaco.so usr/lib/ethereal/plugins/0.10.10/mgcp.la usr/lib/ethereal/plugins/0.10.10/mgcp.so usr/lib/ethereal/plugins/0.10.10/opsi.la usr/lib/ethereal/plugins/0.10.10/opsi.so usr/lib/ethereal/plugins/0.10.10/pcli.la usr/lib/ethereal/plugins/0.10.10/pcli.so usr/lib/ethereal/plugins/0.10.10/rdm.la usr/lib/ethereal/plugins/0.10.10/rdm.so usr/lib/ethereal/plugins/0.10.10/rlm.la usr/lib/ethereal/plugins/0.10.10/rlm.so usr/lib/ethereal/plugins/0.10.10/rtnet.la usr/lib/ethereal/plugins/0.10.10/rtnet.so usr/lib/ethereal/plugins/0.10.10/rudp.la usr/lib/ethereal/plugins/0.10.10/rudp.so usr/lib/ethereal/plugins/0.10.10/stats_tree.la usr/lib/ethereal/plugins/0.10.10/stats_tree.so usr/lib/ethereal/plugins/0.10.10/v5ua.la usr/lib/ethereal/plugins/0.10.10/v5ua.so usr/lib/ethereal/plugins/0.10.10/xml.la usr/lib/ethereal/plugins/0.10.10/xml.so usr/share/doc/ethereal-common/AUTHORS.gz usr/share/doc/ethereal-common/README.Debian usr/share/doc/ethereal-common/README.gz usr/share/doc/ethereal-common/README.linux.gz usr/share/doc/ethereal-common/changelog.Debian.gz usr/share/doc/ethereal-common/changelog.gz usr/share/doc/ethereal-common/copyright usr/share/ethereal/AUTHORS-SHORT usr/share/ethereal/capinfos.html usr/share/ethereal/diameter/dictionary.dtd usr/share/ethereal/diameter/dictionary.xml usr/share/ethereal/diameter/imscxdx.xml usr/share/ethereal/diameter/mobileipv4.xml usr/share/ethereal/diameter/nasreq.xml usr/share/ethereal/diameter/sunping.xml usr/share/ethereal/editcap.html usr/share/ethereal/ethereal-filter.html usr/share/ethereal/ethereal.html usr/share/ethereal/help/capture_filters.txt usr/share/ethereal/help/capturing.txt usr/share/ethereal/help/display_filters.txt usr/share/ethereal/help/faq.txt usr/share/ethereal/help/getting_started.txt usr/share/ethereal/help/overview.txt usr/share/ethereal/help/toc usr/share/ethereal/idl2eth.html usr/share/ethereal/manuf usr/share/ethereal/mergecap.html usr/share/ethereal/tethereal.html usr/share/ethereal/text2pcap.html usr/share/man/man1/editcap.1.gz usr/share/man/man1/mergecap.1.gz usr/share/man/man1/text2pcap.1.gz usr/share/man/man4/ethereal-filter.4.gz --------------------------------------------------------------------------------As far as .deb ethereal-dev packet is concerned, here follows the list of the files installed:
usr/bin/asn2deb usr/bin/idl2deb usr/bin/idl2eth usr/include/ethereal/color.h usr/include/ethereal/config.h usr/include/ethereal/epan/address.h usr/include/ethereal/epan/asn1.h usr/include/ethereal/epan/column-utils.h usr/include/ethereal/epan/column_info.h usr/include/ethereal/epan/conversation.h usr/include/ethereal/epan/crc16.h usr/include/ethereal/epan/crc32.h usr/include/ethereal/epan/dfilter/dfilter.h usr/include/ethereal/epan/dfilter/drange.h usr/include/ethereal/epan/dissectors/packet-ber.h usr/include/ethereal/epan/dissectors/packet-giop.h usr/include/ethereal/epan/dissectors/packet-per.h usr/include/ethereal/epan/dissectors/packet-rpc.h usr/include/ethereal/epan/dissectors/packet-tcp.h usr/include/ethereal/epan/dissectors/packet-tpkt.h usr/include/ethereal/epan/epan.h usr/include/ethereal/epan/except.h usr/include/ethereal/epan/exceptions.h usr/include/ethereal/epan/filesystem.h usr/include/ethereal/epan/frame_data.h usr/include/ethereal/epan/ftypes/ftypes.h usr/include/ethereal/epan/ipv4.h usr/include/ethereal/epan/nstime.h usr/include/ethereal/epan/packet.h usr/include/ethereal/epan/packet_info.h usr/include/ethereal/epan/pint.h usr/include/ethereal/epan/prefs.h usr/include/ethereal/epan/proto.h usr/include/ethereal/epan/range.h usr/include/ethereal/epan/reassemble.h usr/include/ethereal/epan/report_err.h usr/include/ethereal/epan/slab.h usr/include/ethereal/epan/tap.h usr/include/ethereal/epan/to_str.h usr/include/ethereal/epan/tvbuff.h usr/include/ethereal/epan/value_string.h usr/include/ethereal/epan/xdlc.h usr/include/ethereal/wiretap/wtap.h usr/lib/ethereal/libethereal.la usr/lib/ethereal/libethereal.so usr/lib/ethereal/libwiretap.la usr/lib/ethereal/libwiretap.so usr/lib/python2.3/site-packages/ethereal_gen.py usr/share/doc/ethereal-dev/README.design usr/share/doc/ethereal-dev/README.developer.gz usr/share/doc/ethereal-dev/README.idl2eth usr/share/doc/ethereal-dev/README.plugins.gz usr/share/doc/ethereal-dev/changelog.Debian.gz usr/share/doc/ethereal-dev/changelog.gz usr/share/doc/ethereal-dev/copyright usr/share/man/man1/asn2deb.1.gz usr/share/man/man1/idl2deb.1.gz usr/share/man/man1/idl2eth.1.gzAs you can see, there apparently seems to be no source files or plugin-source-file-containing directory >: I've read something about idl2eth but i'd like to add my plugins in the usual way. How can I do?
Should I necessarily compile and build Ethereal from source? Thanx _________________________________________________________________250MB per la tua casella di posta http://www.msn.it/hotmail/minisite_10 Trova immediatamente qualsiasi tipo di file.
- Follow-Ups:
- Re: [Ethereal-dev] Compiling a plugin
- From: Jaap Keuter
- Re: [Ethereal-dev] Compiling a plugin
- From: Guy Harris
- Re: [Ethereal-dev] Compiling a plugin
- Prev by Date: RE: [Ethereal-dev] Changes for Diameter dissectors
- Next by Date: Re: [Ethereal-dev] Compiling a plugin
- Previous by thread: Re: [Ethereal-dev] Compiling a plugin
- Next by thread: Re: [Ethereal-dev] Compiling a plugin
- Index(es):