Ethereal-dev: [Ethereal-dev] Extending packet-ip.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 03 Feb 2006 10:04:15 +0100
Hi all


I'm developing some modifications to the IP protocol.  What would be the
best way to make Ethereal understand them?

The modifications are extra options with associated data.  Should I
modify the IP dissector (in packet-ip.c) or is there cleaner way to do
this?  Would modifying this dissector require me to put the entire newly
compiled Ethereal distribution on all PCs I'd like to have this
functionality?

Can this be done with a plugin?  That would seriously simplify
distribution...


Thanks in advance
Bart


PS  I've created a dissector plugin for the RUDE packet generator, which
I might clean up and post later on.
PPS  I'm using the ethereal_0.10.8-0.backports.org.1 binary and
associated source files on Debian Woody.  I guess I'll have to checkout
the SVN trunk and modify that one before I post any of my
additions/modifications?
PPPS  Why do I have to backup (copy) the libtool created by
`./configure`, run `make` (which results in errors in libtool), restore
the backed up libtool and run make again for a successfull build?  Does
this have something to do with modification dates?


-- 
Bart Van den Broeck

MSEE, PhD student
K.U.Leuven
ESAT-TELEMIC
Kasteelpark Arenberg 10
B-3001 HEVERLEE
BELGIUM

Office: 02.38
Email: Bart.VandenBroeck@xxxxxxxxxxxxxxxx
TEL: +32 16 32 18 24  (Office)
URL: http://www.esat.kuleuven.be/telemic/networking

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm