tailscale/net/portmapper
Brad Fitzpatrick 7d9b1de3aa netcheck,portmapper,magicsock: ignore some UDP write errors on Linux
Treat UDP send EPERM errors as a lost UDP packet, not something super
fatal. That's just the Linux firewall preventing it from going out.

And add a leaf package net/neterror for that (and future) policy that
all three packages can share, with tests.

Updates #3619

Change-Id: Ibdb838c43ee9efe70f4f25f7fc7fdf4607ba9c1d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-31 08:27:21 -08:00
..
disabled_stubs.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
igd_test.go net/portmapper: deflake TestPCPIntegration 2021-12-01 10:13:27 -08:00
pcp_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
pcp.go net/portmapper: make PCP/PMP result codes stringers 2021-11-30 12:13:15 -08:00
pcpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 2021-11-30 12:13:15 -08:00
pmpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 2021-11-30 12:13:15 -08:00
portmapper_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
portmapper.go netcheck,portmapper,magicsock: ignore some UDP write errors on Linux 2021-12-31 08:27:21 -08:00
upnp_test.go all: update tests to use tstest.MemLogger 2021-09-07 20:06:15 -07:00
upnp.go net/netns: thread logf into control functions 2021-11-18 15:09:51 -08:00