OSPF socket error on "bge0" invalid argument
santiago at crfreenet.org
Sat Jan 14 13:18:10 CET 2017
On Sat, Jan 14, 2017 at 10:56:42AM +0100, Olivier Cochard-Labbé wrote:
> FreeBSD's official bird port version is 1.6.0: If you are using bird 1.6.3,
> this mean you're using your own upgraded version of bird.
> But take care to use the UDP RAW socket bird patch from the FreeBSD port
>  if you are running FreeBSD 11.
Thanks for the answer, we were testing BIRD on FreeBSD 10, so we did not
notice this API change.
I am bit confused by  w.r.t. whether ip_len is expected to contain
whole packet length or just data length. In BIRD, we always set it to
whole packet length and it worked, but according to  it should be
whole packet length on FreeBSD 10+ and just data length on older ones.
But as we use it only for TX, it is possible that BIRD just sends OSPF
packets that contain additional 20B garbage at the end. OSPF would
> And I've proposed a push  for including this patch to bird code.
Thanks, i will merge that.
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the Bird-users