Package Details: sing-box 1.8.11-1

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: custom:GPL-3.0-or-later WITH name use or association addition
Conflicts: sing-box-beta, sing-box-git
Submitter: everyx
Maintainer: everyx (lilac)
Last Packager: everyx
Votes: 9
Popularity: 0.76
First Submitted: 2022-09-15 09:44 (UTC)
Last Updated: 2024-04-09 00:35 (UTC)

Dependencies (3)

Required by (6)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

everyx commented on 2024-04-14 01:50 (UTC)

add gopath to build so that it doesn't pollute your home dir export GOPATH="$SRCDEST/go-modules"

@kevku Setting GOPATH="$SRCDEST/go-modules can be a helpful solution if they haven't already configured a GOPATH, 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 resolvectl commands to modify default DNS route and search domain, but sing-box user 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:

// Allow sing-box to set domain and default-route
polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.resolve1.set-domains" ||
         action.id == "org.freedesktop.resolve1.set-default-route" ||
         action.id == "org.freedesktop.resolve1.set-dns-servers") &&
        subject.user == "sing-box") {
        return polkit.Result.YES;
    }
});

This would allow sing-box user to modify systemd-resolved DNS configuration without manual authorization.

Merrkry commented on 2024-01-12 11:17 (UTC)

sing-box 的默认构建标记已经包含 with_dhcp,请求添加。

Zes4Null commented on 2023-10-18 03:20 (UTC)

能否为ech添加支持 ECH is not included in this build, rebuild with -tags with_ech

everyx commented on 2023-09-27 06:24 (UTC)

sing-box 有 completion 命令用于生成自动补全,可以用一下

参考 Termux 的 sing-box(但是考虑交叉编译的话得 go run 而不是拿 binary 跑?不是很懂 go)

@Henry-ZHR 已加入 completions

Henry-ZHR commented on 2023-09-27 04:49 (UTC)

sing-box 有 completion 命令用于生成自动补全,可以用一下

参考 Termux 的 sing-box(但是考虑交叉编译的话得 go run 而不是拿 binary 跑?不是很懂 go)

everyx commented on 2023-06-30 03:14 (UTC)

One or more files did not pass the validity check 我这边下载到的 *.tar.gz 的 sha256 是 e89ffdadf11d4b34d12b2c0659efea0f0786b2396ea4638c61a06e7772783ca5,不知道是不是上游换了

@Henry-ZHR 我刚看了一下,的确是变了,已更新

Henry-ZHR commented on 2023-06-29 15:52 (UTC) (edited on 2023-06-29 15:52 (UTC) by Henry-ZHR)

One or more files did not pass the validity check

我这边下载到的 *.tar.gz 的 sha256 是 e89ffdadf11d4b34d12b2c0659efea0f0786b2396ea4638c61a06e7772783ca5,不知道是不是上游换了