ospf cost and route selection (openospfd)
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Wed Feb 13 11:37:33 PST 2008
Josef, good day.
Fri, Feb 08, 2008 at 11:53:57AM +0100, Josef Pojsl wrote:
> I did try the patch. Unfortunately, the deamon complains about sending packets
> over gre interfaces. I cannot see any OSPF traffic on them with tcpdump,
> and no routes get added.
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!
--
Eygene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.0-to-4.2.patch
Type: text/x-diff
Size: 14636 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080213/43af405d/4.0-to-4.2.bin
More information about the freebsd-net
mailing list