Date: Wed, 27 Oct 2021 15:28:47 +0200 From: Peter <pmc@citylink.dinoex.sub.org> To: freebsd-stable@freebsd.org Subject: IPv6 checksum errors with divert Message-ID: <YXlUD6limy0wFR7m@gate.intra.daemon.contact>
next in thread | raw e-mail | index | archive | help
I'm getting these errors when e.g. querying the root nameservers: 05:58:50.916825 IP6 (flowlabel 0x08c7c, hlim 64, next-header UDP (17) payload length: 62) 2003:e7:17ff:192c:41d:92ff:fe01:301.42518 > 2600:1401:2::a.53: [bad udp cksum 0x24ca -> 0x48df!] These requests will never be answered. I see these checksum error when the packet goes into the divert socket, I see it when the packet comes back from divert, and I see it when the packet goes out onto the network. But, when I remove the divert socket from the path, then I still see the checksum error at the place where the divert would have happened, but when the packet goes out to the network, the checksums are okay. Obviousely this concerns only locally created packets - gatewayed IPv6 works okay. So somehow the information, that the packet is locally created and still needs checksum computation, gets lost when traversing the divert. Cheerio, PMc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YXlUD6limy0wFR7m>