nebula/udp
mrx 0f0534d739
Fix UDP listener on IPv4-only Linux (#787)
On some systems, IPv6 is disabled (for example, CIS benchmark recommends to disable it when not used), but currently all UDP connections are using AF_INET6 sockets.
When we are binding AF_INET6 socket to an address like ::ffff:1.2.3.4 (IPv4 addresses are parsed by net.ParseIP this way), we can't send or receive IPv6 packets anyway, so this will not break any scenarios.

---------

Co-authored-by: Wade Simmons <wsimmons@slack-corp.com>
2024-01-30 15:08:14 -05:00
..
conn.go Use registered io on Windows when possible (#905) 2023-07-10 12:43:48 -05:00
temp.go update EncReader and EncWriter interface function args to have concrete types (#844) 2023-04-07 14:28:37 -04:00
udp_all.go add calculated_remotes (#759) 2023-03-13 15:09:08 -04:00
udp_android.go Use registered io on Windows when possible (#905) 2023-07-10 12:43:48 -05:00
udp_bsd.go Build for openbsd (#812) 2023-07-27 14:27:35 -05:00
udp_darwin.go Fix rebind to not put the socket in blocking mode (#972) 2023-09-07 11:56:09 -05:00
udp_generic.go Use registered io on Windows when possible (#905) 2023-07-10 12:43:48 -05:00
udp_linux.go Fix UDP listener on IPv4-only Linux (#787) 2024-01-30 15:08:14 -05:00
udp_linux_32.go Use an interface for udp conns (#901) 2023-06-14 10:48:52 -05:00
udp_linux_64.go Use an interface for udp conns (#901) 2023-06-14 10:48:52 -05:00
udp_netbsd.go Add support for NetBSD (#916) 2023-07-27 13:44:47 -05:00
udp_rio_windows.go Use registered io on Windows when possible (#905) 2023-07-10 12:43:48 -05:00
udp_tester.go Guard e2e udp and tun channels when closed (#934) 2023-07-26 12:52:14 -05:00
udp_windows.go Use registered io on Windows when possible (#905) 2023-07-10 12:43:48 -05:00