Commit Graph
19 Commits
Author SHA1 Message Date
Alexandr Stelnykovych 0fd3665ac0 kext: fast-track split-tunnel proxy packets on loopback
Add PM_SPLIT_TUN_PORT (719) to fast_track_pm_packets so that redirected
packets arriving at the local split-tunnel proxy are permitted immediately
by the kext, matching the existing behaviour for the SPN port (717) and
the DNS port (53). This prevents internal proxy connections from being
reported to Portmaster and appearing in the connection monitor UI.

Also simplify fast_track_pm_packets by removing the redundant
match-on-direction branches, which were identical for Outbound and
Inbound.

Bump kext interface patch version to 2.1.1.0.
2026-05-07 13:46:16 +03:00
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
Alexandr Stelnykovych f08707afc5 KEXT: Bump version 2.1.0 2026-03-10 15:52:57 +02:00
Alexandr Stelnykovych f144e52b4a [kext] Bump version to 2.0.7.0 2025-06-20 13:01:31 +03:00
Daniel df4106fd70 Merge branch 'develop' 2024-11-27 16:40:03 +01:00
Daniel acaf98144a Bump kext version 2024-11-27 16:19:09 +01:00
Daniel a4b76843e5 Bump kext version 2024-11-12 17:39:49 +01:00
Daniel d26ab22d92 Bump kext version 2024-10-16 13:53:48 +02:00
Vladimir Stoilovandcoderabbitai[bot] 355f74318d [service] Fix check for invalid kext handle (#1716)
* [service] Fix check for invalid kext handle

* [windows_kext] Use BTreeMap as cache structure

* [windows_kext] Fix synchronization bug

* Update windows_kext/kextinterface/kext_file.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update windows_kext/kextinterface/kext_file.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update windows_kext/kextinterface/kext_file.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-16 12:19:08 +03:00
Daniel b7ec90e2c5 [service] Fix windows build 2024-08-21 15:00:29 +02:00
Daniel 35ac64bd82 [windows_kext] Bump version 2024-07-02 15:06:18 +02:00
Vladimir Stoilov 8579958811 [windows_kext] Fix go compiler error 2024-07-01 18:28:16 +03:00
Vladimir Stoilov 2e3304809f [windows_kext] Fix minor problems 2024-07-01 15:06:54 +03:00
Vladimir Stoilov 4bf1736a83 [service] Add check for kext command size 2024-06-28 13:20:18 +03:00
Daniel fe7bc629c6 [windows_kext] Bump window kext version 2024-06-13 10:53:00 +02:00
Daniel 151a548cee [windows_kext] Bump window kext version 2024-06-06 10:55:29 +02:00
Vladimir Stoilov 53d1d52c39 [windows_kext] keep generated test data 2024-05-16 17:29:24 +03:00
Vladimir Stoilov 1c4df53152 [windows_kext] use new go range loops 2024-05-16 16:36:01 +03:00
Vladimir Stoilov 1d6228ea7b [windows_kext] fix all linter error 2024-05-16 16:21:27 +03:00