bin/156653: ipfw reports missing file as parameter problem

Jed Clear jclear at
Mon Apr 25 21:50:09 UTC 2011

>Number:         156653
>Category:       bin
>Synopsis:       ipfw reports missing file as parameter problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 25 21:50:08 UTC 2011
>Originator:     Jed Clear
>Release:        8.1R-p3
FreeBSD net5501 8.1-RELEASE-p3 FreeBSD 8.1-RELEASE-p3 #0: Sat Apr 23 16:01:09 EDT 2011     root at  i386

I was trying to use -n and the cpp preprocessor to syntax check a new rules file, using "ipfw -n -p cpp new.rules".  It kept giving me "ipfw: illegal option -- p".  This was very puzzling for a bit as it matches the man page perfectly.  Eventually I discovered that I hadn't copied the new ruleset over to the right place and "new.rules" was MIA.

So the bug is that the error report is misleading.

Run "ipfw -n -p cpp /path/to/missing_file"


More information about the freebsd-bugs mailing list