Date: Wed, 21 Sep 2011 08:34:40 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Modulok <modulok@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to find out which version of PF a given box is using... Message-ID: <4E799390.2040303@infracaninophile.co.uk> In-Reply-To: <CAN2%2BEpaTSLwpP-LTfQzoXHfxvTvJ3mHs=aqKAGtNeV8BtQ83sQ@mail.gmail.com> References: <CAN2%2BEpaTSLwpP-LTfQzoXHfxvTvJ3mHs=aqKAGtNeV8BtQ83sQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE947B8B1511428CB997C19D0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/09/2011 07:34, Modulok wrote: > Is there an easy way to find out what version of PF a given FreeBSD ver= sion is > using? Currently I'm doing this: >=20 > grep -iE '\bpf\b' /usr/src/UPDATING >=20 > Just wondering if I'm missing something. I didn't see any '--version' > flag in pfctl. Uh -- bpf is a different thing to PF. bpf is Berkeley Packet Filter which isn't anything to do with firewalling, but used eg. by tcpdump to select certain packets from the wire. As far as I know, bpf doesn't have a separate version number; it just uses the OS version number. It's been part of BSD Unices since dinosaurs roamed the earth. PF is the firewalling code imported from OpenBSD. Again, it's part of the base system in OpenBSD so it just uses the OpenBSD version number. Every so often there will be a new import from OpenBSD -- I believe most released versions of FreeBSD are using PF from OpenBSD 4.2, but there is an update to OpenBSD 4.mumble in the works for the upcoming FreeBSD 9.0 release. You'ld have to check the commit history in CVS or SVN to be sur= e. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigE947B8B1511428CB997C19D0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk55k5cACgkQ8Mjk52CukIw6MwCfQYe6Jur1fUS4+j3DWX5Mg4MA 8UUAn0mQ7gZ6GAyFr/IUINc1a/rXvdtG =UFY3 -----END PGP SIGNATURE----- --------------enigE947B8B1511428CB997C19D0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E799390.2040303>