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/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>
2 years ago
..
disabled_stubs.go all: gofmt with Go 1.17 3 years ago
igd_test.go net/portmapper: deflake TestPCPIntegration 3 years ago
pcp.go net/portmapper: make PCP/PMP result codes stringers 3 years ago
pcp_test.go net/portmapper: add PCP integration test 3 years ago
pcpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 3 years ago
pmpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 3 years ago
portmapper.go netcheck,portmapper,magicsock: ignore some UDP write errors on Linux 2 years ago
portmapper_test.go net/portmapper: add PCP integration test 3 years ago
upnp.go net/netns: thread logf into control functions 3 years ago
upnp_test.go all: update tests to use tstest.MemLogger 3 years ago