From 50a7adb7c20523dd6874d2fa90bece510850ab14 Mon Sep 17 00:00:00 2001 From: Toastman Date: Wed, 13 Mar 2013 11:55:18 +0700 Subject: [PATCH] add netfilter xt_string support see discussion at: http://www.linksysinfo.org/index.php?threads/why-doesnt-tomatos-access-restriction-block-https-websites.45988/#post-197539 --- release/src-rt/linux/linux-2.6/config_base | 2 +- release/src/router/iptables/extensions/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/src-rt/linux/linux-2.6/config_base b/release/src-rt/linux/linux-2.6/config_base index 53ac8753b1..77ca6425ec 100644 --- a/release/src-rt/linux/linux-2.6/config_base +++ b/release/src-rt/linux/linux-2.6/config_base @@ -429,7 +429,7 @@ CONFIG_NETFILTER_XT_MATCH_LAYER7=m # CONFIG_NETFILTER_XT_MATCH_LAYER7_DEBUG is not set # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set # CONFIG_NETFILTER_XT_MATCH_TIME is not set -# CONFIG_NETFILTER_XT_MATCH_STRING is not set +CONFIG_NETFILTER_XT_MATCH_STRING=y # CONFIG_NETFILTER_XT_MATCH_WEBSTR is not set CONFIG_NETFILTER_XT_MATCH_WEB=m CONFIG_NETFILTER_XT_MATCH_WEBMON=m diff --git a/release/src/router/iptables/extensions/Makefile b/release/src/router/iptables/extensions/Makefile index 326569649d..8da48a65ed 100644 --- a/release/src/router/iptables/extensions/Makefile +++ b/release/src/router/iptables/extensions/Makefile @@ -13,7 +13,7 @@ PF_EXT_SLIB:=CLASSIFY CONNMARK DNAT DSCP LOG MARK MASQUERADE REDIRECT REJECT PF_EXT_SLIB+=ROUTE SNAT TCPMSS TOS TRIGGER TTL NETMAP PF_EXT_SLIB+=condition connlimit connmark geoip icmp iprange layer7 PF_EXT_SLIB+=length limit mac mark multiport recent standard state quota -PF_EXT_SLIB+=tcp tcpmss time tos u32 udp web dscp connbytes webmon +PF_EXT_SLIB+=tcp tcpmss time tos u32 udp web dscp connbytes webmon string PF_EXT_SLIB+=IMQ ipp2p ifeq ($(CONFIG_LINUX26),y) PF_EXT_SLIB+=policy -- 2.11.4.GIT