From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 03:48:41 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 1AC2816A4CF; Thu, 16 Sep 2004 03:48:41 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 26995 invoked by uid 1005); 29 Aug 2003 15:16:42 -0000 Delivered-To: max@vampire.homelinux.org Received: (qmail 26992 invoked from network); 29 Aug 2003 15:16:42 -0000 Received: from moutng.kundenserver.de (212.227.126.177) by pd9e39106.dip.t-dialin.net with SMTP; 29 Aug 2003 15:16:42 -0000 Received: from [212.227.126.139] (helo=mxng12.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19slsX-0005wb-00 for max@vampire.homelinux.org; Fri, 29 Aug 2003 18:13:37 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng12.kundenserver.de with esmtp (Exim 3.35 #1) id 19slsO-0002J9-00 for max@love2party.net; Fri, 29 Aug 2003 18:13:28 +0200 Received: from turing (localhost [127.0.0.1])ESMTP id 392E8390DBF; Fri, 29 Aug 2003 11:11:27 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Fri, 29 Aug 2003 11:11:22 -0500 (EST) Delivered-To: pf4freebsd@freelists.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188])ESMTP id 0FA2C3908DC for ; Fri, 29 Aug 2003 11:11:22 -0500 (EST) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19slpm-00082O-00 for pf4freebsd@freelists.org; Fri, 29 Aug 2003 18:10:46 +0200 Received: from [217.227.145.6] (helo=max900) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19slpm-0001oN-00 for pf4freebsd@freelists.org; Fri, 29 Aug 2003 18:10:46 +0200 Message-ID: <004001c36e48$591c6680$01000001@max900> From: "Max Laier" To: References: <006101c36dde$01cb64e0$01000001@max900> <1062160039.3f4f46a77d2d3@mail.fluidhosting.com> MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-archive-position: 126 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: max@love2party.net Precedence: normal X-list: pf4freebsd X-UID: 239 X-Length: 3887 X-Mailman-Approved-At: Thu, 16 Sep 2004 03:55:52 +0000 Subject: [pf4freebsd] Re: 'Version' enhancement request X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 03:48:41 -0000 X-Original-Date: Fri, 29 Aug 2003 18:12:29 +0200 X-List-Received-Date: Thu, 16 Sep 2004 03:48:41 -0000 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 > > > >