while doing anything on ufw get ipv6 error message

Bug #199724 reported by Shirish Agarwal
2
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
Fix Released
Undecided
Jamie Strandboge

Bug Description

Binary package hint: ufw

Hi all,
 Running ufw 0.14 . Some sample outputs

shirish@Mugglewille:~$ sudo ufw logging on
ip6tables-restore v1.3.8: ip6tables-restore: unable to initialize table 'filter'

Error occurred at line: 1
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
WARN: problem running ip6tables
Logging enabled

shirish@Mugglewille:~$ sudo ufw default deny
ip6tables-restore v1.3.8: ip6tables-restore: unable to initialize table 'filter'

Error occurred at line: 1
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
WARN: problem running ip6tables
Default policy changed to 'deny'
(be sure to update your rules accordingly)

The ip6tables thing shouldn't come up, right ?

Related branches

Revision history for this message
Fred (eldmannen+launchpad) wrote :

No, it shouldn't come up.
I have ufw 0.14 too, but I don't have that problem...

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for reporting this bug and helping make Ubuntu even better.

What version of Ubuntu are you using?

Can you check the md5sum of /etc/init.d/ufw with this command:
$ md5sum /etc/init.d/ufw

It should return:
50305550d0921a5599238a8b22ba12a0 /etc/init.d/ufw

Can you check /etc/default/ufw and verify this line:
IPV6=no

Changed in ufw:
assignee: nobody → jamie-strandboge
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Also, do you have ipv6 blacklisted?

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I looked into the states when ipv6 is not loaded or blacklisted and found where ip6tables errors could come up. A patch has been committed upstream and will be part of the next version of ufw.

Changed in ufw:
status: Incomplete → Fix Committed
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

What version of Ubuntu are you using?
Hardy 8.04 Development version

shirish@Mugglewille:~$ md5sum /etc/init.d/ufw
50305550d0921a5599238a8b22ba12a0 /etc/init.d/ufw

shirish@Mugglewille:~$ cat /etc/default/ufw |grep IPV6=no
IPV6=no

ipv6 is blacklisted somewhere, but don't remember where I had done it.

Thank u for committing that patch :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ufw - 0.15

---------------
ufw (0.15) hardy; urgency=low

  * fix man page typo
  * debian/control: added Homepage (LP: #199722)
  * fix python version check (upstream #199790)
  * properly handle when ipv6 is not loaded or blacklisted (LP: #199724)
  * man page fixes
  * clarify 'status' output (LP: #199873)
  * fix ipv6 stateless autoconfiguration (upstream #200921)

 -- Jamie Strandboge <email address hidden> Sat, 08 Mar 2008 07:36:04 -0500

Changed in ufw:
status: Fix Committed → Fix Released
Revision history for this message
Jehan (jbruggem) wrote :

This fix only partially solves the bug.
Since I need IPV6, it is enabled :

# cat /etc/default/ufw | grep IPV6
IPV6=yes

and I get an error message when using ufw :

# ufw status
ERROR: problem running ip6tables

Revision history for this message
Jehan (jbruggem) wrote :

Never mind, the bug has disappeared after restarting the system. The kernel was updated during that restart.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.