IPv6 BFD interop with Huawei, checksum 0 UDP

Alexander Zubkov green at qrator.net
Tue Jun 25 16:02:25 CEST 2024


Hi,

On Tue, Jun 25, 2024 at 3:04 PM Ondrej Zajicek <santiago at crfreenet.org> wrote:
>
> On Sat, Jun 22, 2024 at 07:44:34PM +0200, Alexander Zubkov via Bird-users wrote:
> > Hello,
> >
> > Nobody has done it yet, so I've tried to implement it. The patch is
> > attached. Of course feel free to alter naming, wording, add credits
> > for the reported, etc. as you wish.
>
> Hello
>
> Thanks for the patch, will merge it.
>
> Seems to me (from cursory look at the kernel code, as it seems to be an
> undocumented option) that the socket option UDP_NO_CHECK6_RX does not
> disable UDP checksum verification in general, just allows to accept UDP
> packets with zero checksum, while UDP packets with invalid non-zero
> checksums would still be rejected. Which fits better to what we need for
> this.

I've grepped the kernel source and I agree, it seems to only accept
zero checksums. Then maybe some phrases need to be reworded and the
configuration option to be renamed?

>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
> "To err is human -- to blame it on a computer is even more so."



More information about the Bird-users mailing list