Hi all, Sorry to hijack such an old thread
I've attempted to apply the same patch here, this is the exact contents of the file
Code:
--- iptables.new 2011-04-21 14:04:21.000000000 +0100
+++ iptables 2011-04-21 14:05:44.000000000 +0100
@@ -119,7 +119,13 @@
ret=0
for i in $tables; do
echo -n "$i "
- case "$i" in
+ case "$i" in
+ security)
+ $IPTABLES -t security -P INPUT $policy \
+ && $IPTABLES -t security -P OUTPUT $policy \
+ && $IPTABLES -t security -P FORWARD $policy \
+ || let ret+=1
+ ;;
raw)
$IPTABLES -t raw -P PREROUTING $policy \
&& $IPTABLES -t raw -P OUTPUT $policy \
This is as per the download button on this paste file. On a fresh install of Centos 5.6.
The patch runs, but comes up to the following
Code:
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- iptables.new 2011-04-21 14:04:21.000000000 +0100
|+++ iptables 2011-04-21 14:05:44.000000000 +0100
--------------------------
File to patch: /etc/init.d/iptables
patching file /etc/init.d/iptables
Hunk #1 FAILED at 119.
1 out of 1 hunk FAILED -- saving rejects to file /etc/init.d/iptables.rej
Any ideas here at all?