Re: non-checksummed UDP packets

2020-07-21 Thread Stuart Henderson
On 2020-07-21, David Gwynne wrote: > > >> On 20 Jul 2020, at 05:30, Stuart Henderson wrote: >> >> On 2020-07-19, obs...@loopw.com wrote: >>> Is this normal? >>> >>> Checksum is OPTIONAL in UDP, not required. This is covered in RFC 768. >> >> For IPv4, anyway. It's required for v6. >

Re: non-checksummed UDP packets

2020-07-20 Thread David Gwynne
> On 20 Jul 2020, at 05:30, Stuart Henderson wrote: > > On 2020-07-19, obs...@loopw.com wrote: >> >>> Is this normal? >> >> Checksum is OPTIONAL in UDP, not required. This is covered in RFC 768. > > For IPv4, anyway. It's required for v6. Or is it? https://tools.ietf.org/html/rfc6935

Re: non-checksummed UDP packets

2020-07-19 Thread Stuart Henderson
On 2020-07-19, obs...@loopw.com wrote: > >> Is this normal? > > Checksum is OPTIONAL in UDP, not required. This is covered in RFC 768. For IPv4, anyway. It's required for v6.

Re: non-checksummed UDP packets

2020-07-19 Thread obsdml
> Is this normal? Checksum is OPTIONAL in UDP, not required. This is covered in RFC 768.

non-checksummed UDP packets

2020-07-19 Thread Peter J. Philipp
Hi, I noticed that UDP packets with a checksum of zero (0) make it through the UDP stack to userland programs. Is there a knob to turn that off? Offending packet: 08:38:28.035351 45.148.10.91.80 > 5.9.87.75.53: [no udp cksum] 65534+ [1au] ANY (Class 10531)? .(24) (ttl 241, id 35118, len 52)