Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 23:45:19 +0800
From:      FreeBSD MailingLists <freebsd.ml@gmail.com>
To:        questions <freebsd-questions@freebsd.org>
Subject:   Re: pf issues with anchor
Message-ID:  <ded8d71705030107456f0404eb@mail.gmail.com>
In-Reply-To: <86r7izr22a.fsf@amidala.datadok.no>
References:  <ded8d71705022819205274ee3f@mail.gmail.com> <86r7izr22a.fsf@amidala.datadok.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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
at.

http://openbsd.automagic.org/faq/pf/index.html





On 01 Mar 2005 13:19:25 +0100, Peter N. M. Hansteen <peter@bgnett.no> wrote:
> FreeBSD MailingLists <freebsd.ml@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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