From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:16:17 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id AAB9A16A4CF; Thu, 16 Sep 2004 04:16:17 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 31754 invoked by alias); 15 Sep 2004 23:55:46 -0000 Delivered-To: unirz@vampire.homelinux.org Received: (qmail 31751 invoked from network); 15 Sep 2004 23:55:46 -0000 Received: from mailstud.rz.uni-karlsruhe.de (129.13.185.210) by pd95302e1.dip.t-dialin.net with SMTP; 15 Sep 2004 23:55:46 -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 1C7jfW-0001IP-9B for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 01:58:34 +0200 Received: from localhost (exim@[127.0.0.1]) by spamstud.rz.uni-karlsruhe.de with spam-scanned (Exim 4.34 #1) id 1C7jfW-00081p-2r for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 01:58:34 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.191]) by spamstud.rz.uni-karlsruhe.de with esmtp (Exim 4.34 #1) id 1C7jfV-00081e-Vu for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 01:58:34 +0200 Received: from [212.227.126.147] (helo=mxng04.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7jfW-0005N0-00 for max.laier@stud.uni-karlsruhe.de; Thu, 16 Sep 2004 01:58:34 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng04.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7jfV-0007KG-00 for max@love2party.net; Thu, 16 Sep 2004 01:58:34 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id B76D372E1C8 for ; Wed, 15 Sep 2004 18:58:32 -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 09329-42 for ; Wed, 15 Sep 2004 18:58:32 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id 0AD6672E671 for ; Wed, 15 Sep 2004 18:58:03 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Wed, 15 Sep 2004 18:57:39 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id 40AF172D27B for ; Wed, 15 Sep 2004 18:57:38 -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 09329-18 for ; Wed, 15 Sep 2004 18:57:37 -0500 (EST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])ESMTP id 985D572E484 for ; Wed, 15 Sep 2004 18:57:27 -0500 (EST) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7jeR-0003A5-00 for pf4freebsd@freelists.org; Thu, 16 Sep 2004 01:57:27 +0200 Received: from [217.83.2.225] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1C7jeQ-0004uN-00 for pf4freebsd@freelists.org; Thu, 16 Sep 2004 01:57:26 +0200 From: Max Laier To: pf4freebsd@freelists.org Date: Thu, 16 Sep 2004 01:56:05 +0200 User-Agent: KMail/1.7 References: <41476126.7000503@dequim.ist.utl.pt> <41487CDA.7080709@dequim.ist.utl.pt> In-Reply-To: <41487CDA.7080709@dequim.ist.utl.pt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3533888.aY8NTl6PZu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409160156.18049.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 497 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-Virus-Scanned: by amavisd-new at freelists.org X-Provags-Forward: max@love2party.net -> max.laier@stud.uni-karlsruhe.de X-Scan-Signature: c613453dfb215c8e6416dcad6bcfc975 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: 569 X-Length: 7516 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:17 -0000 --nextPart3533888.aY8NTl6PZu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 15 September 2004 19:33, Bruno Afonso wrote: > =3D> 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. > > > =3D> 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:=20 http://people.freebsd.org/~mlaier/ifconfig.pfsync.patch (hope it still=20 applies) it will certainly cause rejects with the carp-ifconfig ... > 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 try= ing=20 to ping. > I also get "arp_rtrequest: bad gateway IP (!AF_LINK)" in /var/log/message= s. This described in: http://people.freebsd.org/~mlaier/CARP/README and it's n= ot=20 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=20 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 =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart3533888.aY8NTl6PZu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBSNaiXyyEoT62BG0RAgNNAJ9rSB2S2n1K4M6DYHjGpUJw0vyWrACfeK3o bkRmo3YaATl/sKwZP8rMtqw= =ScoV -----END PGP SIGNATURE----- --nextPart3533888.aY8NTl6PZu--