Search Criteria
Package Details: sing-box 1.12.12-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/sing-box.git (read-only, click to copy) |
|---|---|
| Package Base: | sing-box |
| Description: | The universal proxy platform. |
| Upstream URL: | https://sing-box.sagernet.org/ |
| Licenses: | LicenseRef-sing-box |
| Conflicts: | sing-box-beta, sing-box-git |
| Submitter: | everyx |
| Maintainer: | everyx (lilac) |
| Last Packager: | lilac |
| Votes: | 19 |
| Popularity: | 3.16 |
| First Submitted: | 2022-09-15 09:44 (UTC) |
| Last Updated: | 2025-10-27 20:39 (UTC) |
Dependencies (4)
- glibc (glibc-gitAUR, glibc-eacAUR)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, gcc-go) (make)
- sing-geoip (sing-geoip-rule-set-gitAUR, sing-geoip-db-gitAUR, sing-geoip-dbAUR, sing-geoip-rule-setAUR) (optional) – sing-geoip database
- sing-geosite (sing-geosite-rule-set-gitAUR, sing-geosite-db-gitAUR, sing-geosite-dbAUR, sing-geosite-rule-setAUR) (optional) – sing-geosite database
Required by (11)
- metacubexd (optional)
- metacubexd-bin (optional)
- s-ui
- serenity (optional)
- serenity-bin (optional)
- serenity-git (optional)
- v2rayn
- yacd-ghp-bin (optional)
- yacd-git (optional)
- yacd-meta-ghp-bin (optional)
- zashboard-bin (optional)
Latest Comments
1 2 3 4 Next › Last »
akiirui commented on 2025-09-13 07:31 (UTC)
@everyx No, it doesn't work for everyone and requires manual configuration of the override.
everyx commented on 2025-09-05 07:40 (UTC)
@akiirui could you submit a PR to the upstream repository for this systemd unit modification? The current system unit file is entirely derived from the upstream source at https://github.com/SagerNet/sing-box.
akiirui commented on 2025-03-25 03:18 (UTC) (edited on 2025-08-20 14:00 (UTC) by akiirui)
This is my sing-box@.service, using
DynamicUser:/etc/systemd/system/sing-box@.service
/etc/systemd/system/sing-box@PROFILE.service.d/override.conf
PROFILE.json
everyx commented on 2024-11-22 09:39 (UTC)
@Poscat In fact, most users who care about this should create a configuration file under
/etc/sing-box/themselves, set the permissions, and then enablesing-box@[config_file_name].service.However, can you send me a patch to my email? I will carry out a review.
Poscat commented on 2024-11-22 09:19 (UTC)
One solution would be to make the config not readable by non-root users and load it using
LoadCredentialsin the systemd service.everyx commented on 2024-11-19 03:38 (UTC)
@Poscat Since the sing-box user is created by systemd-sysusers, modifying the file group to sing-box within the PKGBUILD should not work. I'm not sure what the best practice is for this type of requirement. Do you have any related suggestions?
Poscat commented on 2024-11-18 09:52 (UTC)
Are there any reasons the default config is readable by anyone? This seems to be a potential security issue :/
everyx commented on 2024-04-14 01:50 (UTC)
@kevku Setting
GOPATH="$SRCDEST/go-modulescan be a helpful solution if they haven't already configured aGOPATH, I will submit an update soon.kevku commented on 2024-04-11 08:36 (UTC)
add gopath to build so that it doesn't pollute your home dir
export GOPATH="$SRCDEST/go-modules"rocka commented on 2024-02-03 10:34 (UTC)
When using tun inbound with systemd-resolved, sing-box would execute
resolvectlcommands to modify default DNS route and search domain, butsing-boxuser does not have this privilege.ref: https://github.com/SagerNet/sing-box/issues/477 https://github.com/SagerNet/sing-tun/blob/38c945fec5df642b1ee0895c5c3a75a3f1276341/tun_linux.go#L821-L824
I suggest install a polkit rule file to
/usr/share/polkit-1/rules.d/sing-box-tun.rules:This would allow
sing-boxuser to modify systemd-resolved DNS configuration without manual authorization.1 2 3 4 Next › Last »