ufw status doesn't show whether ufw is up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
Binary package hint: ufw
shirish@
[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@
[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
Changed in ufw: | |
status: | Triaged → Fix Committed |
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.