Commit Graph
77 Commits
Author SHA1 Message Date
xream 8a28dce512 fix: validate Linux process netlink matches 2026-05-15 08:41:02 +08:00
Alexandr Andreev 9664ca2df8 chore: add procfs fallback for android findProcess (#2639) 2026-03-26 18:00:26 +08:00
Vincent Loeng/Leong 6b40072bc5 chore: support find process on freebsd 14 and 15 (#2422) 2025-12-06 14:03:59 +08:00
wwqgtxx 85bb40aaf8 chore: add Int32Enum for common/atomic 2025-06-12 15:24:29 +08:00
wwqgtxx 082bcec281 chore: apply find process mode in direct/global mode 2025-06-12 00:27:51 +08:00
wwqgtxx cac2bf72e1 chore: cleanup netip code 2025-04-09 18:02:13 +08:00
Larvan2 792f16265e fix: find process panic 2024-11-08 16:29:32 +08:00
wwqgtxx 215bf0995f chore: switch syscall.SyscallN back to syscall.Syscall6
Until the current version, SyscallN always escapes the variadic argument
2024-11-08 09:40:38 +08:00
wwqgtxx dc29514fb6 chore: typo 2024-09-09 10:07:50 +08:00
wwqgtxx 313493cc94 chore: add fswatch 2024-07-24 14:37:10 +08:00
ruokeqx 28794c62c4 chore: reduce func findProcessName mem allocs and copy (#1393) 2024-07-19 22:24:27 +08:00
xishang0128 9f4cd646c2 fix: dhcp:// with special notation cannot be parsed 2024-06-23 15:33:38 +08:00
xishang0128 7b3c9e94e6 chore: Better package name handling on Android 2024-06-02 02:36:15 +08:00
bobo liu 0ab73a9beb fix: the right way to get process in win32 format (#909) 2023-12-14 10:19:19 +08:00
wwqgtxx 1b527fd494 chore: windows process will return DOS format instead of NT format 2023-12-08 08:55:45 +08:00
H1JK 1479b449df chore: Cleanup code 2023-11-17 23:12:10 +08:00
Steve Johnson aa3c1ac623 fix: fix package name rules match 2023-11-17 19:39:57 +08:00
Steve Johnson b73382f60a fix: fix android-arm64 build 2023-11-17 10:53:57 +08:00
Steve Johnson 9e96d70840 feat: share more code from android branch 2023-11-17 01:21:02 +08:00
wwqgtxx 17c9d507be chore: hello mihomo 2023-11-03 21:58:21 +08:00
タイムライン dafecebdc0 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
metacubex f96bf65557 chore: Refine process code 2023-01-14 16:16:59 +08:00
chain710 b4503908df fix #322: add option general.find-process-mode, user can turn off findProcess feature in router
findProcess slow down connection due to repeat call to FindProcessName in router environment
this option has 3 values: always, strict, off
- always, equal to enable-process: true. Just try to merge all process related option into one
- strict, as default value, behavior remains unchanged
- off, turn off findProcess, useful in router environment
2023-01-09 19:48:39 +08:00
metacubex 02d3468516 chore: Android version supports child processes following the main process rules 2022-12-11 18:24:55 +08:00
wwqgtxx 7300c917dc fix: build error 2022-11-12 20:59:29 +08:00
wwqgtxx dc3e144b6a Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
Dreamacro 4e5bdec13a Fix: amd64 macOS Ventura process name match 2022-11-02 11:43:43 +08:00
Dreamacro fbd43d9947 Fix: macOS Ventura process name match 2022-11-02 11:38:31 +08:00
Dreamacro c8bc11d61d Fix: amd64 macOS Ventura process name match 2022-10-27 15:36:09 +08:00
Dreamacro f29b54898f Fix: macOS Ventura process name match 2022-10-27 11:25:18 +08:00
Kr328 6995e98181 Refactor: linux process resolving (#2305) 2022-09-18 12:53:51 +08:00
Dreamacro bf079742cb Clean: use go 1.19 Appendf 2022-08-24 20:21:06 +08:00
metacubex 65a289e16f Chore: clean code 2022-08-12 03:04:58 +08:00
zhudan 2899a126fc fix filepath undefined 2022-08-02 17:13:10 +08:00
zhudan 28ba9c5efa revert 9be70f67ca 2022-08-01 18:06:09 +08:00
MetaCubeX 09419d88af fix process code 2022-07-24 01:50:10 +08:00
MetaCubeX 35b87e79a7 fix process code 2022-07-24 01:37:01 +08:00
MetaCubeX 9be70f67ca fix process code 2022-07-24 01:34:22 +08:00
Dreamacro a33e511c12 Fix: macOS udp find process should use unspecified fallback 2022-07-24 00:10:01 +08:00
Dreamacro be8d63ba8f Fix: macOS udp find process should use unspecified fallback 2022-07-15 17:00:41 +08:00
adlyq 1af39cb228 fix: OpenClash 回环 2022-06-01 12:32:45 +08:00
adlyq 9272d02149 refactor: 合并部分android代码入linux && ip 使用netlink配置路由 2022-05-28 21:58:29 +08:00
adlyq cc1c1340a3 feat: 安卓恢复进程规则,可通过enable-process开关,默认true 2022-05-19 20:44:09 +08:00
adlyq 4dd9e199b7 fix: uid rule only support linux and android 2022-04-22 16:51:01 +08:00
adlyq 3d6aea4c1e feat: support uid rule
eg. UID,1000/5000-6000,Proxy
2022-04-22 16:27:51 +08:00
yaling888 7ca1a03d73 Refactor: metadata use netip.Addr 2022-04-20 22:52:05 +08:00
MetaCubeX 42d853a7e6 chore: upgrade dependencies 2022-04-20 01:31:33 +08:00
Dreamacro 4dfba73e5c Fix: SyscallN should not use nargs 2022-04-14 23:37:19 +08:00
Dreamacro c282d662ca Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
Adlyq 7be3e617ab disable process name on android 2022-04-09 17:54:01 +08:00