Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 19:59:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212669] change ipfw to all table all destroy
Message-ID:  <bug-212669-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212669

            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@FreeBSD.org
          Reporter: avernar@gmail.com

Created attachment 174743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174743&action=
=3Dedit
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 w=
ould
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=3D165939 and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D184355

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212669-8>