tailscale/tsnet
David Crawshaw 387b68fe11 tsnet: generalize loopback listener to include SOCKS5
Some languages do not give you any useful access to the sockets
underlying their networking packages. E.g. java.net.http.HttpClient
provides no official access to its dialing logic.

...but everyone supports proxies. So add a SOCKS5 proxy on the listener
we are already running.

(The function being revamped is very new,
I only added it in the last week and it wasn't part of any release,
so I believe it is fine to redo its function signature.)

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2023-03-06 09:00:09 -08:00
..
example all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsnet_test.go tsnet: generalize loopback listener to include SOCKS5 2023-03-06 09:00:09 -08:00
tsnet.go tsnet: generalize loopback listener to include SOCKS5 2023-03-06 09:00:09 -08:00