From: <abe...@us...> - 2015-08-02 14:21:22
|
Revision: 7172 http://sourceforge.net/p/astlinux/code/7172 Author: abelbeck Date: 2015-08-02 14:21:20 +0000 (Sun, 02 Aug 2015) Log Message: ----------- arnofw, add -w (enable iptables lock wait) option, added to iptables 1.4.20 Modified Paths: -------------- branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh branches/1.0/package/arnofw/dyndns-host-open/dyndns-host-open-helper.sh Added Paths: ----------- branches/1.0/package/arnofw/arnofw-enable-iptables-lock-wait.patch Modified: branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh =================================================================== --- branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2015-07-31 16:41:13 UTC (rev 7171) +++ branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2015-08-02 14:21:20 UTC (rev 7172) @@ -286,7 +286,7 @@ { local result retval - result="$($IP4TABLES "$@" 2>&1)" + result="$($IP4TABLES -w "$@" 2>&1)" retval=$? if [ $retval -ne 0 ]; then @@ -302,7 +302,7 @@ { local result retval - result="$($IP6TABLES "$@" 2>&1)" + result="$($IP6TABLES -w "$@" 2>&1)" retval=$? if [ $retval -ne 0 ]; then Added: branches/1.0/package/arnofw/arnofw-enable-iptables-lock-wait.patch =================================================================== --- branches/1.0/package/arnofw/arnofw-enable-iptables-lock-wait.patch (rev 0) +++ branches/1.0/package/arnofw/arnofw-enable-iptables-lock-wait.patch 2015-08-02 14:21:20 UTC (rev 7172) @@ -0,0 +1,38 @@ +--- arno-iptables-firewall_2.0.1e/share/arno-iptables-firewall/environment.orig 2015-08-02 08:31:33.000000000 -0500 ++++ arno-iptables-firewall_2.0.1e/share/arno-iptables-firewall/environment 2015-08-02 08:33:37.000000000 -0500 +@@ -291,7 +291,7 @@ + { + local result retval IFS=' ' + +- result=`$IP4TABLES "$@" 2>&1` ++ result=`$IP4TABLES -w "$@" 2>&1` + retval=$? + + if [ $retval -ne 0 ]; then +@@ -318,7 +318,7 @@ + { + local result retval IFS=' ' + +- result=`$IP6TABLES "$@" 2>&1` ++ result=`$IP6TABLES -w "$@" 2>&1` + retval=$? + + if [ $retval -ne 0 ]; then +@@ -417,7 +417,7 @@ + { + local IFS=' ' + +- $IP4TABLES "$@" >/dev/null 2>&1 ++ $IP4TABLES -w "$@" >/dev/null 2>&1 + } + + +@@ -425,7 +425,7 @@ + { + local IFS=' ' + +- $IP6TABLES "$@" >/dev/null 2>&1 ++ $IP6TABLES -w "$@" >/dev/null 2>&1 + } + + Modified: branches/1.0/package/arnofw/dyndns-host-open/dyndns-host-open-helper.sh =================================================================== --- branches/1.0/package/arnofw/dyndns-host-open/dyndns-host-open-helper.sh 2015-07-31 16:41:13 UTC (rev 7171) +++ branches/1.0/package/arnofw/dyndns-host-open/dyndns-host-open-helper.sh 2015-08-02 14:21:20 UTC (rev 7172) @@ -142,7 +142,7 @@ { local result retval - result="$($IP4TABLES "$@" 2>&1)" + result="$($IP4TABLES -w "$@" 2>&1)" retval=$? if [ $retval -ne 0 ]; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |