ufw status doesn't show whether ufw is up

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

Bug Description

Binary package hint: ufw

shirish@Mugglewille:~$ sudo ufw status
[sudo] password for shirish:
To Action From
-- ------ ----
80:tcp ALLOW Anywhere
80:udp ALLOW Anywhere
6667:tcp ALLOW Anywhere
6667:udp ALLOW Anywhere

As one can see it doesn't tell whether the firewall is enabled or not? That should be known.

I don't see any other way to do that, if I do

shirish@Mugglewille:~$ sudo ufw enable
[sudo] password for shirish:
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
Firewall started and enabled on system startup

which means its enabled on next startup, no way to know what's the status as of now.

Related branches

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

Thank you for your bug report and helping to make Ubuntu even better. 'status' shows the status of the running firewall, with regard to ufw managed rules.

If the firewall is disabled, you see:
$ sudo ufw status
Firewall not loaded

Also, when performing 'ufw enable', you see:
Firewall started and enabled on system startup

meaning the firewall is 'both' started as of now, and enabled on system startup. I think the output is clear, but think the man page could use some fine-tuning. There are a couple of other messages that could be more clear as well.

Changed in ufw:
assignee: nobody → jamie-strandboge
status: New → Triaged
Changed in ufw:
status: Triaged → Fix Committed
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
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.