From eae589f5820e4248f39638160f321f99312391e3 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 26 Sep 2010 22:23:51 +0000 Subject: [PATCH] Damn variable causing the problems with multiport rules. Fixed now. Alot of pulling my hair out for something so stupidly simple. --- ChangeLog | 1 + bin/firewall-sosdg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 97d21a9..bec7994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ IPv4_MARK file option - MULTI-NIC-ARP-LOCK hack added, to fix what I consider to be an annoying 'feature' of arp requests on Linux + - Allow use of multiport iptables module to reduce amount of rules 0.9.6 - Brielle Bruns - Minor changes to procedures in planning of 1.0 diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index 41de161..6af7a83 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -290,7 +290,7 @@ if [ "$TCPPORTS" ] || [ "$UDPPORTS" ]; then echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i " #$IPTABLES -A INPUT -p udp --dport $i -j ACCEPT $IPTABLES -A OUTPUT -p udp --sport 1:65535 --dport $i -j ACCEPT - $IPTABLES -A INPUT -p udp --dport $i --sport 1:65535 -j ACCEPT + $IPTABLES -A INPUT -p udp --dport $i --sport 1:65535 -j ACCEPT $IPTABLES -A INPUT -p udp --sport $i --dport 1:65535 -j ACCEPT done fi