From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:16:22 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id B017B16A4CF; Thu, 16 Sep 2004 04:16:22 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 34251 invoked by alias); 16 Sep 2004 00:04:20 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 34248 invoked from network); 16 Sep 2004 00:04:20 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by pd95302e1.dip.t-dialin.net with SMTP; 16 Sep 2004 00:04:20 -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 1C7jno-0002L3-56 for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 02:07:08 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.34 #1) id 1C7jnn-0000yQ-W5 for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 02:07:08 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1C7jnn-0000yF-Te for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 02:07:07 +0200 Received: from [212.227.126.215] (helo=mxng19.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7jnn-0001rc-00 for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 02:07:07 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng19.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7jnn-000787-00 for max@love2party.net; Thu, 16 Sep 2004 02:07:07 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id 976E572E8F2 for ; Wed, 15 Sep 2004 19:07:06 -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 11489-20 for ; Wed, 15 Sep 2004 19:07:06 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id 2D55472D640 for ; Wed, 15 Sep 2004 19:07:06 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Wed, 15 Sep 2004 19:06:46 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id 335DE72E877 for ; Wed, 15 Sep 2004 19:06:46 -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 11489-09 for ; Wed, 15 Sep 2004 19:06:46 -0500 (EST) Received: from smtp02.net-yan.com (smtp02.hgcbroadband.com [210.0.255.157]) ESMTP id B1F2C72E884 for ; Wed, 15 Sep 2004 19:06:44 -0500 (EST) Received: (qmail 67203 invoked from network); 16 Sep 2004 00:06:43 -0000 Received: from unknown (HELO [192.168.4.129]) (samwun@hgcbroadband.com@[221.127.106.47]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 16 Sep 2004 00:06:43 -0000 Message-ID: <4148D802.9020206@authtec.net> Date: Thu, 16 Sep 2004 08:02:10 +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: <41476126.7000503@dequim.ist.utl.pt> <41487CDA.7080709@dequim.ist.utl.pt> <200409160156.18049.max@love2party.net> In-Reply-To: <200409160156.18049.max@love2party.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 498 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: sam.wun@authtec.net 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: 46817b9df65fcc8f791f125326143b16 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: 570 X-Length: 6925 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:17:51 +0000 Subject: [pf4freebsd] Re: RELENG_5 and carp patches - Status 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:16:22 -0000 Max Laier wrote: >On Wednesday 15 September 2004 19:33, Bruno Afonso wrote: > > >>=> WORKS: >> >>I've set carp0 and carp1 with the ips my NAT box uses and it's working >>flawlessly up until now (some hours). I have yet to set the backup box >>as it's really really old and I'm waiting for it to compile world and >>kernel... :) >> >>I will try failover in the next days. >> >> >>=> DOES NOT WORK: >> >>ifconfig pfsync syncif does not work >>carp-testing-box# ifconfig pfsync0 up syncif fxp0 >>ifconfig: syncif: bad value >> >> > >Ugh ... this got completely forgotten. Check the patch at: >http://people.freebsd.org/~mlaier/ifconfig.pfsync.patch (hope it still >applies) it will certainly cause rejects with the carp-ifconfig ... > > This patch looks quite old compared to the one released in Aug. Can I only use the patches in Aug? Sam. > > >>accessing carp'ed IP address does not work >>carp-testing-box# ping IP >>PING IP (IP): 56 data bytes >>ping: sendto: Operation not permitted >> >> > >EPERM is clearly a problem of your firewalling rules on the box that is trying >to ping. > > > >>I also get "arp_rtrequest: bad gateway IP (!AF_LINK)" in /var/log/messages. >> >> > >This described in: http://people.freebsd.org/~mlaier/CARP/README and it's not >a problem only a bit distrubing. > > > >>netstat -sv carp does not work >>carp-testing-box# netstat -s -p carp >>netstat: kvm not available >> >> >> > >hmmm ... looks like netstat has been built with different headers as the >kernel. Try make installincludes and rebuild+install netstat. > > > >>netstat -rn neither (which is very bad!) >> >>carp-testing-box# netstat -rn >>netstat: kvm not available >>Routing tables >>rt_tables: symbol not in namelist >> >> >>Again, I'm only trying to share my experiences hoping someone also has >>done some testing on this :) >> >>Best, >>BA >> >>Bruno Afonso wrote: >> >> >>>Hi, >>> >>>I've been trying to play with CARP, by applying the carp patch >>>(20040823-carp.RELENG_5.diff) to RELENG_5. The patch applies cleanly but >>>I can't get it to successfully compile the kernel. I can build world >>>with the patch applied. >>> >>>Any successful stories? :) >>> >>>BA >>> >>> > > >