netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Netfilter Extension Development Queries
@ 2014-02-11 21:30 Duncan Eastoe
  2014-02-12 22:03 ` Mart Frauenlob
  0 siblings, 1 reply; 4+ messages in thread
From: Duncan Eastoe @ 2014-02-11 21:30 UTC (permalink / raw)
  To: netfilter-devel

Hello,

I wish to build an extension that strips LSRR IPv4 Options from
outgoing traffic and re-inserts it for inbound traffic. I've been
given some pointers about how to approach this which are:
    * A match extension which matches on the presence of LSRR options.
    * A target extension, similar to NAT, that removes/reinserts the
appropriate LSRR options.

On the Netfilter Extensions HOWTO I have found a match extension by
Fabrice Marie (http://www.netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO-3.html#ss3.6)
which should already do what I want. There is also a target extension
which strips all IP Options
(http://www.netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO-4.html#ss4.2).

I believe these extensions were in the deprecated Patch-O-Matic system
(?) and this has been replaced by Xtables-addons which appears to
contain an IP Options match extension but not a target extension?

Also, regarding the switch to nftables from iptables. Will my approach
listed above work with iptables and nftables or is a different
approach required for nftables?

Thank you in advance.

Duncan

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

end of thread, other threads:[~2014-02-13 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 21:30 Netfilter Extension Development Queries Duncan Eastoe
2014-02-12 22:03 ` Mart Frauenlob
2014-02-12 22:56   ` Arturo Borrero Gonzalez
2014-02-13 20:50     ` Duncan Eastoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).