[SOLVED] can't initialize ip6tables table `filter'

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[SOLVED] can't initialize ip6tables table `filter'

Postby brokenpipe » Thu Sep 12, 2013 7:35 am

Hey all,

i would like to configure the ufw (uncomplicated firewall) on my raspberry.
unfortunately i'm receiving several errors when i try to initialize the default behaviour:


$this->bbcode_second_pass_code('', '
[root@raspberry ~]# uname -a
Linux raspberry 3.11.0-1-ARCH+ #1 PREEMPT Fri Sep 6 14:42:21 CDT 2013 armv6l GNU/Linux
')

$this->bbcode_second_pass_code('', '
[root@raspberry ~]# ufw default deny
Traceback (most recent call last):
File "/usr/bin/ufw", line 95, in <module>
ui = ufw.frontend.UFWFrontend(pr.dryrun)
File "/usr/lib/python2.7/site-packages/ufw/frontend.py", line 153, in __init__
self.backend = UFWBackendIptables(dryrun)
File "/usr/lib/python2.7/site-packages/ufw/backend_iptables.py", line 45, in __init__
ufw.backend.UFWBackend.__init__(self, "iptables", dryrun, files)
File "/usr/lib/python2.7/site-packages/ufw/backend.py", line 88, in __init__
nf_caps = ufw.util.get_netfilter_capabilities(self.ip6tables)
File "/usr/lib/python2.7/site-packages/ufw/util.py", line 734, in get_netfilter_capabilities
raise OSError(errno.ENOENT, out)
OSError: [Errno 2] ip6tables v1.4.19.1: can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.
')

it's not caused by a kernel upgrade, i did several reboots after the kernel upgrade!

thanks in advance and best regards!
Last edited by brokenpipe on Thu Sep 12, 2013 2:12 pm, edited 1 time in total.
brokenpipe
 
Posts: 4
Joined: Thu Sep 12, 2013 7:25 am

Re: can't initialize ip6tables table `filter'

Postby moonman » Thu Sep 12, 2013 8:06 am

Works here:$this->bbcode_second_pass_code('', ' [root@alarmpi ~]# ufw default deny
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: can't initialize ip6tables table `filter'

Postby pepedog » Thu Sep 12, 2013 8:55 am

Examine /boot/cmdline.txt
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can't initialize ip6tables table `filter'

Postby brokenpipe » Thu Sep 12, 2013 2:12 pm

thanks for your replies!

ipv6 was disabled in cmdline.txt
brokenpipe
 
Posts: 4
Joined: Thu Sep 12, 2013 7:25 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests