Kris Brandow
8f38afbf8e
net/stun: convert to use net/netip.AddrPort
...
Convert ParseResponse and Response to use netip.AddrPort instead of
net.IP and separate port.
Fixes #5281
Signed-off-by: Kris Brandow <kris.brandow@gmail.com>
4 years ago
renthraysk
10cad39abd
net/stun: Fix STUN attribute padding ( #710 )
...
net/stun: fix STUN attribute padding
Signed-off-by: RenThraysk <renthraysk@gmail.com>
6 years ago
Brad Fitzpatrick
b0c10fa610
stun, netcheck: move under net
6 years ago
Brad Fitzpatrick
0e128f8f22
stun: add server support
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
Brad Fitzpatrick
14abc82033
stun: check high bits in Is, add tests
...
Also use new stun.TxID type in stunner.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
Brad Fitzpatrick
2489ea4268
stun: fix IPv6 bug, refactor a bit
...
Fixes #104
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
6 years ago