Comment 10 for bug 194844

Revision history for this message
parren (peter-arrenbrecht) wrote : Re: [Hardy] ufw doesn't start in a networked environment

FWIW, you can get it to run properly on vpslink.com by hacking /usr/sbin/ufw:

--- /usr/sbin/ufw 2008-06-05 11:25:16.000000000 +0200
+++ /home/peo/tmp/ufw 2008-06-27 09:38:30.000000000 +0200
@@ -609,6 +609,7 @@
         return False

     def use_ipv6(self):
+ return False
         if self.defaults.has_key('ipv6') and \
            self.defaults['ipv6'] == 'yes' and \
            os.path.exists("/proc/sys/net/ipv6"):
@@ -970,7 +971,7 @@
                 raise UFWError("problem running init script")

         # When ipv6 not enabled, just enable it on loopback
- if not self.use_ipv6() and os.path.exists("/proc/sys/net/ipv6"):
+ if False and not self.use_ipv6() and os.path.exists("/proc/sys/net/ipv6"):
             ipv6conf = '''*filter
 :INPUT DROP [0:0]
 :FORWARD DROP [0:0]

-parren