ufw delete all rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw (Ubuntu) |
Fix Released
|
Wishlist
|
Jamie Strandboge | ||
Bug Description
Binary package hint: ufw
It would be useful to have a "ufw delete all" command that deletes all previously added rules.
One good reason for this is there are scripts that can build rules based on dynamic lists. This is commonly done for allowing or blocking by country from one of the many subnet-to-country lists available on the internet. With this feature a script could more easily clear out and rebuild new rules based on a new country list.
Another reason is there seems to be a number of posts on the internet from people wanting to know how to "start from scratch". The response to this often directs people to clear out their ufw rules by manually editing files in /var/lib/ufw/. There should be an easy way to do this so people don't need to modify these files.
Thank you for your consideration of this feature.
Changed in ufw (Ubuntu): | |
status: | Confirmed → Triaged |
assignee: | nobody → Jamie Strandboge (jdstrand) |
milestone: | none → ubuntu-10.04 |
Thanks for your feedback! Yes, this would be a nice feature and I agree should be supported.