mirror of
https://github.com/safing/portmaster
synced 2026-04-26 10:31:36 +00:00
Add a synchronous HookMgr[T] that lets callers register pre-connect hooks before SPN dials a home hub. The IVPN interop layer subscribes to this hook and uses Linux ip-rule/ip-route to steer SPN hub IPs through a dedicated routing table (717) pointing to the non-VPN default gateway, preventing SPN control traffic from being tunnelled into IVPN. - service/mgr: add generic HookMgr[T] (synchronous, cancellable) - spn/captain: expose HookSPNConnecting; invoke it in connectToHomeHub - service/netenv: add GatewayInfo + GatewaysInfo() with interface/mask - service/interop/ivpn: add ensureSpnHubBypassVpnRoutes managing policy routing; call it from the SPN pre-connect hook and on VPN stop/connect - nfq/packet: add hex comments next to mark constants https://github.com/safing/portmaster-shadow/issues/34 |
||
|---|---|---|
| .. | ||
| access | ||
| cabin | ||
| captain | ||
| conf | ||
| crew | ||
| docks | ||
| hub | ||
| navigator | ||
| patrol | ||
| ships | ||
| sluice | ||
| terminal | ||
| testing | ||
| tools | ||
| unit | ||
| debug.go | ||
| instance.go | ||
| spn.go | ||
| test | ||
| TESTING.md | ||
| TRADEMARKS | ||