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/magicsock
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
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
debughttp.go all: remove LenIter, use Go 1.22 range-over-int instead 7 months ago
debugknobs.go wgengine/magicsock: allow a CSV list for pretendpoint 2 months ago
debugknobs_stubs.go wgengine/magicsock: allow a CSV list for pretendpoint 2 months ago
derp.go control/controlknobs,tailcfg,wgengine/magicsock: remove DRPO shutoff switch 3 months ago
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 6 months ago
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 8 months ago
endpoint.go all: use math/rand/v2 more 4 months ago
endpoint_default.go all: adjust some build tags for plan9 1 year ago
endpoint_stub.go all: adjust some build tags for plan9 1 year ago
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 8 months ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 1 year ago
endpoint_tracker_test.go all: use Go 1.22 range-over-int 5 months ago
magicsock.go ipn,wgengine/magicsock: allow setting static node endpoints via tailscaled configfile (#12882) 2 months ago
magicsock_default.go wgengine/magicsock: delete unused stuff 1 year ago
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 11 months ago
magicsock_test.go wgengine/magicsock: always set home DERP if no control conn 3 months ago
magicsock_unix_test.go all: update copyright and license headers 2 years ago
peermap.go wgengine/magicsock: allow disco communication without known endpoints 5 months ago
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 8 months ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 8 months ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago