Compare commits

..

73 Commits

Author SHA1 Message Date
世界
50384bd0b0
documentation: Bump version 2025-04-17 18:20:21 +08:00
世界
741befc297
documentation: Try to make the play review happy 2025-04-17 18:20:21 +08:00
世界
d3233a3267
Fix missing handling of legacy domain_strategy options 2025-04-17 18:20:20 +08:00
世界
470f1cf419
Improve local DNS server 2025-04-17 18:20:20 +08:00
anytls
7a72ee051f
Update anytls
Co-authored-by: anytls <anytls>
2025-04-17 18:20:20 +08:00
世界
3ff130a437
Fix DNS dialer 2025-04-17 18:20:20 +08:00
世界
9e5e0a4482
release: Skip override version for iOS 2025-04-17 18:20:19 +08:00
iikira
6d5d86bbcb
Fix UDP DNS server crash
Signed-off-by: iikira <i2@mail.iikira.com>
2025-04-17 18:20:19 +08:00
ReleTor
13eedc2926
Fix fetch ECH configs 2025-04-17 18:20:19 +08:00
世界
1dae8e64df
release: Update Go to 1.24.2 2025-04-17 18:20:18 +08:00
世界
fede7ed3c7
Allow direct outbounds without domain_resolver 2025-04-17 18:20:18 +08:00
世界
90fe2ea861
Fix Tailscale dialer 2025-04-17 18:20:18 +08:00
dyhkwong
512d516da0
Fix DNS over QUIC stream close 2025-04-17 18:20:18 +08:00
anytls
bad31b5eeb
Update anytls
Co-authored-by: anytls <anytls>
2025-04-17 18:20:17 +08:00
Rambling2076
df01484ff7
Fix missing with_tailscale in Dockerfile
Signed-off-by: Rambling2076 <Rambling2076@proton.me>
2025-04-17 18:20:17 +08:00
世界
d0b743378f
Fail when default DNS server not found 2025-04-17 18:20:17 +08:00
世界
7f4c37a3bb
Update gVisor to 20250319.0 2025-04-17 18:20:16 +08:00
世界
1fae8e681b
release: Do not build tailscale on iOS and tvOS 2025-04-17 18:20:16 +08:00
世界
82a08d1d33
Explicitly reject detour to empty direct outbounds 2025-04-17 18:20:16 +08:00
世界
efffd70a00
Add netns support 2025-04-17 18:20:15 +08:00
世界
d514873b08
Add wildcard name support for predefined records 2025-04-17 18:20:15 +08:00
世界
945106f7f0
Remove map usage in options 2025-04-17 18:20:15 +08:00
世界
a669b30683
Fix unhandled DNS loop 2025-04-17 18:20:14 +08:00
世界
5f3a9ace86
Add wildcard-sni support for shadow-tls inbound 2025-04-17 18:20:14 +08:00
世界
91572dbca1
Fix Tailscale DNS 2025-04-17 18:20:14 +08:00
k9982874
f0b2a8d6e3
Add ntp protocol sniffing 2025-04-17 18:20:13 +08:00
世界
37e3641693
option: Fix marshal legacy DNS options 2025-04-17 18:20:13 +08:00
世界
258a3a5347
Make domain_resolver optional when only one DNS server is configured 2025-04-17 18:20:12 +08:00
世界
a0cd0f86b0
Fix DNS lookup context pollution 2025-04-17 18:20:12 +08:00
世界
fe7657c72b
Fix http3 DNS server connecting to wrong address 2025-04-17 18:20:12 +08:00
Restia-Ashbell
4e7934e37d
documentation: Fix typo 2025-04-17 18:20:11 +08:00
anytls
b4e6a76ba8
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-04-17 18:20:11 +08:00
k9982874
362b423594
Fix hosts DNS server 2025-04-17 18:20:11 +08:00
世界
85b2e5f19b
Fix UDP DNS server crash 2025-04-17 18:20:11 +08:00
世界
68f0d36b73
documentation: Fix missing ip_accept_any DNS rule option 2025-04-17 18:20:10 +08:00
世界
70587ea391
Fix anytls dialer usage 2025-04-17 18:20:10 +08:00
世界
ed0177812e
Move predefined DNS server to rule action 2025-04-17 18:20:10 +08:00
世界
0fdcfcbc1a
Fix domain resolver on direct outbound 2025-04-17 18:20:10 +08:00
Zephyruso
bcd581ac2f
Fix missing AnyTLS display name 2025-04-17 18:20:09 +08:00
anytls
3609613eb8
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-04-17 18:20:09 +08:00
Estel
1e45d84e6b
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-04-17 18:20:08 +08:00
TargetLocked
033a9c005c
Fix parsing legacy DNS options 2025-04-17 18:20:08 +08:00
世界
8cd809851f
Fix DNS fallback 2025-04-17 18:20:08 +08:00
世界
389d58d0f5
documentation: Fix missing hosts DNS server 2025-04-17 18:20:07 +08:00
anytls
b1993f9795
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-04-17 18:20:07 +08:00
ReleTor
962ecdc9af
documentation: Minor fixes 2025-04-17 18:20:06 +08:00
libtry486
64b7997953
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-04-17 18:20:06 +08:00
Alireza Ahmadi
b549b09d5d
Fix Outbound deadlock 2025-04-17 18:20:06 +08:00
世界
d7c69ace25
documentation: Fix AnyTLS doc 2025-04-17 18:20:06 +08:00
anytls
4c6108ad02
Add AnyTLS protocol 2025-04-17 18:20:06 +08:00
世界
6cd6a37692
Migrate to stdlib ECH support 2025-04-17 18:20:05 +08:00
世界
3af95a1450
Add fallback local DNS server for iOS 2025-04-17 18:20:05 +08:00
世界
d62388e0ae
Get darwin local DNS server from libresolv 2025-04-17 18:20:04 +08:00
世界
70cdda33ff
Improve resolve action 2025-04-17 18:20:04 +08:00
世界
bc8f8df4ca
Fix toolchain version 2025-04-17 18:20:04 +08:00
世界
7eb1e36fd2
Add back port hopping to hysteria 1 2025-04-17 18:20:03 +08:00
世界
0ec336f57c
Update dependencies 2025-04-17 18:20:03 +08:00
xchacha20-poly1305
b6b3159c5f
Remove single quotes of raw Moziila certs 2025-04-17 18:20:03 +08:00
世界
d947db6a47
Add Tailscale endpoint 2025-04-17 18:20:03 +08:00
世界
d003b43d8b
Build legacy binaries with latest Go 2025-04-17 18:20:02 +08:00
世界
6ae57918a1
documentation: Remove outdated icons 2025-04-17 18:20:02 +08:00
世界
403969288a
documentation: Certificate store 2025-04-17 18:20:01 +08:00
世界
eed125f882
documentation: TLS fragment 2025-04-17 18:20:01 +08:00
世界
7683a96e99
documentation: Outbound domain resolver 2025-04-17 18:20:01 +08:00
世界
488f873f51
documentation: Refactor DNS 2025-04-17 18:20:00 +08:00
世界
1639cc11c9
Add certificate store 2025-04-17 18:19:59 +08:00
世界
80eba20f97
Add TLS fragment support 2025-04-17 18:19:59 +08:00
世界
0b92750dd8
refactor: Outbound domain resolver 2025-04-17 18:19:59 +08:00
世界
22bf2ed303
refactor: DNS 2025-04-17 18:19:59 +08:00
世界
eaad23b256
Bump version 2025-04-17 10:12:52 +08:00
世界
a17e8cb670
Fix urltest outbound 2025-04-17 10:12:52 +08:00
世界
02f88db709
Fix wireguard endpoint 2025-04-17 10:12:52 +08:00
世界
d6f9414c2d
release: Add openwrt packages 2025-04-17 10:12:52 +08:00

View File

@ -1,4 +1,6 @@
#!/bin/sh
#!/bin/bash
set -xeuo pipefail
download_beta=false
download_version=""
@ -49,49 +51,37 @@ else
fi
if [[ -z "$download_version" ]]; then
header=""
if [ -n "$GITHUB_TOKEN" ]; then
header="-H \"Authorization: token $GITHUB_TOKEN\""
fi
if [[ "$download_beta" != 'true' ]]; then
if [[ -n "$GITHUB_TOKEN" ]]; then
latest_release=$(curl -s --fail-with-body -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/SagerNet/sing-box/releases/latest)
download_version=$(curl -s --fail-with-body "$header" https://api.github.com/repos/SagerNet/sing-box/releases/latest |
grep tag_name |
cut -d ":" -f2 |
sed 's/\"//g;s/\,//g;s/\ //g;s/v//')
else
latest_release=$(curl -s --fail-with-body https://api.github.com/repos/SagerNet/sing-box/releases/latest)
fi
curl_exit_status=$?
if [[ $curl_exit_status -ne 0 ]]; then
echo "$latest_release"
exit $?
fi
download_version=$(echo "$latest_release" | grep tag_name | cut -d ":" -f2 | sed 's/\"//g;s/\,//g;s/\ //g;s/v//')
else
if [[ -n "$GITHUB_TOKEN" ]]; then
latest_release=$(curl -s --fail-with-body -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/SagerNet/sing-box/releases)
else
latest_release=$(curl -s --fail-with-body https://api.github.com/repos/SagerNet/sing-box/releases)
fi
curl_exit_status=$?
if [[ $? -ne 0 ]]; then
echo "$latest_release"
exit $?
fi
download_version=$(echo "$latest_release" | grep tag_name | head -n 1 | cut -d ":" -f2 | sed 's/\"//g;s/\,//g;s/\ //g;s/v//')
download_version=$(curl -s --fail-with-body "$header" https://api.github.com/repos/SagerNet/sing-box/releases |
grep tag_name |
head -n 1 |
cut -d ":" -f2 |
sed 's/\"//g;s/\,//g;s/\ //g;s/v//')
fi
fi
package_name="sing-box_${download_version}_${os}_${arch}${package_suffix}"
package_url="https://github.com/SagerNet/sing-box/releases/download/v${download_version}/${package_name}"
echo "Downloading $package_url"
if [[ -n "$GITHUB_TOKEN" ]]; then
curl --fail-with-body -Lo "$package_name" -H "Authorization: token ${GITHUB_TOKEN}" "$package_url"
else
curl --fail-with-body -Lo "$package_name" "$package_url"
fi
if [[ $? -ne 0 ]]; then
exit $?
fi
curl --fail-with-body -Lo "$package_name" "$package_url"
if [[ $(command -v sudo) ]]; then
package_install="sudo $package_install"
fi
echo "$package_install $package_name" && $package_install "$package_name" && rm "$package_name"
echo "$package_install $package_name"
$package_install "$package_name"
rm "$package_name"