Commit graph

17 commits

Author SHA1 Message Date
beryll1um 99840ba0f4 Add high-level boundary management interface
I rewrote the router's boundary management part to implement dynamic management
from a high-level box interface. This also includes a number of changes I made
in the process of rewriting some messy parts, such as the Outbound tree
bottom-top starter.
2024-10-20 15:21:25 +02:00
ruokeqx e5991cae0b
Use unix.SysctlRaw for macOS 2024-07-22 12:42:22 +08:00
世界 cbcf005f37
Remove PROCESS_NAME_NATIVE dwFlag in process query output
The `process_path` rule of sing-box is inherited from Clash,
the original code uses the local system's path format (e.g. `\Device\HarddiskVolume1\folder\program.exe`),
but when the device has multiple disks, the HarddiskVolume serial number is not stable.

This change make QueryFullProcessImageNameW output a Win32 path (such as `C:\folder\program.exe`),
which will disrupt the existing `process_path` use cases in Windows.
2024-05-18 17:22:14 +08:00
世界 07ce5e0d22
Remove stack buffer usage 2023-07-03 21:45:32 +08:00
世界 4ebf40f582
Fix find process user 2023-04-14 20:56:58 +08:00
Dreamacro 6adfea0a72
Fix macOS Ventura process name match 2022-11-06 10:16:07 +08:00
世界 c90a77a185
Refine 4in6 processing 2022-09-25 22:29:18 +08:00
世界 e0f7387dff
Fix search android package in non-owner users 2022-08-29 12:02:29 +08:00
世界 a057754035
Revert linux process searcher 2022-08-26 17:36:06 +08:00
世界 84e4677a94
Improve process searcher 2022-08-20 12:11:27 +08:00
世界 c8424ed8fd
Fix format 2022-08-19 08:26:26 +08:00
世界 cd5e7055d2
Add android package rules support in tun routing 2022-08-15 11:44:59 +08:00
世界 70b4577dbe
Add TLS certificate reload 2022-07-30 22:04:01 +08:00
世界 457de86819
Add multiplexer 2022-07-30 09:04:01 +08:00
世界 29c329dc52
Add retry for linux process search 2022-07-24 21:43:05 +08:00
世界 fe8e984608
Add route.default_mark option 2022-07-24 17:46:25 +08:00
世界 5f6f33c464
Add process_name/package_name/user/user_id rule item 2022-07-23 21:28:13 +08:00