I have upgraded from Precise to Quantal yesterday and ufw doesn't work. I have compiled my own kernel without IPv6 and the IPv6 netfilter modules, my kernel is running with ipv6.disable=1, ufw config has IPV6=no and so on (i don't need and want IPv6 now). ufw complained with:
root@host:~# ufw enable
ERROR: initcaps
[Errno 2] FATAL: Module ip6_tables not found.
ip6tables v1.4.12: can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
I have found (in the web, changelogs...) nothing(!), that IPv6 with ufw 0.33 is mandatory now. But i think it is a bug in the /lib/ufw/ufw-init scripts, because i simply copied the old scripts vom the Precise ufw package and all works fine - no more errors, complains.
I have upgraded from Precise to Quantal yesterday and ufw doesn't work. I have compiled my own kernel without IPv6 and the IPv6 netfilter modules, my kernel is running with ipv6.disable=1, ufw config has IPV6=no and so on (i don't need and want IPv6 now). ufw complained with:
root@host:~# ufw enable
ERROR: initcaps
[Errno 2] FATAL: Module ip6_tables not found.
ip6tables v1.4.12: can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
lsmod: nat,iptable_ filter nat,xt_ state,nf_ nat_ftp, nf_nat, nf_conntrack_ ipv4,nf_ conntrack_ ftp iptable_ nat,nf_ nat_ftp xt_multiport, ipt_REDIRECT, iptable_ nat,xt_ limit,xt_ tcpudp, xt_addrtype, xt_state, iptable_ filter, ip_tables
iptable_filter 12706 1
iptable_nat 12942 1
ip_tables 17791 2 iptable_
ipt_REDIRECT 12493 1
nf_conntrack 70531 6 iptable_
nf_conntrack_ftp 13078 1 nf_nat_ftp
nf_conntrack_ipv4 19014 9 iptable_nat,nf_nat
nf_defrag_ipv4 12649 1 nf_conntrack_ipv4
nf_nat 20253 3 ipt_REDIRECT,
nf_nat_ftp 12548 0
x_tables 21889 10 xt_recent,
xt_addrtype 12535 4
xt_limit 12514 1
xt_multiport 12533 0
xt_recent 13870 0
xt_state 12514 6
xt_tcpudp 12531 11
I have found (in the web, changelogs...) nothing(!), that IPv6 with ufw 0.33 is mandatory now. But i think it is a bug in the /lib/ufw/ufw-init scripts, because i simply copied the old scripts vom the Precise ufw package and all works fine - no more errors, complains.