Skip to content

UDP traceroute packets with no checksum

Kevin Mitchell bridge lkml netdev netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 2 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1netfilter: conntrack: skip verification of zero UDP checksuminclude/net/netfilter/nf_reject.h net/bridge/netfilter/nft_reject_bridge.c net/ipv4/netfilter/nf_reject_ipv4.c +1 more+32 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] UDP traceroute packets with no checksum

This is v2 of https://lkml.org/lkml/2022/1/14/1060

That patch was discovered to cause problems with UDP tunnels as described here:

https://lore.kernel.org/netdev/[email protected]/

This version addresses the issue by instead explicitly handling zero UDP checksum in the nf_reject_verify_csum() helper function.

Unlike the previous patch, this one only allows zero UDP checksum in IPv4. I discovered that the non-netfilter IPv6 path would indeed drop zero UDP checksum packets, so it's probably best to remain consistent.

Signature · 1 line
2.35.1