tailscale/net
Brad Fitzpatrick 0a5ab533c1 net/netcheck: send dummy packet out to help airport extreme in hairpin check
At least the Apple Airport Extreme doesn't allow hairpin
sends from a private socket until it's seen traffic from
that src IP:port to something else out on the internet.

See https://github.com/tailscale/tailscale/issues/188#issuecomment-600728643

And it seems that even sending to a likely-filtered RFC 5737
documentation-only IPv4 range is enough to set up the mapping.
So do that for now. In the future we might want to classify networks
that do and don't require this separately. But for now help it.

I've confirmed that this is enough to fix the hairpin check on Avery's
home network, even using the RFC 5737 IP.

Fixes #188
2020-07-06 08:24:22 -07:00
..
dnscache net/dnscache: remove unnecessary lint warning. 2020-04-30 20:31:44 -07:00
interfaces Make netcheck handle v6-only interfaces better, faster. 2020-05-28 10:04:20 -07:00
netcheck net/netcheck: send dummy packet out to help airport extreme in hairpin check 2020-07-06 08:24:22 -07:00
netns net/netns: move SOCKS dialing to netns for now 2020-06-01 11:00:03 -07:00
nettest scripts: add a license header checker. 2020-03-17 21:34:44 -07:00
stun net/stun: Remove unreachable code 2020-06-15 07:55:21 -07:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00