All of lore.kernel.org
 help / color / mirror / Atom feed
* Mangling IP Options fields
@ 2005-05-16 12:22 Quinton Hoole
  2005-05-16 12:38 ` Tobias DiPasquale
  2005-05-16 15:58 ` Frank Abel
  0 siblings, 2 replies; 13+ messages in thread
From: Quinton Hoole @ 2005-05-16 12:22 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Hi

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?

If not, I'm going to have to make it happen some how.  Any pointers 
towards the recommended approach in this regard would be appreciated.  
I'm assuming that I'll have to alter the netfilter/iptables code 
appropriately, which is not a problem.

Thanks in advance...

Quinton

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3244 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Mangling IP Options fields
@ 2005-05-16 12:38 Quinton Hoole
  2005-05-16 18:43 ` Jonas Berlin
  0 siblings, 1 reply; 13+ messages in thread
From: Quinton Hoole @ 2005-05-16 12:38 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

Hi

I've posted this to the netfilter users list, but in retrospect it is 
probably a devel question:

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?

I've seen Fabrice's reply to a simimlar question some 3 years back:

https://lists.netfilter.org/pipermail/netfilter-devel/2002-March/006957.html

which indicates that I'll need to do some hacking, but hopefully this 
has changed since then, and someone's done it for me ;-)

If not, I'm going to have to make it happen some how.  Any pointers
towards the recommended approach in this regard would be appreciated.
I'm assuming that I'll have to alter the netfilter/iptables code
appropriately, which is not a problem.  I'll start ploughing through the 
patch-o-matic docs in the mean time ;-)

Thanks in advance...

Quinton

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3244 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-06-04  9:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-16 12:22 Mangling IP Options fields Quinton Hoole
2005-05-16 12:38 ` Tobias DiPasquale
2005-05-16 12:58   ` Quinton Hoole
2005-05-16 15:58 ` Frank Abel
2005-05-16 13:18   ` Quinton Hoole
2005-05-16 13:35     ` Tobias DiPasquale
2005-05-16 14:38       ` Quinton Hoole
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 12:38 Quinton Hoole
2005-05-16 18:43 ` Jonas Berlin
2005-05-19 12:58   ` Quinton Hoole
2005-05-20 11:17     ` Amin Azez
2005-05-20 13:47       ` Quinton Hoole
2005-06-04  9:23     ` Jonas Berlin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.