mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 08:41:19 -08:00
* wgengine/netstack: add local tailscale service IPs to route and terminate locally This commit adds the tailscales service IPs served locally to OS routes, and make interception to packets so that the traffic terminates locally without making affects to the HA traffics. Fixes tailscale/corp#34048 Signed-off-by: KevinLiang10 <[email protected]> * fix test Signed-off-by: KevinLiang10 <[email protected]> * add ready field to avoid accessing lb before netstack starts Signed-off-by: KevinLiang10 <[email protected]> * wgengine/netstack: store values from lb to avoid acquiring a lock Signed-off-by: KevinLiang10 <[email protected]> * add active services to netstack on starts with stored prefs. Signed-off-by: KevinLiang10 <[email protected]> * fix comments Signed-off-by: KevinLiang10 <[email protected]> * update comments Signed-off-by: KevinLiang10 <[email protected]> --------- Signed-off-by: KevinLiang10 <[email protected]>