Date: Wed, 13 Feb 2008 21:30:12 +0100 From: Josef Pojsl <jp@tns.cz> To: Eygene Ryabinkin <rea-fbsd@codelabs.ru> 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: <20080213203012.GB1157@bonifac.tns.cz> In-Reply-To: <BT4TiDDxXXg%2BA3Hm/RZG4ajuso0@iW7JDlNxJglv8iYoJTWnPBJ0iaQ> References: <jV/l2UkZT%2BCCNuE6npJv1SBs5CE@UCvaDHSF%2BGDEPQ7TSpdR%2BlgUSQM> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Eygene, 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. -- Josef
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080213203012.GB1157>