tailscale/wgengine/netstack
Tom Meadows 5341b26328
wgengine/netstack: allow UDP listeners to receive traffic on Service VIP addresses (#18972)
Fixes UDP listeners on VIP Service addresses not receiving inbound traffic.

- Modified shouldProcessInbound to check for registered UDP transport endpoints when processing packets to service VIPs
- Uses FindTransportEndpoint to determine if a UDP listener exists for the destination VIP/port
- Supports both IPv4 and IPv6

The aim was to mirror the existing TCP logic, providing feature parity for UDP-based services on VIP Services.

Fixes #18971

Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
2026-04-08 10:53:50 +01:00
..
gro all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
link_endpoint.go wgengine/netstack: deliver self-addressed packets via loopback 2026-02-27 14:30:41 -08:00
netstack_linux.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack_tcpbuf_default.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack_tcpbuf_ios.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack_test.go wgengine/netstack: allow UDP listeners to receive traffic on Service VIP addresses (#18972) 2026-04-08 10:53:50 +01:00
netstack_userping_apple.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack_userping_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack_userping.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netstack.go wgengine/netstack: allow UDP listeners to receive traffic on Service VIP addresses (#18972) 2026-04-08 10:53:50 +01:00