This commit has been accessed 3,652 times via Git panel.
commit 71c798f138570dd86ddb49c450c927a4838632d7
tree 599c93a6ab751a88cb74ebe8e0fd49e2c1f8b86d
parent 6c3dc833bdde64b0c2c097228b9b34d0a99c617a
author Engels Antonio <engels@kalasag.org> 1381778159 +0800
committer Engels Antonio <engels@kalasag.org> 1381778159 +0800
Use insert instead of append for iptables
diff --git a/Makefile b/Makefile
index ca83f7c..3896dd9 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ CHILDDIR=/kalasag
all:
@echo "Usage: make <systype>"
- @echo "<systype> is one of: linux, debian-linux, bsd, solaris, hpux, hpux-gcc,"
+ @echo "<systype> is one of: linux, linux-x86_64, debian-linux, bsd, solaris, hpux, hpux-gcc,"
@echo "freebsd, osx, openbsd, netbsd, bsdi, aix, osf, irix, generic"
@echo ""
@echo "This code requires snprintf()/vsnprintf() system calls"
diff --git a/kalasag.conf b/kalasag.conf
index aaa111b..bb49c6e 100644
--- a/kalasag.conf
+++ b/kalasag.conf
@@ -201,7 +201,7 @@ BLOCK_TCP="1"
#KILL_ROUTE="/sbin/ipchains -I input -s $TARGET$ -j DENY"
#
# iptables support for Linux
-KILL_ROUTE="/sbin/iptables -A INPUT -s $TARGET$ -j DROP"
+KILL_ROUTE="/sbin/iptables -I INPUT -s $TARGET$ -j DROP"
#
# For those of you running FreeBSD (and compatible) you can
# use their built in firewalling as well.
tree 599c93a6ab751a88cb74ebe8e0fd49e2c1f8b86d
parent 6c3dc833bdde64b0c2c097228b9b34d0a99c617a
author Engels Antonio <engels@kalasag.org> 1381778159 +0800
committer Engels Antonio <engels@kalasag.org> 1381778159 +0800
Use insert instead of append for iptables
diff --git a/Makefile b/Makefile
index ca83f7c..3896dd9 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ CHILDDIR=/kalasag
all:
@echo "Usage: make <systype>"
- @echo "<systype> is one of: linux, debian-linux, bsd, solaris, hpux, hpux-gcc,"
+ @echo "<systype> is one of: linux, linux-x86_64, debian-linux, bsd, solaris, hpux, hpux-gcc,"
@echo "freebsd, osx, openbsd, netbsd, bsdi, aix, osf, irix, generic"
@echo ""
@echo "This code requires snprintf()/vsnprintf() system calls"
diff --git a/kalasag.conf b/kalasag.conf
index aaa111b..bb49c6e 100644
--- a/kalasag.conf
+++ b/kalasag.conf
@@ -201,7 +201,7 @@ BLOCK_TCP="1"
#KILL_ROUTE="/sbin/ipchains -I input -s $TARGET$ -j DENY"
#
# iptables support for Linux
-KILL_ROUTE="/sbin/iptables -A INPUT -s $TARGET$ -j DROP"
+KILL_ROUTE="/sbin/iptables -I INPUT -s $TARGET$ -j DROP"
#
# For those of you running FreeBSD (and compatible) you can
# use their built in firewalling as well.