From 4b8f71bf09472d80101a7da74b4f24e824b0307d Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 15 Nov 2004 08:19:17 +0000 Subject: [PATCH] upgrade to iptables 1.2.11 SVN-Revision: 175 --- obsolete-buildroot/make/iptables.mk | 8 ++++---- .../sources/iptables-openwrt-extensions.patch | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/obsolete-buildroot/make/iptables.mk b/obsolete-buildroot/make/iptables.mk index 76eedad0c1..537ffa3d1a 100644 --- a/obsolete-buildroot/make/iptables.mk +++ b/obsolete-buildroot/make/iptables.mk @@ -4,10 +4,10 @@ # ############################################################# IPTABLES_SOURCE_URL=http://www.netfilter.org/files -IPTABLES_SOURCE=iptables-1.2.9.tar.bz2 -IPTABLES_BUILD_DIR=$(BUILD_DIR)/iptables-1.2.9 -IP6TABLES_IPK=$(BUILD_DIR)/ip6tables_1.2.9-1_mipsel.ipk -IP6TABLES_IPK_DIR:=$(BUILD_DIR)/ip6tables-1.2.9-ipk +IPTABLES_SOURCE=iptables-1.2.11.tar.bz2 +IPTABLES_BUILD_DIR=$(BUILD_DIR)/iptables-1.2.11 +IP6TABLES_IPK=$(BUILD_DIR)/ip6tables_1.2.11-1_mipsel.ipk +IP6TABLES_IPK_DIR:=$(BUILD_DIR)/ip6tables-1.2.11-ipk $(DL_DIR)/$(IPTABLES_SOURCE): $(WGET) -P $(DL_DIR) $(IPTABLES_SOURCE_URL)/$(IPTABLES_SOURCE) diff --git a/obsolete-buildroot/sources/iptables-openwrt-extensions.patch b/obsolete-buildroot/sources/iptables-openwrt-extensions.patch index 3bd02f5491..ca1fb1a798 100644 --- a/obsolete-buildroot/sources/iptables-openwrt-extensions.patch +++ b/obsolete-buildroot/sources/iptables-openwrt-extensions.patch @@ -1,21 +1,22 @@ ---- iptables-1.2.9/extensions/Makefile 2003-10-16 02:34:36.000000000 -0500 -+++ iptables-openwrt/extensions/Makefile 2004-01-29 12:03:41.000000000 -0600 +diff -burN iptables-1.2.11/extensions/Makefile iptables-1.2.11-openwrt/extensions/Makefile +--- iptables-1.2.11/extensions/Makefile 2004-06-17 12:22:54.000000000 +0200 ++++ iptables-1.2.11-openwrt/extensions/Makefile 2004-11-01 09:41:13.910649624 +0100 @@ -5,12 +5,14 @@ # header files are present in the include/linux directory of this iptables # package (HW) # --PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG +-PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG -PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE -+#PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG -+PF_EXT_SLIB:=icmp iprange mark multiport standard state tcp udp DNAT LOG MARK MASQUERADE REDIRECT REJECT SNAT TCPMSS ++#PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG ++PF_EXT_SLIB:=icmp iprange mark standard state tcp udp DNAT LOG MARK MASQUERADE REDIRECT REJECT SNAT TCPMSS +#PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE +PF6_EXT_SLIB:=eui64 icmpv6 mark standard tcp udp LOG # Optionals -PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) -PF6_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test6),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) -+# PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) -+# PF6_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test6),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) ++#PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) ++#PF6_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test6),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T))) - PF_EXT_SLIB+=$(PF_EXT_SLIB_OPTS) - PF6_EXT_SLIB+=$(PF6_EXT_SLIB_OPTS) + PF_EXT_ALL_SLIB:=$(patsubst extensions/libipt_%.c, %, $(wildcard extensions/libipt_*.c)) + PF6_EXT_ALL_SLIB:=$(patsubst extensions/libip6t_%.c, %, $(wildcard extensions/libip6t_*.c)) -- 2.30.2