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/wgengine
Irbe Krumina 57856fc0d5
ipn,wgengine/magicsock: allow setting static node endpoints via tailscaled configfile (#12882)
wgengine/magicsock,ipn: allow setting static node endpoints via tailscaled config file.

Adds a new StaticEndpoints field to tailscaled config
that can be used to statically configure the endpoints
that the node advertizes. This field will replace
TS_DEBUG_PRETENDPOINTS env var that can be used to achieve the same.

Additionally adds some functionality that ensures that endpoints
are updated when configfile is reloaded.

Also, refactor configuring/reconfiguring components to use the
same functionality when configfile is parsed the first time or
subsequent times (after reload). Previously a configfile reload
did not result in resetting of prefs. Now it does- but does not yet
tell the relevant components to consume the new prefs. This is to
be done in a follow-up.

Updates tailscale/tailscale#12578


Signed-off-by: Irbe Krumina <irbe@tailscale.com>
4 months ago
..
bench ipn/ipnlocal, all: plumb health trackers in tests 7 months ago
capture various: add golangci-lint, fix issues (#7905) 2 years ago
filter wgengine/filter: support FilterRules matching on srcIP node caps [capver 100] 5 months ago
magicsock ipn,wgengine/magicsock: allow setting static node endpoints via tailscaled configfile (#12882) 4 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 7 months ago
netstack proxymap, various: distinguish between different protocols 5 months ago
router wgengine/router: use quad-100 as the nexthop on Windows 4 months ago
wgcfg ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 6 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 9 months ago
wglog all: use Go 1.22 range-over-int 7 months ago
winnet all: add test for package comments, fix, add comments as needed 4 months ago
mem_ios.go all: update copyright and license headers 2 years ago
pendopen.go net/flowtrack: optimize Tuple type for use as map key 5 months ago
userspace.go net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
userspace_ext_test.go ipn/ipnlocal, all: plumb health trackers in tests 7 months ago
userspace_test.go ipn/ipnlocal, all: plumb health trackers in tests 7 months ago
watchdog.go ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter 7 months ago
watchdog_js.go all: update copyright and license headers 2 years ago
watchdog_test.go ipn/ipnlocal, all: plumb health trackers in tests 7 months ago
wgengine.go all: add test for package comments, fix, add comments as needed 4 months ago