From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:12:21 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 68E7716A4CF; Thu, 16 Sep 2004 04:12:21 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 68589 invoked by alias); 17 Aug 2004 06:45:42 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 68586 invoked from network); 17 Aug 2004 06:45:41 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by p54808668.dip.t-dialin.net with SMTP; 17 Aug 2004 06:45:41 -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 1Bwxki-0001hl-68 for max.laier@stud.uni-karlsruhe.de; Tue, 17 Aug 2004 08:47:24 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.34 #1) id 1Bwxki-0007Pe-0m for max.laier@stud.uni-karlsruhe.de; Tue, 17 Aug 2004 08:47:24 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.176]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1Bwxkh-0007PT-U7 for max.laier@stud.uni-karlsruhe.de; Tue, 17 Aug 2004 08:47:23 +0200 Received: from [212.227.126.217] (helo=mxng21.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bwxki-000119-00 for max.laier@stud.uni-karlsruhe.de; Tue, 17 Aug 2004 08:47:24 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng21.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bwxkh-000428-00 for max@love2party.net; Tue, 17 Aug 2004 08:47:23 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id AFA1972C217; Tue, 17 Aug 2004 01:46:45 -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 08704-14; Tue, 17 Aug 2004 01:46:45 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id E86F472C209; Tue, 17 Aug 2004 01:46:44 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Tue, 17 Aug 2004 01:46:28 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id 8683F72C089 for ; Tue, 17 Aug 2004 01:46:27 -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 07695-72 for ; Tue, 17 Aug 2004 01:46:27 -0500 (EST) Received: from smtp02.net-yan.com (smtp02.hgcbroadband.com [210.0.255.157]) ESMTP id 29F0B72C012 for ; Tue, 17 Aug 2004 01:46:26 -0500 (EST) Received: (qmail 46428 invoked from network); 17 Aug 2004 06:47:00 -0000 Received: from unknown (HELO [192.168.4.129]) (samwun@hgcbroadband.com@[221.127.107.11]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 17 Aug 2004 06:47:00 -0000 Message-ID: <4121A8E0.8040806@hgdbroadband.com> 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: <200408052130.51026.max@love2party.net> <200408161934.23219.max@love2party.net> <4120F693.8080305@hgdbroadband.com> <200408162008.20768.max@love2party.net> <4121772A.9020703@hgdbroadband.com> <20040817034647.GA4488@kt-is.co.kr> In-Reply-To: <20040817034647.GA4488@kt-is.co.kr> 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: 416 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: a7d66124de611cd96bdbb807b4b3f615 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=-4.9 required=7.0 tests=BAYES_00 autolearn=no version=2.61 X-Spam-Level: X-UID: 522 X-Length: 6972 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:12:48 +0000 Subject: [pf4freebsd] Re: Carp work (re)started 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 04:12:21 -0000 X-Original-Date: Tue, 17 Aug 2004 14:42:40 +0800 X-List-Received-Date: Thu, 16 Sep 2004 04:12:21 -0000 Pyun YongHyeon wrote: >On Tue, Aug 17, 2004 at 11:10:34AM +0800, sam wrote: > > Max Laier wrote: > > > > >On Monday 16 August 2004 20:01, sam wrote: > > > > > > > > >>Max Laier wrote: > > >> > > >> > > ><...> > > > > > > > > >>>Fixed in the mean time. See: > > >>>http://people.freebsd.org/~mlaier/CARP/ > > >>> > > >>> > > >>Thanks, I have applied all 3 patches on top of the previous one in > > >>love2party. > > >> > > >> > > > > > >err .. NO! ... each patchset is complete. You just check out a clean tree > > >and apply the most recent set (while hoping that it does not create > > >rejects). > > > > > > > > > > > Hi, do I still need RANDOM_IP_ID in the kernel configuration file? > >Probably not. >You need a sysctl OID in sysctl.conf(5) in latest -CURRENT. > >net.inet.ip.random_id=1 > > > I got the following error with options RANDOM_IP_ID in the kernel conf file: > > > > # config SEC5-2a > > SEC5-2a: unknown option "RANDOM_IP_ID" > > > > I enclosed portion of the kernel conf file: > > #-------for PF configuration -----# > > device bpf > > options PFIL_HOOKS > > options RANDOM_IP_ID > > > > device pf # required > > device pflog # optional > > device pfsync # optional > > > > device CARP > > #---------------------------------# > > > > Thanks > > sam > > > > > > > Hi, do you know how to build it with CARP support? I tried the commandline "config mykern", and it returned error like "unkown device CARP" After commented out the "device CARP" in mykern file, the "config mykern" works. But doing a "make depend;make" in the ../compile/mykern/ directory returned error: ../../../net/if_ethersubr.c: In function `ether_demux': ../../../net/if_ethersubr.c:697: warning: label `pre_stats' defined but not used *** Error code 1 I known the new way of building the kernel is "make buildkernel=mykern" in the /usr/src directory. But it had error with opt_carp.* not found when I did that 3 months ago. As far as I known, all the opt_*.h files are generated by the executing the command "config mykern", so I m wondering whether "make buildkernel=mykern does create opt_*h now, especially the opt_carp.h file. Thanks sam