I run ufw 0.16.2.4 on 32-bit Ubuntu Hardy. I've been happily using it for a while now, over several kernels, but for some reason, 2.6.32 just does not like it:
mnordhoff@ubuntu:~$ sudo ufw enable
ERROR: problem running init script
And then it eats *all* traffic until I disable it again. (Honestly, IIRC it even blocks localhost.)
Seriously, if I reboot into 2.6.31.5, it'll work; 2.6.32 again and it won't. No other changes to the system between this.
This is on a more-or-less virgin node, with bog-standard /etc/ufw/* and really trivial /var/lib/ufw/* (just TCP 22 and UDP 123).
The only change I've made is enabling IPv6 in /etc/default/ufw. Notably, if I disable it again, it no longer eats my traffic, but it's otherwise exactly the same, including the error messages.
I spent some time trying to track this down, and this is all I got:
mnordhoff@ubuntu:~$ sudo /etc/init.d/ufw restart
* Stopping firewall: ufw... [ OK ]
* Starting firewall: ufw... FATAL: Module nf_conntrack_ftp not found.
FATAL: Module nf_nat_ftp not found.
FATAL: Module nf_conntrack_irc not found.
FATAL: Module nf_nat_irc not found.
iptables-restore: line 71 failed
* Problem running '/etc/ufw/before.rules'... [fail]
Line 71 is the last line of the file -- COMMIT.
(BTW, stopping it from trying to load those modules (they're compiled in on Linode) does remove those "FATAL"s but doesn't change anything else.)
So... any ideas?
Edit: Also, my experience is the same on my not-at-all-virgin production node. Obviously, I didn't do any of the testing there, since it needs networking, but still.