From b76f3d99fc4730045393752f3d36fa10d317f4a8 Mon Sep 17 00:00:00 2001 From: bbruns Date: Wed, 6 Oct 2010 18:54:05 +0000 Subject: [PATCH] Fixing some small lingering bugs --- Makefile | 3 +++ include/static | 2 +- ipv4-blocked.default | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cce7f1f..b6ff276 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,6 @@ default: tarball: cd .. ;\ $(TAR) jcf $(TARBALL) --exclude='.svn' firewall-sosdg + +upgrade: + mv -f blocked ipv4-blocked &>/dev/null \ No newline at end of file diff --git a/include/static b/include/static index c6dd4a6..12a128c 100644 --- a/include/static +++ b/include/static @@ -25,7 +25,7 @@ # These defines are here to help pre-1.0 users easily upgrade, defines critical defaults # that would otherwise require remaking their options file. I leave this on by default, # but if you want to make sure you have a current options file, define this to 0. -if [ $COMPAT_CONFIG == "1" ]; then +if [[ "$COMPAT_CONFIG" == "1" ]]; then MODPROBE=`which modprobe` fi diff --git a/ipv4-blocked.default b/ipv4-blocked.default index d4f6f29..80f1b5c 100644 --- a/ipv4-blocked.default +++ b/ipv4-blocked.default @@ -8,3 +8,5 @@ # Example: # - Block SRC of eth1 192.168.0.5:80 from contacting DST eth0 192.168.1.10:20 through 21, TCP # eth1:192.168.0.5:80:eth0:192.168.1.10:20-21:IN:TCP +# Useful ones that I use at home are: +#::6881-6999:::OUT:TCP