Brad Fitzpatrick
e2b3d9aa5f
all: s/Magic DNS/MagicDNS/ for consistency
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
aa79a57f63
wgengine/netstack: use inet.af/netstack, remove 64-bit only limitation
...
This reverts the revert commit 84aba349d9 .
And changes us to use inet.af/netstack.
Updates #1518
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
David Anderson
84aba349d9
Revert "wgengine/netstack: update gvisor to remove 64-bit only limitation"
...
Breaks our corp repo due to gRPC dependency hell.
This reverts commit d42f8b7f9a .
5 years ago
Brad Fitzpatrick
d42f8b7f9a
wgengine/netstack: update gvisor to remove 64-bit only limitation
...
gVisor fixed their google/gvisor#1446 so we can include gVisor mode
on 32-bit machines.
A few minor upstream API changes, as normal.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Naman Sood
770aa71ffb
client, cmd/hello, ipn, wgengine: fix whois for netstack-forwarded connections
...
Updates #504
Updates #707
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Naman Sood
4c80344e27
wgengine/netstack: stop UDP forwarding when one side dies
...
Updates #504
Updates #707
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Naman Sood
7325b5a7ba
wgengine/netstack: add support for incoming UDP connections
...
Updates #504
Updates #707
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Brad Fitzpatrick
f858b0d25f
wgengine/netstack: remove some v2 logging by default
...
Even with [v2], it still logtails and takes time to format.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Naman Sood
d01c60dad5
wgengine/netstack: use system dialer to contact servers on localhost
...
Updates #504
Updates #707
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Naman Sood
95c03d1ead
wgengine/netstack: forward incoming connections to localhost
...
Updates #707
Updates #504
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Brad Fitzpatrick
a038e8690c
wgengine/netstack: fix 32-bit build broken from prior commit
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
38dc6fe758
cmd/tailscaled, wgengine: remove --fake, replace with netstack
...
And add a --socks5-server flag.
And fix a race in SOCKS5 replies where the response header was written
concurrently with the copy from the backend.
Co-authored with Naman Sood.
Updates #707
Updates #504
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
d74cddcc56
wgengine/netstack: add Magic DNS + DNS resolution to SOCKS5 dialing
...
Updates #707
Updates #504
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Naman Sood
fec9dcbda1
wgengine/netstack: start SOCKS5 server in netstack mode
...
Updates #707
Updates #504
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Naman Sood
517c90d7e5
wgengine, cmd/tailscaled: refactor netstack, forward TCP to hello as demo ( #1301 )
...
Updates #707
Updates #504
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Brad Fitzpatrick
1e7a35b225
types/netmap: split controlclient.NetworkMap off into its own leaf package
...
Updates #1278
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Naman Sood
420c7a35e2
wgengine/netstack: use tailscale IPs instead of a hardcoded one ( #1131 )
...
Signed-off-by: Naman Sood <mail@nsood.in>
5 years ago
Naman Sood
f69e46175d
wengine/netstack: bump gvisor to latest version
...
* wengine/netstack: bump gvisor to latest version
Signed-off-by: Naman Sood <naman@tailscale.com>
* update dependencies
Signed-off-by: Naman Sood <naman@tailscale.com>
* Don't change hardcoded IP
Signed-off-by: Naman Sood <naman@tailscale.com>
5 years ago
Brad Fitzpatrick
8b0112649a
wgengine/netstack: don't build netstack on 32-bit platforms
...
See google/gvisor#5241
5 years ago
Brad Fitzpatrick
5aa5db89d6
cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work
...
Not usefully functional yet (mostly a proof of concept), but getting
it submitted for some work @namansood is going to do atop this.
Updates #707
Updates #634
Updates #48
Updates #835
5 years ago