Date: Thu, 14 Feb 2008 07:49:34 +0300 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: Josef Pojsl <jp@tns.cz> Cc: freebsd-net@freebsd.org, farrokhi@FreeBSD.org, Claudio Jeker <cjeker@diehard.n-r-g.com> Subject: Re: ospf cost and route selection (openospfd) Message-ID: <mgxG59t6NyZOK/aOCUXqAa4UjwQ@nlDRp1tQLLdsXUKSIGNiprMk72M> In-Reply-To: <20080213203012.GB1157@bonifac.tns.cz> References: <20080207074944.GA56085@bonifac.tns.cz> <20080207141422.GG11393@diehard.n-r-g.com> <20080206144104.GL1122@bonifac.tns.cz> <jV/l2UkZT%2BCCNuE6npJv1SBs5CE@UCvaDHSF%2BGDEPQ7TSpdR%2BlgUSQM> <20080207074944.GA56085@bonifac.tns.cz> <Ntfg81bhcEB6BPmKzMb2iTN9oBA@ebJhc%2B9glC7W5vxxBJVH9quBZr0> <BeIqwBu0LkRXuGRr9c834oJe11M@mkgs2gFQr6GPddtmfyJSxMBvIxA> <20080208105357.GF1142@bonifac.tns.cz> <BT4TiDDxXXg%2BA3Hm/RZG4ajuso0@iW7JDlNxJglv8iYoJTWnPBJ0iaQ> <20080213203012.GB1157@bonifac.tns.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mgxG59t6NyZOK/aOCUXqAa4UjwQ>