Commit graph

4 commits

Author SHA1 Message Date
世界 f91a90cad8
Improve domain suffix match behavior
For historical reasons, sing-box's `domain_suffix` rule matches literal prefixes instead of the same as other projects.

This change modifies the behavior of `domain_suffix`: If the rule value is prefixed with `.`,
the behavior is unchanged, otherwise it matches `(domain|.+\.domain)` instead.
2024-01-05 14:31:06 +08:00
世界 62ac3c8e32
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-01-05 14:06:15 +08:00
世界 11bec79a06
documentation: Bump version 2024-01-05 11:17:49 +08:00
世界 25810b50c1
Update documentation 2024-01-03 12:21:37 +08:00