Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 21:55:17 +0200
From:      Max Laier <max@love2party.net>
To:        "Greg Hennessy" <Greg.Hennessy@nviz.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Considered BETA now [Re: New PF (OpenBSD 3.7 ***ALPHA-preview***)]
Message-ID:  <200504272155.24456.max@love2party.net>
In-Reply-To: <20050427192135.06A0F16@gw2.local.net>
References:  <20050427192135.06A0F16@gw2.local.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wednesday 27 April 2005 21:21, Greg Hennessy wrote:
> Good evening Daniel.
>
> > On Wed, Apr 27, 2005 at 07:50:16PM +0100, Greg Hennessy wrote:
> > > ~ # pfctl -v -s Anchors -a nbt:nbt
> >
> > Anchors have changed significantly in 3.7. Before, there were
> > only two levels, like "first:second". Now they can be nested
> > arbitrarily, and the syntax is like that of files within
> > (sub)directories, like
>
> I thought as much, I have tried the 3.7 syntax thinking it might be the
> cause but it made no difference, hence the mail to Max.
>
> /me does a quick tweak.
>
> Et voila.
>
> # Discard unwanted NBT traffic
> anchor "nbt/*"
> load anchor "nbt/nbt" from "/etc/pf-nbt.conf"
>
> Pfctl does say its loading the anchor ok
>
> ~ # pfctl -vf /etc/pf.conf | grep -i anchor
> anchor "nbt/*" all
>
> Loading anchor nbt/nbt from /etc/pf-nbt.conf
>
>
> However
>
> ~ # pfctl -s Anchors
>   nbt
> ~ # pfctl -s Anchors -a nbt
>   nbt/nbt
> ~ # pfctl -s Anchors -a "nbt/nbt"

I think you want:

# pfctl -a "nbt/nbt" -sr

here.

<snipp>

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCb+4sXyyEoT62BG0RAngOAJ0V0dnmCmD/PtktqqtSZdXm+gbeDQCdHm3B
o2F+ZUCWWgrLSWh9SqRnxKg=
=ZKkn
-----END PGP SIGNATURE-----

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