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/netns
Denton Gentry e28bc49e5f netns_linux: remove special handling for tests.
With netns handling localhost now, existing tests no longer
need special handling. The tests set up their connections to
localhost, and the connections work without fuss.

Remove the special handling for tests.

Also remove the hostinfo.TestCase support, since this was
the only use of it. It can be added back later if really
needed, but it would be better to try to make tests work
without special cases.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
..
netns.go netns_linux: No namespace for localhost. 3 years ago
netns_android.go net/netns: add Android implementation, allowing registration of JNI hook 3 years ago
netns_darwin_tailscaled.go net/{interfaces,netns}: change which build tag means mac/ios Network/System Extension 3 years ago
netns_default.go net/{interfaces,netns}: change which build tag means mac/ios Network/System Extension 3 years ago
netns_linux.go netns_linux: remove special handling for tests. 3 years ago
netns_linux_test.go net/netns: support !CAP_NET_ADMIN 3 years ago
netns_macios.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
netns_test.go netns_linux: No namespace for localhost. 3 years ago
netns_windows.go net/netns: remove use of unsafe on Windows 4 years ago
socks.go net/netns: move SOCKS dialing to netns for now 4 years ago