Hello Franklin,

On Friday 01 March 2002 16:16, Franklin DeMatto wrote:
> Could anyone help me (or direct me to some good documentation) of how I
> could use netfilter's packet mangling to mangle every packet coming out,
> adding a ip option, and doing some modifications to various bytes?

You should send netfilter development related questions to the developers
mailing list and not to the user's mailing list...

Anyway, to answer your question, you can have a quick look at
the IPV4OPTSSTRIP target in the patch-o-matic library.
This target instead of adding an IP option, removes all the IP
options (bu zeroing them all out). Instead of zeroing all the
options, you can most probably just fill in the options you want.

Have a nice day,

Fabrice.
--
Fabrice MARIE
Senior R&D Engineer
Celestix Networks
http://www.celestix.com/

"Silly hacker, root is for administrators" 
       -Unknown

Reply via email to