ufw

Comment 5 for bug 513387

Revision history for this message
Emmanuel Bailleul (emmanuel-bailleul) wrote :

Did try with rev 595 to no avail.

May I propose you to examine the patch below which seems to produce the expected behaviour ?

--- src/ufw-init-functions 2010-01-28 02:18:21.540277174 +0100
+++ src/ufw-init-functions.orig 2010-01-28 02:17:59.712213999 +0100
@@ -271,10 +271,10 @@
                 $exe -N ufw${type}-after-logging-input || error="yes"
                 $exe -N ufw${type}-after-logging-output || error="yes"
                 $exe -N ufw${type}-after-logging-forward || error="yes"
- fi
                 $exe -A INPUT -j ufw${type}-after-logging-input || error="yes"
                 $exe -A OUTPUT -j ufw${type}-after-logging-output || error="yes"
                 $exe -A FORWARD -j ufw${type}-after-logging-forward || error="yes"
+ fi

             # now setup the REJECT chains
             if ! $exe -L ufw${type}-reject-input -n >/dev/null 2>&1 ; then