[Bug 212669] change ipfw to all table all destroy

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 13 19:59:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212669

            Bug ID: 212669
           Summary: change ipfw to all table all destroy
           Product: Base System
           Version: 11.0-RC1
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: avernar at gmail.com

Created attachment 174743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174743&action=edit
patch to add the feature

It is very difficult to destroy all tables from script.  This is necessary when
loading a completely new rules than use different tables.  The old tables would
still hang around.

Please add all to table destroy:

#ipfw table all destroy

This would also make things easier for avoiding issues like:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165939 and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184355

I've patched my ipfw so I could continue my firewall setup.  I've included my
patch.  Adding the "are you sure?" logic to table destroy (and table flush)
might also be a good idea but not in my patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list