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/ipn
Adrian Dewhurst db6447ce63 ipn/ipnlocal: simplify suggest exit node tests
This mostly removes a lot of repetition by predefining some nodes and
other data structures, plus adds some helpers for creating Peer entries
in the netmap. Several existing test cases were reworked to ensure
better coverage of edge cases, and several new test cases were added to
handle some additional responsibility that is in (or will be shortly
moving in) suggestExitNode().

Updates tailscale/corp#19681

Change-Id: Ie14c2988d7fd482f7d6a877f78525f7788669b85
Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
4 months ago
..
conffile cmd/tailscaled, ipn/conffile: support ec2 user-data config file 4 months ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 8 months ago
ipnlocal ipn/ipnlocal: simplify suggest exit node tests 4 months ago
ipnserver ipn/ipnserver: close a small race in ipnserver, ~simplify code 5 months ago
ipnstate cmd/tailscale/cli: print node signature in `tailscale lock status` 4 months ago
localapi tsnet,wgengine/netstack: add ListenPacket and tests 4 months ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 11 months ago
store ipn/store/kubestore, cmd/containerboot: allow overriding client api server URL via ENV (#12115) 4 months ago
backend.go ipn: remove unused Options.LegacyMigrationPrefs 6 months ago
conf.go cmd/k8s-operator,cmd/containerboot,ipn,k8s-operator: turn off stateful filter for egress proxies. (#12075) 5 months ago
doc.go
ipn_clone.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 5 months ago
ipn_test.go all: do not depend on the testing package 4 months ago
ipn_view.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 5 months ago
prefs.go various: disable stateful filtering by default (#12197) 4 months ago
prefs_test.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 5 months ago
serve.go serve.go, tsnet.go: Fix "in in" typo (#12279) 4 months ago
serve_test.go {ipn/serve,cmd/tailscale/cli}: move some shared funcs to ipn 7 months ago
store.go ipn: add comment about thread-safety to StateStore 7 months ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago