aboutsummaryrefslogtreecommitdiffstats
path: root/package/nocatsplash/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-04 18:46:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-04 18:46:55 +0000
commite35b4624b70c55f9a4da9dacba05c64694802d47 (patch)
treecb365df07af59dc771f24ebe8078bf683db7409f /package/nocatsplash/patches
parent65fa4e32da0c322efadcc930bea4bd6d3bdaa1a8 (diff)
downloadupstream-e35b4624b70c55f9a4da9dacba05c64694802d47.tar.gz
upstream-e35b4624b70c55f9a4da9dacba05c64694802d47.tar.bz2
upstream-e35b4624b70c55f9a4da9dacba05c64694802d47.zip
add depend on iptables-extra and fix module loading for firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@558 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nocatsplash/patches')
-rw-r--r--package/nocatsplash/patches/openwrt-firewall.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/nocatsplash/patches/openwrt-firewall.patch b/package/nocatsplash/patches/openwrt-firewall.patch
new file mode 100644
index 0000000000..055b57f24d
--- /dev/null
+++ b/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
+
+