Ethereal

Re: [Ethereal-dev] question regarding protocol dissector as plugin under ethereal-0.9.15
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: October 2003



On Oct 7, 2003, at 9:28 AM, Parul Singla wrote:

I'm using Redhat 8.0 on VmWare. I don't know wuts going wrong..!

Neither do I, because I'm using Mac OS X, with the appropriate tweaks to various files for the new plugin and, after putting the plugin source in a new "plugins/xxx-subiss" subdirectory, along with the appropriate Makefiles, I did a make and a make install, and everything works.


When I ran it, it printed

	Calling to register the Athena's protocol

and

	Calling proto_reg_handoff_xxx()

If it's not printing "Calling to register the Athena's protocol" when you run it, it will not register the protocol.

I've attached a patch with the tweaks, and a tarball with the source in the "plugins/xxx-subiss" directory stuff.

I'm doing this from the current CVS version, but it should work with standard 0.9.15 source as well.

Could you also
explain me the purpose of following..? why is tcp or udp port being used..?

So that packets sent to or from that TCP port are dissected as the protocol in question.


None of that has anything to do with registering the protocol, and none of it is necessary for your protocol to show up in the "Edit > Protocols" list. It's registering the dissector for that protocol so that it's called from the dissectors for *other* protocols.

Attachment: patch
Description: Binary data

Attachment: plugin-xxx-subiss.tar.gz
Description: GNU Zip compressed data


Powered by MHonArc 2.6.10