From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:14:27 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 088AF16A4CF; Thu, 16 Sep 2004 04:14:27 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 2498 invoked by alias); 12 Sep 2004 14:46:49 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 2495 invoked from network); 12 Sep 2004 14:46:49 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by pd9530350.dip.t-dialin.net with SMTP; 12 Sep 2004 14:46:49 -0000 Received: from spamstud.rz.uni-karlsruhe.de (spamstud.rz.uni-karlsruhe.de [129.13.185.237]) by mailstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1C6Vfb-0004Xu-Dn for max.laier@stud.uni-karlsruhe.de; Sun, 12 Sep 2004 16:49:35 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.34 #1) id 1C6Vfb-00030F-8k for max.laier@stud.uni-karlsruhe.de; Sun, 12 Sep 2004 16:49:35 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1C6Vfb-000304-6G for max.laier@stud.uni-karlsruhe.de; Sun, 12 Sep 2004 16:49:35 +0200 Received: from [212.227.126.150] (helo=mxng07.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C6Vfa-00006s-00 for max.laier@stud.uni-karlsruhe.de; Sun, 12 Sep 2004 16:49:35 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng07.kundenserver.de with esmtp (Exim 3.35 #1) id 1C6Vfa-0002wF-00 for max@love2party.net; Sun, 12 Sep 2004 16:49:35 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id 9119872C363; Sun, 12 Sep 2004 09:49:33 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00731-29; Sun, 12 Sep 2004 09:49:33 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id 8103C72C3B3; Sun, 12 Sep 2004 09:49:30 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Sun, 12 Sep 2004 09:49:09 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id BFE6472C364 for ; Sun, 12 Sep 2004 09:49:08 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00731-19 for ; Sun, 12 Sep 2004 09:49:08 -0500 (EST) Received: from smtp02.net-yan.com (smtp02.hgcbroadband.com [210.0.255.157]) ESMTP id F0EBD72C276 for ; Sun, 12 Sep 2004 09:49:03 -0500 (EST) Received: (qmail 73751 invoked from network); 12 Sep 2004 14:48:56 -0000 Received: from unknown (HELO [192.168.4.129]) (samwun@hgcbroadband.com@[221.127.111.39]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 12 Sep 2004 14:48:56 -0000 Message-ID: <414460C8.7030204@hgdbroadband.com> Date: Sun, 12 Sep 2004 22:44:24 +0800 From: sam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pf4freebsd@freelists.org References: <4143A797.4040708@authtec.net> <200409121633.47109.max@love2party.net> In-Reply-To: <200409121633.47109.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 467 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: samwun@hgdbroadband.com Precedence: normal X-list: pf4freebsd X-Virus-Scanned: by amavisd-new at freelists.org X-Provags-Forward: max@love2party.net -> max.laier@stud.uni-karlsruhe.de X-Scan-Signature: 8efe33388ccc4ad5ed6ccdac92cb8685 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mail6.rz.uni-karlsruhe.de X-Spam-Status: No, hits=-0.6 required=7.0 tests=BAYES_01 autolearn=no version=2.61 X-Spam-Level: X-UID: 547 X-Length: 6836 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:17:51 +0000 Subject: [pf4freebsd] Re: How can I compile PF without option PFIL_HOOKS defined in thekernel conf file? 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: , X-List-Received-Date: Thu, 16 Sep 2004 04:14:27 -0000 Max Laier wrote: >On Sunday 12 September 2004 03:34, sam wrote: > > >>Hi, >> >>I tried many times, turning on and off the option PFIL_HOOKS in the >>kernel conf file to try to get PF compile into the kernel, but without >>success. >> >>When remove option PFIL_HOOKS, PF failed to compile. Here is the error >>when compiling PF into kernel without PFIL_HOOKS: >> >>pf_ioctl.o(.text+0x5230): In function `hook_pf': >>: undefined reference to `pfil_head_get' >>*** Error code 1 >> >>With option PFIL_HOOKS, the compilation failed with the following error >>(this time PF is compiled OK, but the system does not like it: >> >>config -d /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/conf/GENERIC >>/usr/src/sys/i386/conf/GENERIC: unknown option "PFIL_HOOKS" >> >>Does anyone have any suggestion to compile PF into kernel in Beta 3? >> >> > >Hmmm ... looks like a bad cvsup to me. Please cvsup to RELENG_5 once more and >try again. > >RELENG_5 still has "options PFIL_HOOKS" available so it seems like you have >CURRENT-ish sys/conf/* stuff in your tree which does not know about >PFIL_HOOKS. > > > Yes, I checked out the 6.0 Current from the raw cvs src tree into a seperate area other than /usr/src, I think that makes error. In the /usr/src, I think I got the right version of the src. I have Beta 3 src in the /usr/src. The begging few lines of the UPDATING file is: NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: FreeBSD 5.x has many debugging features turned on, in both the kernel and userland. These features attempt to detect incorrect use of system primitives, and encourage loud failure through extra sanity checking and fail stop semantics. They .... I have just checked out RELENG_5 from the raw cvs src into /work/dev/src, and copied my own GENERIC file into the work/...../sys/i386/conf/ directory overwritten the orginal one, and then did a cvc update and commit. Because I have all object files generated by the /usr/src and keeping them in the /usr/obj directory, I m now in the process of making release in the /usr/src/release. This should in turn produce final release files from the /work/dev/src into MyRelease directory. Hope everything works fine now... Thanks Sam