From 73f453bb816d038792a849743d5055ad31b8ad76 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 19 Feb 2015 01:17:18 +0100 Subject: extensions: remove MIRROR removed from the kernel back in 2003. Signed-off-by: Florian Westphal --- extensions/libipt_MIRROR.c | 15 --------------- extensions/libipt_MIRROR.man | 12 ------------ 2 files changed, 27 deletions(-) delete mode 100644 extensions/libipt_MIRROR.c delete mode 100644 extensions/libipt_MIRROR.man diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c deleted file mode 100644 index fb78751d..00000000 --- a/extensions/libipt_MIRROR.c +++ /dev/null @@ -1,15 +0,0 @@ -/* Shared library add-on to iptables to add MIRROR target support. */ -#include - -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 index 7b720bcb..00000000 --- a/extensions/libipt_MIRROR.man +++ /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. -- cgit v1.2.3