pf issues with anchor
freebsd.ml at gmail.com
Tue Mar 1 15:45:21 GMT 2005
After sending off the question I did a little more digging and I think
I figured it out.
I was reading the current pf faq on the openbsd website, which turns
out to be based on OpenBSd 3.6 version of pf. FreeBSD 5.3 has OpenBSD
3.5 version of pf.
Turns out in the version 3.5 when loading an anchor file you HAD to
specify it as...
load anchor anchor-name:ruleset-name from "file-path"
The version the current faq was written for seems to have made the
ruleset-name an optional value, so it wasn't listed in the code
example. I found an older version for the faq written for verion 3.5
On 01 Mar 2005 13:19:25 +0100, Peter N. M. Hansteen <peter at bgnett.no> wrote:
> FreeBSD MailingLists <freebsd.ml at gmail.com> writes:
> > when I start pf I get:
> > <snip>
> > Enabling pf.
> > /etc/pf.conf:4: anchor '(null)' invalid
> Just to eliminate the obvious - the file you want to pull in exists, is
> readable and contains what appears at first glance to be valid pf rules?
> Does including the anchor in the main pf.conf file produce different results?
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
> "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions