Re: Mangling IP Options fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Tobias DiPasquale wrote:

On 5/16/05, Quinton Hoole <quinton@xxxxxxxxx> wrote:


This newbie needs to add and/or rewrite data in the IP Options fields.
The MANGLE chain looks like the place to do this, but I don't see the
appropriate target extensions to achieve it.  It seems easy to mangle
most other fields (DSCP, ECN, TOS, TTL etc) but no mention of the
OPTIONS fields.

Is mangling of IP options fields supported by netfilter/iptables?



Which IP options are you looking to be able to mangle? If you just
need to be able to mangle the MSS, then check out the TCPMSS target
included in the vanilla Linux kernel.


I'll be needing to mangle other fields. My ultimate goal is to "stamp" a 32 or 64 bit value into each packet for security reasons.

This would also be a good place
to start if you need to create an iptables target that mangles an IP
option of another type.


Great, thanks.

Q

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux