[pf4freebsd] Re: 'Version' enhancement request

Max Laier max at love2party.net
Wed Sep 15 20:48:41 PDT 2004


Hello,

good point! But we don't want to modify pfctl (or any of the sources) more
than needed to make it work, hence I added another way to get version
information:
1) The kernel modules will printf the following (watch your console or use
dmesg(8)):
pflog: $Name: VERSION_1_63 $
pfsync: $Name: VERSION_1_63 $
pfaltq: $Name: VERSION_1_63 $
pf: $Name: VERSION_1_63 $
2) All binary files can be identified useing RCS ident(1):
$ident /sbin/pfctl
/sbin/pfctl:
(...)
     $Name: VERSION_1_63 $

I revised pf_freebsd_1.63.tar.gz new tarball has:
MD5 (pf_freebsd_1.63.tar.gz) = cad275628e25058b6416457417cf93a6

This might not be the cleanest possible way, but it works.

> Hi all,
>
> I've had several people in #pf asking about how to verify that they are in
fact
> on a specific version of pf_freebsd.  Since we're basically installing
over the
> top of previous versions and clobbering everything, there's no clean (i.e.
using
> pfctl) way to verify the version.
>
> Would it be possible to add a -V flag to pfctl to show the current
version?
>
> In the meantime, any pointers on how to verify versions using unclean
methods
> would be appreciated, and will be added to the pf-r (I have some updating
to do
> myself, been on holiday)...
>
> -S
>
>
>
>





More information about the freebsd-pf mailing list