@black_desk,无对应计划。推荐使用clash-meta@.service,以普通用户,而不是root执行clash-meta.
Search Criteria
Package Details: mihomo 1.19.33-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mihomo.git (read-only, click to copy) |
|---|---|
| Package Base: | mihomo |
| Description: | Mihomo Kernel by MetaCubeX, formerly known as Clash.Meta |
| Upstream URL: | https://github.com/MetaCubeX/mihomo |
| Licenses: | GPL3 |
| Conflicts: | clash-meta |
| Provides: | clash-meta |
| Submitter: | handsomexdd1024 |
| Maintainer: | Kizumi |
| Last Packager: | Kizumi |
| Votes: | 22 |
| Popularity: | 1.03 |
| First Submitted: | 2023-12-02 15:01 (UTC) |
| Last Updated: | 2026-10-22 16:08 (UTC) |
Dependencies (3)
- clash-geoipAUR
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- go (go-gitAUR, gcc-go-gitAUR, goup-rsAUR, go-binAUR, gcc-go-snapshotAUR, gcc-go) (make)
Required by (26)
- clash-meta-cap-git (requires clash-meta)
- clash-nyanpasu-appimage (requires clash-meta)
- clash-nyanpasu-appimage-fixed (requires clash-meta)
- clash-nyanpasu-bin
- clash-nyanpasu-git
- clash-of-rust-bin
- clash-party-bin
- clash-verge-bin
- clash-verge-rev
- clashtui
- clashtui-bin
- clashtui-git
- gui.for.clash (optional)
- metacubexd (optional)
- metacubexd-bin (optional)
- metacubexd-bin (requires clash-meta) (optional)
- metacubexd-desktop-electron
- mihomo-cap-git
- mihomo-tui-bin (optional)
- mihomo-tui-git (optional)
- Show 6 more...
Sources (6)
Latest Comments
« First ‹ Previous 1 2 3 4
sukanka commented on 2023-06-21 08:01 (UTC)
black_desk commented on 2023-06-21 07:45 (UTC) (edited on 2023-06-21 07:55 (UTC) by black_desk)
有两个建议:
考虑让clash-meta把需要写的文件和理应只读的配置文件分开,并且开启一些保护功能:
[Service]
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
ProtectKernelTunables=true
ProtectControlGroups=true
NoNewPrivileges=true
MemoryDenyWriteExecute=true
StateDirectory=clash-meta
ConfigurationDirectory=clash-meta
ConfigurationDirectoryMode=0555
ExecStartPre=
ExecStartPre=-ln -s /etc/clash/Country.mmdb $STATE_DIRECTORY
ExecStart=
ExecStart=clash-meta -d $STATE_DIRECTORY -f ${CONFIGURATION_DIRECTORY}/config.yaml
按道理来说 /usr 和 /etc 对于绝大多数服务而言都应该是只读的。
另外,默认配置应该做成无条件直连的
oogeek commented on 2023-05-01 16:30 (UTC)
It seems that the shasum of the latest 1.14.4.tar.gz is wrong.
sukanka commented on 2023-02-15 01:06 (UTC)
@MiketsuSmasher 原始配置是我瞎编的,也不知道能不能用,所以其实并没有意义
sukanka commented on 2023-02-15 01:05 (UTC)
If you want use tun mode, add the following pacman hook.
➜ ~ cat /etc/pacman.d/hooks/clash-meta.hook
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/bin/clash-meta
[Action]
When = PostTransaction
Exec = /usr/bin/setcap 'cap_net_admin,cap_net_bind_service=+ep' /usr/bin/clash-meta
MiketsuSmasher commented on 2023-02-14 16:44 (UTC)
可以考虑将 config.yaml 复制一份为 config.yaml.example,方便用户恢复原始配置
reeeeeeeeeeelity commented on 2023-02-14 10:19 (UTC)
The function of finding process doesn't work. Maybe need some specific systemd capability?
Pinned Comments
sukanka commented on 2023-02-15 01:05 (UTC)
If you want use tun mode, add the following pacman hook.