ufw should error if arguments given to "ufw enable"

Bug #1155250 reported by Dan Pritts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Consider the following:

# ufw enable OpenSSH
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup

...but of course the OpenSSH application profile has not been loaded; the word "OpenSSH" was silently ignored.

It is (IMO) a reasonable user error - the syntax "sounds" like it should work. And the warning message is a great red herring, sigh.

So, I believe that ufw should check to see if there are other arguments specified after single-argument commands, and throw an error.

behavior verified on ubuntu 12.04 Version: 0.31.1-1; i took a quick look at the ufw release notes and it does not seem this is addressed in any subsequent releases.

thanks!

Changed in ufw (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in ufw (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This was fixed in 0.35.

Changed in ufw (Ubuntu):
status: In Progress → 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.