From owner-freebsd-net@FreeBSD.ORG Thu Feb 14 04:49:43 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83C616A419; Thu, 14 Feb 2008 04:49:43 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7B16413C45D; Thu, 14 Feb 2008 04:49:43 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=BBKAJIY3S6KrAmpVKVBUlVTox7uhH7oJ+LwCVIilpYh80ZFkb5Bfix4fsAMgRrQF7vGojN9/sbhwGLcHZrodN3ohp6cE2dh1TQ2gpvKEtsvikikJg4p9PssDS90Hr9AuWFa5CCpl8cn19xQw3hAC87+yNhALOzgN4dHFhkMrL8I=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JPW2R-000D7n-ML; Thu, 14 Feb 2008 07:49:35 +0300 Date: Thu, 14 Feb 2008 07:49:34 +0300 From: Eygene Ryabinkin To: Josef Pojsl Message-ID: References: <20080207074944.GA56085@bonifac.tns.cz> <20080207141422.GG11393@diehard.n-r-g.com> <20080206144104.GL1122@bonifac.tns.cz> <20080207074944.GA56085@bonifac.tns.cz> <20080208105357.GF1142@bonifac.tns.cz> <20080213203012.GB1157@bonifac.tns.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20080213203012.GB1157@bonifac.tns.cz> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.1 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_20 Cc: freebsd-net@freebsd.org, farrokhi@FreeBSD.org, Claudio Jeker Subject: Re: ospf cost and route selection (openospfd) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 04:49:43 -0000 Josef, good day. Wed, Feb 13, 2008 at 09:30:12PM +0100, Josef Pojsl wrote: > On Wed, Feb 13, 2008 at 10:37:29PM +0300, Eygene Ryabinkin wrote: > > Found another OpenBSD/FreeBSD discrepancy: FreeBSD wants to see IP > > header's length in the native host order, when it sends the packets > > with sendmsg(). Corrected the patch and tried it on my test setup > > with Qemu: it worked in the configuration that is simular to yours. > > But one exception: my interfaces are not point-to-point, because > > it is too late to get VPNs up and running for today ;)) So it will > > be very good if you will be able to test the new version. > > > > Attached is the modified patch for the port itself and the modified > > file 'files/patch-ospfd_packet.c': it is the only changed file from > > the previous version of my patch. So, if you had already patched > > the port to 4.2 with previous version, just drop patch-ospfd_packet.c > > into the 'files/' directory and rebuild the patch. > > Thanks for that patch. I have replaced patch-ospfd_packet.c with the new one, > and OSPF packets can find their way through again now. Unfortunately, > the behavior is the same as with openospfd 4.0; it converges with > right costs etc., but with the wrong interface. > Everything is exactly the same. OK, I will up my gifX interfaces and will try to simulate your problem. -- Eygene