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>
2 months ago
..
bench ipn/ipnlocal, all: plumb health trackers in tests 5 months ago
capture various: add golangci-lint, fix issues (#7905) 1 year ago
filter wgengine/filter: support FilterRules matching on srcIP node caps [capver 100] 3 months ago
magicsock ipn,wgengine/magicsock: allow setting static node endpoints via tailscaled configfile (#12882) 2 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 5 months ago
netstack proxymap, various: distinguish between different protocols 3 months ago
router wgengine/router: use quad-100 as the nexthop on Windows 2 months ago
wgcfg ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 4 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 7 months ago
wglog all: use Go 1.22 range-over-int 5 months ago
winnet all: add test for package comments, fix, add comments as needed 2 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 3 months ago
userspace.go net/ipset, wgengine/filter/filtertype: add split-out packages 3 months ago
userspace_ext_test.go ipn/ipnlocal, all: plumb health trackers in tests 5 months ago
userspace_test.go ipn/ipnlocal, all: plumb health trackers in tests 5 months ago
watchdog.go ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter 5 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 5 months ago
wgengine.go all: add test for package comments, fix, add comments as needed 2 months ago