ufw

Delete rule by number

Bug #367571 reported by Steven
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gufw
Fix Released
Critical
costales
ufw
Fix Released
Wishlist
Jamie Strandboge

Bug Description

Users should be able to delete rules by their number. Rule numbers can be found by running 'ufw status numbered'.
Deleting a rule by its number would be much more user friendly than requiring the user to rewrite the rule in order to delete it.

ufw: 0.27-0ubuntu2
kernel: 2.6.28-11-generic
distro: Ubuntu 9.04 64bit

Revision history for this message
costales (costales) wrote :

Hi!
I think this is a wonderfull idea!
Cheers!

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

Thank you for using ufw and taking the time to report a bug. This is a good idea and I've added it to the TODO list.

Changed in ufw:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in ufw:
assignee: nobody → Jamie Strandboge (jdstrand)
status: Confirmed → Triaged
Revision history for this message
costales (costales) wrote :

Hi!
This is an very important improvement necessary for the next release of Gufw.
Please Jamie, can you give priority to this improvement for Ubuntu 10.04?
THANKS very much!

costales (costales)
Changed in gui-ufw:
importance: Undecided → High
importance: High → Critical
assignee: nobody → Marcos (marcos.alvarez.costales)
Revision history for this message
A. Denton (aquina) wrote :

I agree with that and also look forward to a backport to Ubuntu 8.04 LTS server. ;-)

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

This is targeted for 0.30 which will also be in Ubuntu 10.04.

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

I just committed preliminary support for this in trunk. I've yet to do full testing (or add regression tests), but the usage is:
# ufw delete NUM

Please see doc/ufw.8 for more information. This will be in ufw 0.30, which is also planned for Ubuntu 10.04 LTS.

Changed in ufw:
status: Triaged → Fix Committed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Oh, I should mention that I plan to add a confirmation to this. To avoid confirmation, simply use:
# ufw --force delete NUM

You can use this immediately.

Revision history for this message
costales (costales) wrote :

Perfect :D
Thanks by the command!

Revision history for this message
costales (costales) wrote :

One question, please.
The confirmation for remove by number, will be for Lucid? Thanks in advance!
Then, I can use ufw --force delete NUM in Lucid?

Changed in gui-ufw:
status: New → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Bug 367571] Re: Delete rule by number

On Sat, 2010-02-13 at 16:32 +0000, Marcos wrote:
> One question, please.
> The confirmation for remove by number, will be for Lucid? Thanks in advance!
> Then, I can use ufw --force delete NUM in Lucid?
>
> ** Changed in: gui-ufw
> Status: New => Fix Released
>

Yes. This will be in 0.30 which is yet to be released. It is already in
trunk.

--
Jamie Strandboge | http://www.canonical.com

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.