diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-04 18:46:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-04 18:46:55 +0000 |
commit | e560f1314158ed27b287a419b06f6a2dd30bada0 (patch) | |
tree | 6dbb2f6ab3f04c957659698e13b030dbf1e3e40e /openwrt/package/nocatsplash/patches | |
parent | 7fd657d60278d892b2700af3d4e2ae3b8f77de7e (diff) | |
download | mtk-20170518-e560f1314158ed27b287a419b06f6a2dd30bada0.zip mtk-20170518-e560f1314158ed27b287a419b06f6a2dd30bada0.tar.gz mtk-20170518-e560f1314158ed27b287a419b06f6a2dd30bada0.tar.bz2 |
add depend on iptables-extra and fix module loading for firewall
SVN-Revision: 558
Diffstat (limited to 'openwrt/package/nocatsplash/patches')
-rw-r--r-- | openwrt/package/nocatsplash/patches/openwrt-firewall.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/package/nocatsplash/patches/openwrt-firewall.patch b/openwrt/package/nocatsplash/patches/openwrt-firewall.patch new file mode 100644 index 0000000..055b57f --- /dev/null +++ b/openwrt/package/nocatsplash/patches/openwrt-firewall.patch @@ -0,0 +1,19 @@ +diff -urN NoCatSplash-0.92.old/libexec/iptables/initialize.fw NoCatSplash-0.92/libexec/iptables/initialize.fw +--- NoCatSplash-0.92.old/libexec/iptables/initialize.fw 2002-12-27 11:44:41.000000000 +0100 ++++ NoCatSplash-0.92/libexec/iptables/initialize.fw 2005-04-04 20:45:57.000000000 +0200 +@@ -28,13 +28,9 @@ + + # Load alllll the kernel modules we need. + # +-rmmod ipchains > /dev/null 2>&1 # for RH 7.1 users. + +-for module in ip_tables ipt_REDIRECT ipt_MASQUERADE ipt_MARK ipt_REJECT \ +- ipt_TOS ipt_LOG iptable_mangle iptable_filter iptable_nat ip_nat_ftp \ +- ip_conntrack ipt_mac ipt_state ipt_mark; do +- +- modprobe $module ++for module in ipt_TOS ipt_mac; do ++ insmod $module + done + + |