mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
57856fc0d5
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> |
||
---|---|---|
.. | ||
batching_conn.go | ||
blockforever_conn.go | ||
debughttp.go | ||
debugknobs_stubs.go | ||
debugknobs.go | ||
derp_test.go | ||
derp.go | ||
discopingpurpose_string.go | ||
endpoint_default.go | ||
endpoint_stub.go | ||
endpoint_test.go | ||
endpoint_tracker_test.go | ||
endpoint_tracker.go | ||
endpoint.go | ||
magicsock_default.go | ||
magicsock_linux.go | ||
magicsock_test.go | ||
magicsock_unix_test.go | ||
magicsock.go | ||
peermap.go | ||
peermtu_darwin.go | ||
peermtu_linux.go | ||
peermtu_stubs.go | ||
peermtu_unix.go | ||
peermtu.go | ||
rebinding_conn.go |