tailscale/wgengine/tstun
Brad Fitzpatrick 23e74a0f7a wgengine, magicsock, tstun: don't regularly STUN when idle (mobile only for now)
If there's been 5 minutes of inactivity, stop doing STUN lookups. That
means NAT mappings will expire, but they can resume later when there's
activity again.

We'll do this for all platforms later.

Updates tailscale/corp#320

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-06-25 19:14:24 -07:00
..
faketun.go wgengine/tstun: add tests and benchmarks (#436) 2020-06-05 11:19:03 -04:00
tun_test.go wgengine, magicsock, tstun: don't regularly STUN when idle (mobile only for now) 2020-06-25 19:14:24 -07:00
tun.go wgengine, magicsock, tstun: don't regularly STUN when idle (mobile only for now) 2020-06-25 19:14:24 -07:00