You are not logged in.
Pages: 1
Uncomplicated firewall(UFW) throws an error when I try to use it. I'm following the wiki on UFW https://wiki.archlinux.org/index.php/Un … d_Firewall
The error log I get is:
SError: [Errno 2] ip6tables v1.4.20: can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded. I have ipv6 disabled in my kernel boot line. In /etc/default/ufw I set ipv6 to no. My kernel version is 3.12.5-1. I'm not really sure how else to proceed. I've done some research and the comments I have found indicated it might be related to ipv6.
Offline
Make sure your system is fully up to date and see if that helps. Also make sure you reboot after a kernel upgrade.
Offline
Updated the system with pacman -Syu. Kernel was upgraded to 3.13.6-1, but I'm still receiving the same error message when attempting to use ufw.
Offline
Iptables is currently at version 1.4.21. What do you have?
Also you did reboot after upgrading the kernel, right?
Offline
Iptables is currently at version 1.4.21. What do you have?
Also you did reboot after upgrading the kernel, right?
I have version 1.4.21 and I rebooted after the upgrade. The commands
ufw disable
ufw enable continue to throw the same error message.
Offline
The error will go away, if you remove your "ipv6.disable=1" at the kernel line.
Reason is the default ufw ruleset still needs it for loopback:
# Set to yes to apply rules to support IPv6 (no means only IPv6 on loopback
# accepted). You will need to 'disable' and then 'enable' the firewall for
# the changes to take affect.
IPV6=yes
You can also mod the built-in rules, but having iptables/ufw care for IPv6 just like for IPv4 should usually be more desired.
My suggestion if you want to make sure the system is not routing IPv6: (0) remove the kernel parameter, (1) use the IPv6 tempaddresses setting via sysctl for the interfaces, (2) set your dhcp-client daemon (or networking tool) to ignore IPv6 for dhcp, (3) check after a reboot that "ip a" shows an IPv6 link-local address (inet6 fe80::) only and (4) disable/enable ufw again.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
Pages: 1