You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Andrew Dunham 2703d6916f net/netns: add functionality to bind outgoing sockets based on route table
When turned on via environment variable (off by default), this will use
the BSD routing APIs to query what interface index a socket should be
bound to, rather than binding to the default interface in all cases.

Updates #5719
Updates #5940

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ib4c919471f377b7a08cd3413f8e8caacb29fee0b
2 years ago
..
connstats net/connstats: mark TestConcurrent as flaky 2 years ago
dns net/dns: fix recently added URL scheme from http to https 2 years ago
dnscache ipn/ipnlocal, net/dnscache: allow configuring dnscache logging via capability 2 years ago
dnsfallback all: remove old +build tags 2 years ago
flowtrack net/flowtrack,wgengine/filter: refactor Cache to use generics 2 years ago
interfaces all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
netaddr all: migrate code from netaddr.FromStdAddr to Go 1.18 2 years ago
netcheck net/netcheck: don't use a space in the captive portal challenge 2 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns net/netns: add functionality to bind outgoing sockets based on route table 2 years ago
netstat netstat, portlist: update Windows implementation to disambiguate svchost processes 2 years ago
nettest ssh/tailssh: add TestSSHAuthFlow 2 years ago
netutil all: fix spelling mistakes 2 years ago
packet net/{packet,tstun}: fix typo in test helper docs 2 years ago
ping all: fix spelling mistakes 2 years ago
portmapper net/portmapper: relax handling of UPnP resp (#6946) 2 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
routetable all: remove old +build tags 2 years ago
socks5 net/socks5: use new Go 1.19 binary.AppendByteOrder.AppendUintX 2 years ago
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2 years ago
stun net/netcheck: deflake (maybe) magicsock's TestNewConn 2 years ago
tlsdial net/tlsdial,tstest,version: use go command from $PATH 2 years ago
tsaddr net/tsaddr: remove ContainsFunc helpers (they're now in x/exp/slices) 2 years ago
tsdial all: standardize on PeerAPI 2 years ago
tshttpproxy net/tshttpproxy: don't ignore env-based HTTP proxies after system lookups fail 2 years ago
tstun Remove redundant type declaration 2 years ago
wsconn net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2 years ago