bin/184355: ipfw failed to restart if tables are used

Dmitry Morozovsky marck at
Thu Nov 28 16:10:04 UTC 2013

>Number:         184355
>Category:       bin
>Synopsis:       ipfw failed to restart if tables are used
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 28 16:10:03 UTC 2013
>Originator:     Dmitry Morozovsky
>Release:        any
Cronyx Plus LLC (RiNet ISP)
System: FreeBSD of any version.


If ipfw tables are configured in firewall rc script, ipfw service can not be
restarted and failed on duplicate table entry, usually rendering the system in
question network cut.


- configure at least one table entry in firewall script
- issue
service ipfw restart


Index: etc/rc.firewall
--- etc/rc.firewall	(revision 258710)
+++ etc/rc.firewall	(working copy)
@@ -137,6 +137,7 @@
 # Flush out the list before we begin.
 ${fwcmd} -f flush
+${fwcmd} -f table all flush

More information about the freebsd-bugs mailing list