safing-portmaster/service/nameserver
Alexandr Stelnykovych 933323d5f9 feat: add VerdictRerouteToSplitTun verdict type
Add a new verdict (value 8) for routing connections through the split
tunnel. This prepares the infrastructure for the upcoming split-tunneling
feature without implementing the full feature yet.

Changes:
- Define VerdictRerouteToSplitTun in network/status.go with String() and Verb()
- Add RerouteToSplitTun() to the Packet interface and InfoPacket stub
- Implement RerouteToSplitTun() for windowskext (v1) and windowskext2 (v2) packets
- Map VerdictRerouteToSplitTun to KextVerdict 11 in kextinterface and kext2
- Handle the verdict in packet_handler.go dispatch, connection.go, api.go,
  metrics.go and nameserver.go
- Add VerdictRerouteToSplitTun = 8 to Angular Verdict enum and update
  stats counting, filter queries and verdict CSS class

(WIP) Note: Linux (nfq) implementation not updated yet. Therefore Linux build will fail.
2026-04-17 20:48:48 +03:00
..
nsutil Restructure modules (#1572) 2024-08-09 18:15:48 +03:00
config.go Restructure modules (#1572) 2024-08-09 18:15:48 +03:00
conflict.go Restructure modules (#1572) 2024-08-09 18:15:48 +03:00
failing.go wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00
metrics.go Restructure modules (#1572) 2024-08-09 18:15:48 +03:00
module.go Restructure modules (#1572) 2024-08-09 18:15:48 +03:00
nameserver.go feat: add VerdictRerouteToSplitTun verdict type 2026-04-17 20:48:48 +03:00
response.go Restructure modules (#1572) 2024-08-09 18:15:48 +03:00