Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 17:05:22 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: Why the old version of pf?
Message-ID:  <200808111705.22825.max@love2party.net>
In-Reply-To: <11167f520808110713p69d165bdsb29224f8eb1279a4@mail.gmail.com>
References:  <f1019d520808110559v47554db4r858966f28d61ec77@mail.gmail.com> <48A0422F.1050403@skoberne.net> <11167f520808110713p69d165bdsb29224f8eb1279a4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 11 August 2008 16:13:15 Sam Fourman Jr. wrote:
> >> Just curious why FreeBSD 7 has to use an old version of pf? There's
> >> been so many improvements! I'd very much like to use the new IP range
> >> feature for instance, so I can reduce
>
> does anyone know how to find our what version of pf FreeBSD is currently
> using? a switch maybe?

Unfortunately, there is no simple mechanism to figure that out.  There is 
documentation of __FreeBSD_version (aka sysctl kern.osreldate) mapping to pf 
version in the porter's handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-
versions.html

You can also check sysutils/pftop/Makefile for hints.

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



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