tailscale/net/netmon
Claus Lensbøl 5bb42e3018
wgengine/router: rely on events for deleted IP rules (#16744)
Adds the eventbus to the router subsystem.

The event is currently only used on linux.

Also includes facilities to inject events into the bus.

Updates #15160

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2025-08-05 08:31:51 -04:00
..
defaultroute_bsd.go net/netmon: swap to swift-derived defaultRoute on macos (#11936) 2024-05-01 09:20:09 -04:00
defaultroute_darwin.go net/netmon: remove spammy log statements (#11953) 2024-05-01 12:02:16 -04:00
interfaces_android.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
interfaces_bsd.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_darwin_test.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
interfaces_darwin.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_default_route_test.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_defaultrouteif_todo.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_freebsd.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_linux_test.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_linux.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
interfaces_test.go net/netmon: use Monitor's tsIfName if set by SetTailscaleInterfaceName 2025-03-24 13:34:02 -07:00
interfaces_windows_test.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
interfaces_windows.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
loghelper_test.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
loghelper.go net/netmon, wgengine/magicsock: be quieter with portmapper logs 2025-03-12 17:45:26 -04:00
netmon_darwin_test.go all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
netmon_darwin.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netmon_freebsd.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netmon_linux_test.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
netmon_linux.go wgengine/router: rely on events for deleted IP rules (#16744) 2025-08-05 08:31:51 -04:00
netmon_polling.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netmon_test.go net/netmon: add tests for the events over the eventbus (#16382) 2025-06-25 14:44:01 -04:00
netmon_windows.go net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netmon.go wgengine/router: rely on events for deleted IP rules (#16744) 2025-08-05 08:31:51 -04:00
polling.go net/netmon: factor out debounce loop, simplify polling impl 2023-08-23 19:42:09 -07:00
state.go net/netmon: use Monitor's tsIfName if set by SetTailscaleInterfaceName 2025-03-24 13:34:02 -07:00