]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: remove MIRROR
authorFlorian Westphal <fw@strlen.de>
Thu, 19 Feb 2015 00:17:18 +0000 (01:17 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Feb 2015 16:44:06 +0000 (17:44 +0100)
removed from the kernel back in 2003.

Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libipt_MIRROR.c [deleted file]
extensions/libipt_MIRROR.man [deleted file]

diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c
deleted file mode 100644 (file)
index fb78751..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* Shared library add-on to iptables to add MIRROR target support. */
-#include <xtables.h>
-
-static struct xtables_target mirror_tg_reg = {
-       .name           = "MIRROR",
-       .version        = XTABLES_VERSION,
-       .family         = NFPROTO_IPV4,
-       .size           = XT_ALIGN(0),
-       .userspacesize  = XT_ALIGN(0),
-};
-
-void _init(void)
-{
-       xtables_register_target(&mirror_tg_reg);
-}
diff --git a/extensions/libipt_MIRROR.man b/extensions/libipt_MIRROR.man
deleted file mode 100644 (file)
index 7b720bc..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-This is an experimental demonstration target which inverts the source
-and destination fields in the IP header and retransmits the packet.
-It is only valid in the
-.BR INPUT ,
-.B FORWARD
-and
-.B PREROUTING
-chains, and user-defined chains which are only called from those
-chains.  Note that the outgoing packets are
-.B NOT
-seen by any packet filtering chains, connection tracking or NAT, to
-avoid loops and other problems.