You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Andrew Dunham 77ff705545 net/portmapper: never select port 0 in UPnP
Port 0 is interpreted, per the spec (but inconsistently among router
software) as requesting to map every single available port on the UPnP
gateway to the internal IP address. We'd previously avoided picking
ports below 1024 for one of the two UPnP methods (in #7457), and this
change moves that logic so that we avoid it in all cases.

Updates #8992

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I20d652c0cd47a24aef27f75c81f78ae53cc3c71e
1 year ago
..
art net/art: allow non-pointers as values 1 year ago
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 2 years ago
dns all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
dnscache tstest: prepare for Clock API changes 1 year ago
dnsfallback all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
flowtrack all: update copyright and license headers 2 years ago
interfaces ipnlocal, net/*: deprecate interfaces.GetState, use netmon more for it 1 year ago
memnet net/memnet: add optional Listener.NewConn config knob 1 year ago
netaddr all: update copyright and license headers 2 years ago
netcheck net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 1 year ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netknob all: update copyright and license headers 2 years ago
netmon all: adjust case of "IPv4" and "IPv6" 1 year ago
netns util/linuxfw: decoupling IPTables logic from linux router 1 year ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2 years ago
netutil cmd/tailscale: refactor shared utility methods 1 year ago
packet net/packet: add NAT support for DCCP and GRE 2 years ago
ping net/ping,netcheck: add v6 pinging capabilities to pinger (#7971) 2 years ago
portmapper net/portmapper: never select port 0 in UPnP 1 year ago
proxymux all: update copyright and license headers 2 years ago
routetable net/routetable: include unknown flags in the routetable doctor output 2 years ago
socks5 net/socks5: add password auth support 2 years ago
sockstats net/sockstats: wait before reporting battery usage 2 years ago
speedtest all: update copyright and license headers 2 years ago
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2 years ago
tcpinfo net/tcpinfo: add package to allow fetching TCP information 1 year ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2 years ago
tsaddr cmd/viewer, types/views, all: un-special case slice of netip.Prefix 1 year ago
tsdial types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 1 year ago
tshttpproxy net/tshttpproxy: don't proxy through ourselves 2 years ago
tstun all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
wsconn all: update copyright and license headers 2 years ago