Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
395 commits
Select commit Hold shift + click to select a range
9f53ea7
new: add multiport support for mieru
hiddify-com Feb 15, 2026
08facee
disable build of all arch
hiddify-com Feb 15, 2026
3487867
add mieru options more compatible with original one
hiddify-com Feb 15, 2026
10c4df8
faster CI
hiddify-com Feb 15, 2026
485c9e5
new: use independent outbounds for udp and tcp
hiddify-com Feb 15, 2026
c075ae9
better wireguard availblity check
hiddify-com Feb 15, 2026
ae77c2e
fix: issues
hiddify-com Feb 15, 2026
1a057b7
fix: bug
hiddify-com Feb 15, 2026
d1403d0
add MTU support for warp
hiddify-com Feb 19, 2026
f9c259d
fix: udp connection timeout
hiddify-com Mar 5, 2026
0a02b77
new: add dnstt outbound
hiddify-com Mar 5, 2026
9d59589
new: update to vaydn 0.2.5 with auto search
hiddify-com Mar 29, 2026
e0678b6
new: dnstt multi resolver
hiddify-com Apr 1, 2026
6b270b7
new:default use of multi resolver
hiddify-com Apr 1, 2026
3a1c923
use predefined dns server first then search
hiddify-com Apr 1, 2026
72a039a
Add MAC and hostname rule items
nekohasekai Mar 3, 2026
df806c9
Add Android support for MAC and hostname rule items
nekohasekai Mar 4, 2026
129396f
Add macOS support for MAC and hostname rule items
nekohasekai Mar 6, 2026
284c4d8
documentation: Update descriptions for neighbor rules
nekohasekai Mar 6, 2026
986de07
Refactor ACME support to certificate provider
nekohasekai Mar 23, 2026
a456393
Add BBR profile and hop interval randomization for Hysteria2
nekohasekai Mar 30, 2026
d4dacfc
platform: Add OOM Report & Crash Report
nekohasekai Apr 2, 2026
e4450ec
Also enable certificate store by default on Apple platforms
nekohasekai Apr 7, 2026
c208f4a
Add evaluate DNS rule action and related rule items
nekohasekai Apr 7, 2026
6912e27
platform: Fix set local
nekohasekai Apr 7, 2026
16e81c4
Fix deprecated warning double-formatting on localized clients
nekohasekai Apr 7, 2026
fcb43d7
oom-killer: Free memory on pressure notification and use gradual inte…
nekohasekai Apr 7, 2026
3769ad4
tools: Network Quality & STUN
nekohasekai Apr 8, 2026
47f09c9
platform: Fix darwin signal handler
nekohasekai Apr 9, 2026
d70bfb9
tools: Tailscale status
nekohasekai Apr 9, 2026
90c342e
Revert "Also enable certificate store by default on Apple platforms"
nekohasekai Apr 9, 2026
f72c4c1
Fix rules lock
nekohasekai Apr 9, 2026
32a34ef
Fix darwin local DNS transport
nekohasekai Apr 10, 2026
c80f4ad
tools: Tailscale status
nekohasekai Apr 10, 2026
e80b662
Un-deprecate `ip_accept_any` DNS rule item
nekohasekai Apr 10, 2026
5393025
documentation: Fixes
nekohasekai Apr 10, 2026
49704b4
Add `package_name_regex` route, DNS and headless rule item
nekohasekai Apr 10, 2026
1b5fd56
platform: Wrap command RPC error returns with E.Cause
nekohasekai Apr 10, 2026
34fdc29
Fix lint errors
nekohasekai Apr 10, 2026
00adb23
Add cloudflared inbound
nekohasekai Apr 10, 2026
83c6793
documentation: Fix missing update for `ip_version` and `query_type`
nekohasekai Apr 10, 2026
bf3454e
Fix stun test
nekohasekai Apr 10, 2026
845e94d
Fix darwin cgo DNS again
nekohasekai Apr 10, 2026
d89783b
Fix tailscale error
nekohasekai Apr 11, 2026
ca63351
Add optimistic DNS cache
nekohasekai Apr 11, 2026
a6fd060
oom-killer: Record report before reset network
nekohasekai Apr 14, 2026
4fdfda2
Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines
nekohasekai Apr 14, 2026
baa5556
Standardize hosts path
nekohasekai Apr 15, 2026
f2cf356
Add TLS spoof support
nekohasekai Apr 15, 2026
6288bb9
Fix legacy rule-set download_detour blocked by empty direct check
nekohasekai Apr 15, 2026
147cc00
Reject pure-IP rule-set references without match_response
nekohasekai Apr 15, 2026
ed2ca07
Fix use-after-free of pooled value buffers in bbolt Batch writes
nekohasekai Apr 15, 2026
78aef89
Fix cloudflared quic
nekohasekai Apr 16, 2026
d1cb61e
Reject IP literal server name with TLS spoof
nekohasekai Apr 16, 2026
031a147
Fix macOS tlsspoof
nekohasekai Apr 17, 2026
594a9cd
Scope HTTP/2 fallback and HTTP/3 broken state per authority
nekohasekai Apr 17, 2026
b9235e9
Bump version
nekohasekai Mar 7, 2026
59126c9
Defer implicit default HTTP client fallback to first use
nekohasekai Apr 17, 2026
e98bf30
Strip EDNS padding from upstream DNS responses
nekohasekai Apr 17, 2026
4c01502
Fix Apple TLS metadata capture
nekohasekai Apr 18, 2026
beaa6bd
Fix tls-spoof
nekohasekai Apr 17, 2026
baaedc7
sing: Fix interface finder
nekohasekai Apr 18, 2026
6ae8461
Bump version
nekohasekai Apr 18, 2026
88f640c
new dnstt transport
hiddify-com Feb 9, 2026
3d9d633
fix workflow
hiddify-com Feb 9, 2026
b0e5b76
fix workflow
hiddify-com Feb 9, 2026
2ee1e43
add v2raybuild
hiddify-com Feb 9, 2026
3153bf2
fix
hiddify-com Feb 9, 2026
67f0bc4
fix connection temporary
hiddify-com Feb 10, 2026
c872b3e
add cache timeout
hiddify-com Feb 10, 2026
05b9ed1
add easier replace version management
hiddify-com Feb 12, 2026
fff4d88
fix workflow
hiddify-com Feb 12, 2026
09c4c0e
fix: dependency to cache in monitoring
hiddify-com Feb 12, 2026
dd0989d
fix: set retention days for uploaded builds
hiddify-com Feb 12, 2026
6f13b1a
new: better dependency monitoring, better warp availblity check and b…
hiddify-com Feb 13, 2026
7c16eba
new: ssh inbound with uot support
hiddify-com Feb 15, 2026
74f18f6
new: add multiport support for mieru
hiddify-com Feb 15, 2026
8a7e1a0
disable build of all arch
hiddify-com Feb 15, 2026
d7d6110
add mieru options more compatible with original one
hiddify-com Feb 15, 2026
be7b1c4
faster CI
hiddify-com Feb 15, 2026
7fedc7f
new: use independent outbounds for udp and tcp
hiddify-com Feb 15, 2026
9985da3
better wireguard availblity check
hiddify-com Feb 15, 2026
c0cfc27
fix: issues
hiddify-com Feb 15, 2026
8f52ecb
fix: bug
hiddify-com Feb 15, 2026
b93a104
add MTU support for warp
hiddify-com Feb 19, 2026
161f477
fix: udp connection timeout
hiddify-com Mar 5, 2026
dd90da0
new: add dnstt outbound
hiddify-com Mar 5, 2026
5eec676
new: update to vaydn 0.2.5 with auto search
hiddify-com Mar 29, 2026
6b8e9af
new: dnstt multi resolver
hiddify-com Apr 1, 2026
110f89c
new:default use of multi resolver
hiddify-com Apr 1, 2026
2e42cab
use predefined dns server first then search
hiddify-com Apr 1, 2026
eac533a
Merge upstream sing-box v1.14.0-alpha.14 into extended
QuantIntellect Apr 20, 2026
9ab1be8
fix: remove duplicate Endpoint() method in box.go
QuantIntellect Apr 20, 2026
5a42b25
fix: resolve build errors from upstream merge
QuantIntellect Apr 20, 2026
92130db
fix: add replace directives to test module
QuantIntellect Apr 20, 2026
3e74869
feat(service): add smart_dns_pool — local DNS server fronting many up…
Apr 27, 2026
667e621
chore(deps): bump hmrd_multi_resolver_dns to post-PR#4 main tip
Apr 27, 2026
034dc90
Merge upstream/extended into merge-upstream-v1.14.0-alpha.14
claude Apr 29, 2026
79bfc31
Merge pull request #1 from QuantIntellect/claude/resolve-merge-confli…
QuantIntellect Apr 29, 2026
3ceadb0
Merge pull request #18 from QuantIntellect/merge-upstream-v1.14.0-alp…
hiddify-com Apr 29, 2026
2d8f97b
feat: add GooseRelay outbound under protocol/hiddify/gooserelay
QuantIntellect Apr 29, 2026
6bc48c0
style(constant): re-align //H comment column after adding TypeGooseRelay
QuantIntellect Apr 29, 2026
c7cf64d
refactor(gooserelay): rename defaultHandshakeBudget to defaultDiagnos…
QuantIntellect Apr 29, 2026
8bf7a0a
fix(gooserelay): check tunnel_key length before attempting hex decode
QuantIntellect Apr 29, 2026
25a163d
fix(gooserelay): reject script_keys containing URL separators
QuantIntellect Apr 29, 2026
bccd6e7
feat(dnstt): route resolvers through hmrd_multi_resolver_dns smart pool
QuantIntellect Apr 29, 2026
1a01efb
refactor(gooserelay): use context-aware logger methods
QuantIntellect Apr 29, 2026
63f71e4
fix(gooserelay): tie diagnose probe to runCtx so Close cancels it
QuantIntellect Apr 29, 2026
fbd73fb
feat(gooserelay): probe all script_keys concurrently, ready on first …
QuantIntellect Apr 29, 2026
71acba5
test(gooserelay): add option-validation table tests
QuantIntellect Apr 29, 2026
a73acd5
refactor(gooserelay): switch to upstream's goose SDK package
QuantIntellect Apr 29, 2026
e30f158
Merge pull request #21 from QuantIntellect/claude/inspiring-turing-9e…
hiddify-com Apr 29, 2026
443bec7
Add MAC and hostname rule items
nekohasekai Mar 3, 2026
9e548cb
Add Android support for MAC and hostname rule items
nekohasekai Mar 4, 2026
d0fd6f6
Add macOS support for MAC and hostname rule items
nekohasekai Mar 6, 2026
f0a057c
documentation: Update descriptions for neighbor rules
nekohasekai Mar 6, 2026
4c6ff22
Refactor ACME support to certificate provider
nekohasekai Mar 23, 2026
914fc9c
Add BBR profile and hop interval randomization for Hysteria2
nekohasekai Mar 30, 2026
17a63d5
platform: Add OOM Report & Crash Report
nekohasekai Apr 2, 2026
01efb67
Also enable certificate store by default on Apple platforms
nekohasekai Apr 7, 2026
6fa641a
Add evaluate DNS rule action and related rule items
nekohasekai Apr 7, 2026
f294557
platform: Fix set local
nekohasekai Apr 7, 2026
b9ac437
Fix deprecated warning double-formatting on localized clients
nekohasekai Apr 7, 2026
3cfbfbb
oom-killer: Free memory on pressure notification and use gradual inte…
nekohasekai Apr 7, 2026
3b5e8c8
tools: Network Quality & STUN
nekohasekai Apr 8, 2026
11b7ffd
platform: Fix darwin signal handler
nekohasekai Apr 9, 2026
7d382fe
tools: Tailscale status
nekohasekai Apr 9, 2026
c5a3e59
Revert "Also enable certificate store by default on Apple platforms"
nekohasekai Apr 9, 2026
1ee527a
Fix rules lock
nekohasekai Apr 9, 2026
775f683
Fix darwin local DNS transport
nekohasekai Apr 10, 2026
972a035
tools: Tailscale status
nekohasekai Apr 10, 2026
825f86a
Un-deprecate `ip_accept_any` DNS rule item
nekohasekai Apr 10, 2026
39dda9f
documentation: Fixes
nekohasekai Apr 10, 2026
0a9d8f9
Add `package_name_regex` route, DNS and headless rule item
nekohasekai Apr 10, 2026
0dc7d6e
platform: Wrap command RPC error returns with E.Cause
nekohasekai Apr 10, 2026
72f8997
Fix lint errors
nekohasekai Apr 10, 2026
0cc5958
Add cloudflared inbound
nekohasekai Apr 10, 2026
9b44e1b
documentation: Fix missing update for `ip_version` and `query_type`
nekohasekai Apr 10, 2026
914a6c5
Fix stun test
nekohasekai Apr 10, 2026
f7cf93e
Fix darwin cgo DNS again
nekohasekai Apr 10, 2026
b207d37
Fix tailscale error
nekohasekai Apr 11, 2026
6f23a96
Add optimistic DNS cache
nekohasekai Apr 11, 2026
04dc9fc
oom-killer: Record report before reset network
nekohasekai Apr 14, 2026
195e129
Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines
nekohasekai Apr 14, 2026
69f9f02
Standardize hosts path
nekohasekai Apr 15, 2026
227e0ca
Add TLS spoof support
nekohasekai Apr 15, 2026
7fe1f47
Fix legacy rule-set download_detour blocked by empty direct check
nekohasekai Apr 15, 2026
8224f2e
Reject pure-IP rule-set references without match_response
nekohasekai Apr 15, 2026
719a002
Fix use-after-free of pooled value buffers in bbolt Batch writes
nekohasekai Apr 15, 2026
644b9bc
Reject IP literal server name with TLS spoof
nekohasekai Apr 16, 2026
6e59653
Fix macOS tlsspoof
nekohasekai Apr 17, 2026
463d808
Scope HTTP/2 fallback and HTTP/3 broken state per authority
nekohasekai Apr 17, 2026
eedd925
Defer implicit default HTTP client fallback to first use
nekohasekai Apr 17, 2026
596c85a
Strip EDNS padding from upstream DNS responses
nekohasekai Apr 17, 2026
e9bf691
Fix Apple TLS metadata capture
nekohasekai Apr 18, 2026
b656af6
Fix tls-spoof
nekohasekai Apr 17, 2026
6d1803f
Add search domain support for Tailscale DNS
nekohasekai Apr 20, 2026
5f8d846
Log DNS optimistic background refresh outcomes
nekohasekai Apr 21, 2026
a6c4539
Fix Tailscale search domain response name mismatch
nekohasekai Apr 21, 2026
4b9221f
Fix goroutine leak in networkquality tool
nekohasekai Apr 21, 2026
88486da
Add ACME profile support for IP address certificates
nekohasekai Mar 26, 2026
00149d8
Fix ACME HTTP-01 challenge for IPv6 literal addresses
nekohasekai Apr 21, 2026
881736a
platform: Improve oom-killer
nekohasekai Apr 21, 2026
58a318f
Fix darwin cgo DNS again
nekohasekai Apr 22, 2026
77142b6
Fix stderr deprecated manager
nekohasekai Apr 23, 2026
770a0c7
Improve UDP batch support
nekohasekai Apr 24, 2026
d7f4cef
Add Windows TLS engine
nekohasekai Apr 24, 2026
a31244b
tun: Add compatibility with docker bridge
nekohasekai Apr 24, 2026
b268fe0
Preserve comments between formatting
nekohasekai Apr 28, 2026
73fc988
Improve oom-killer
nekohasekai Apr 28, 2026
5d0c132
tun: Add read waiter support for gVisor conn
nekohasekai Apr 28, 2026
19f696d
ssh: Add cipher, MAC, and key exchange configuration
nekohasekai Apr 28, 2026
7b258f2
dns: Add timeout configuration
nekohasekai Apr 28, 2026
3076764
Fix tailscale start dependencies
nekohasekai Apr 28, 2026
d701464
dns: Add neighbor-based hostname resolution to local server
nekohasekai Apr 29, 2026
d02a055
dns: Add preferred_by rule item
nekohasekai Apr 29, 2026
93d3869
dns: Add mDNS server
nekohasekai Apr 30, 2026
ac900b1
Allow customizing TUN DNS mode and hijack interface DNS by default
nekohasekai May 2, 2026
ef06e4c
Add more spoof method
macronut Apr 29, 2026
895bc40
Fix reset network
nekohasekai May 5, 2026
0ce4cbd
Add hysteria2 realm service and support
nekohasekai May 10, 2026
6275582
Update hysteria2 realm
nekohasekai May 11, 2026
5f2bedf
Fix TLS server close
nekohasekai May 12, 2026
81dd85f
realm: Add stun retry and lazy server start
nekohasekai May 12, 2026
588c8ba
Fix hysteria2 realm server
nekohasekai May 12, 2026
21e27a2
Fix lint errors
nekohasekai May 14, 2026
6b07a22
Bump version
nekohasekai Mar 7, 2026
646c7ac
dns: Fix DHCP reset
nekohasekai May 17, 2026
4138054
Rebase wireguard-go to official
nekohasekai May 17, 2026
35cf647
Fix shadowtls handshake
nekohasekai May 17, 2026
27f5835
cronet: Fix vendor package
nekohasekai May 18, 2026
131326f
tun: Fix unprivileged ping conn leak
nekohasekai May 19, 2026
db5fcc6
tun: Fix IPv6 UDP packet leak in system stack
nekohasekai May 19, 2026
0ae672d
oom-killer: Remove log "OOM draft discarded"
nekohasekai May 19, 2026
0a921bb
tun: Handle existing wintun adapter on restart
nekohasekai May 19, 2026
279f815
route: Refetch rule-set when cache restore fails
nekohasekai May 19, 2026
cf06742
process: Fix panic when package manager is unavailable on Android
nekohasekai May 19, 2026
8785b39
tailscale: Revert dialer deprecation and remove control_http_client
nekohasekai May 20, 2026
9f3206d
tailscale: Fix handle peer DNS query
nekohasekai May 20, 2026
bb7405e
gvisor: Fix dialing to self addresses
nekohasekai May 20, 2026
ae9a2a0
realm: Open separate v4 and v6 packet conns on client
nekohasekai May 20, 2026
b5ac202
Update Go to 1.25.10
nekohasekai May 20, 2026
e7891c9
Fix tailscale
nekohasekai May 21, 2026
f3458a9
tailscale: Add runtime exit node API
nekohasekai May 21, 2026
b37b6b1
tailscale: Expose more peer info fields
nekohasekai May 21, 2026
9bc35c4
Fix tailscale dns
nekohasekai May 21, 2026
33dfec2
sing: Fix comment loop
nekohasekai May 22, 2026
812a8fd
Bump version
nekohasekai May 20, 2026
72ce97f
tun: Revert bad changes
nekohasekai May 24, 2026
3488377
daemon: Add Tailssh
nekohasekai May 25, 2026
87c36ab
hysteria2: Add gecko obfs
nekohasekai May 25, 2026
0b5eea7
tools: Fix mising cleanup
nekohasekai May 26, 2026
a99fe60
release: Fix android build
nekohasekai May 26, 2026
b6c416b
Bump version
nekohasekai May 25, 2026
d28365c
Merge branch 'extended' into feat/smart-dns-pool-service
hiddify-com May 28, 2026
2f648d7
Merge pull request #20 from hiddifyafk/feat/smart-dns-pool-service
hiddify-com May 28, 2026
7196f71
Merge branch 'extended' into claude/exciting-williams-e000eb
hiddify-com May 28, 2026
d755577
Merge pull request #22 from hiddifyafk/claude/exciting-williams-e000eb
hiddify-com May 28, 2026
fcde603
merge: integrate SagerNet sing-box testing into hiddify extended fork
hiddify-com May 29, 2026
7d0cda4
fix: restore hiddify constants and sync upstream sing module versions…
hiddify-com May 29, 2026
9ba51e1
fix: restore upstream core platform code lost in merge
hiddify-com May 29, 2026
61de8d9
fix: align connection handler API with upstream sing-box testing
hiddify-com May 29, 2026
15e87a4
fix: sync DNS adapter, certificate store, and local transport with up…
hiddify-com May 29, 2026
766c603
fix: restore Tailscale adapter types and daemon gRPC from upstream
hiddify-com May 29, 2026
820f7b1
fix: restore TLSSpoof inbound context fields from upstream testing
hiddify-com May 29, 2026
b820335
feat: keep hiddify config options after upstream merge
hiddify-com May 29, 2026
9805b32
fix: extend cachefile and traffic stats for hiddify without breaking …
hiddify-com May 29, 2026
ea859ad
Add Snell protocol
reF1nd May 22, 2026
fe61219
Add simple-obfs support for shadowsocks inbound
reF1nd May 22, 2026
cb86e6e
Add vless encryption
shtorm-7 Feb 26, 2026
0dabac4
Update xhttp
shtorm-7 Feb 22, 2026
b56e6cd
Update xhttp examples
shtorm-7 Feb 22, 2026
68751a2
Add examples
shtorm-7 Feb 26, 2026
3020f37
Fix examples
shtorm-7 Feb 26, 2026
324e3bf
feat: add MASQUE outbound protocol from sing-box-extended
hiddify-com May 29, 2026
acc50b4
fix: integrate MASQUE and VLESS merges with hiddify fork APIs
hiddify-com May 29, 2026
b6020d0
chore: add and fix example configs with validation script
hiddify-com May 29, 2026
09088b9
add amnezia, warp with amnezia
hiddify-com May 31, 2026
e3bef92
update sum
hiddify-com May 31, 2026
343b254
fix: remove clients/android + clients/apple gitlinks (broken submodules)
veto9292 Jul 4, 2026
170d831
Merge pull request #27 from veto9292/testing-merge-base
hiddify-com Jul 5, 2026
a5d0cb4
feat(firebasetunnel): port Firebase REST client and chunk relay core
hiddifydeveloper Jun 29, 2026
b8a2b0e
feat(firebasetunnel): add client/server endpoints and register them
hiddifydeveloper Jun 29, 2026
5acc029
test(firebasetunnel): add unit tests for compress, crypto, and session
hiddifydeveloper Jun 29, 2026
23e2987
security(firebasetunnel): HMAC integrity + session-ID AAD binding
hiddifydeveloper Jun 29, 2026
38de6c8
test(firebasetunnel): SSE fake server, E2E relay tests, fuzz targets
hiddifydeveloper Jun 29, 2026
63e7b30
refactor(firebasetunnel): merge client/server into single Endpoint type
hiddifydeveloper Jun 30, 2026
328d033
fix(firebasetunnel): fix endpoint_test field name after Endpoint refa…
hiddifydeveloper Jul 6, 2026
428fdbb
fix(firebasetunnel): replace init+panic in compress.go with lazy sync…
hiddifydeveloper Jul 11, 2026
fed3e59
refactor(firebasetunnel): split into proper inbound/outbound pattern
hiddifydeveloper Jul 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CRONET_GO_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2faf34666c2cc8234f10f2ab6d4c4d6104d34ae2
b3eec8134aec1387d850e0671dd8531e2e6140b0
2 changes: 1 addition & 1 deletion .github/setup_go_for_macos1013.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

VERSION="1.25.9"
VERSION="1.25.10"
PATCH_COMMITS=(
"afe69d3cec1c6dcf0f1797b20546795730850070"
"1ed289b0cf87dc5aae9c6fe1aa5f200a83412938"
Expand Down
2 changes: 1 addition & 1 deletion .github/setup_go_for_windows7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

VERSION="1.25.9"
VERSION="1.25.10"
PATCH_COMMITS=(
"466f6c7a29bc098b0d4c987b803c779222894a11"
"1bdabae205052afe1dadb2ad6f1ba612cdbc532a"
Expand Down
1,279 changes: 612 additions & 667 deletions .github/workflows/build.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.25.9
go-version: ~1.25.10
- name: Clone cronet-go
if: matrix.naive
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.25.9
go-version: ~1.25.10
- name: Check input version
if: github.event_name == 'workflow_dispatch'
run: |-
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.25.9
go-version: ~1.25.10
- name: Clone cronet-go
if: matrix.naive
run: |
Expand Down Expand Up @@ -216,6 +216,7 @@ jobs:
with:
name: binary-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.legacy_go && '-legacy' || '' }}
path: "dist"
retention-days: 1
upload:
name: Upload builds
runs-on: ubuntu-latest
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Test

on:
push:
branches:
- stable
- testing
- unstable
paths-ignore:
- '**.md'
- '.github/**'
- '!.github/workflows/test.yml'
pull_request:
branches:
- stable
- testing
- unstable

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}-${{ inputs.build }}
cancel-in-progress: true

jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
go:
- ~1.24
- ~1.25
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Set build tags and ldflags
shell: bash
run: |
echo "BUILD_TAGS=$(cat release/DEFAULT_BUILD_TAGS_OTHERS)" >> "$GITHUB_ENV"
echo "LDFLAGS_SHARED=$(cat release/LDFLAGS)" >> "$GITHUB_ENV"
- name: Test (unix)
if: matrix.os != 'windows-latest'
run: go test -v -exec sudo -tags "$BUILD_TAGS" -ldflags "$LDFLAGS_SHARED" ./...
- name: Test (windows)
if: matrix.os == 'windows-latest'
shell: bash
run: go test -v -tags "$BUILD_TAGS" -ldflags "$LDFLAGS_SHARED" ./...
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
_htest/
/data/*
*.log
*.db
/.idea/
/vendor/
/*.json
Expand Down
18 changes: 12 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[submodule "clients/apple"]
path = clients/apple
url = https://github.com/SagerNet/sing-box-for-apple.git
[submodule "clients/android"]
path = clients/android
url = https://github.com/SagerNet/sing-box-for-android.git
[submodule "replace/tailscale"]
path = replace/tailscale
url = git@github.com:hiddify/tailscale
[submodule "replace/psiphon-quic-go"]
path = replace/psiphon-quic-go
url = git@github.com:hiddify/psiphon-quic-go
[submodule "replace/psiphon-tls"]
path = replace/psiphon-tls
url = git@github.com:hiddify/psiphon-tls
[submodule "replace/wireguard-go"]
path = replace/wireguard-go
url = git@github.com:hiddify/wireguard-go
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ linters:
default: none
enable:
- ineffassign
- paralleltest
- staticcheck
- unused
- modernize
Expand Down
29 changes: 9 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME = sing-box
COMMIT = $(shell git rev-parse --short HEAD)
TAGS ?= $(shell cat release/DEFAULT_BUILD_TAGS_OTHERS)
TAGS ?= with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale,with_ccm,with_ocm,badlinkname,tfogo_checklinkname0,with_grpc,with_awg

GOHOSTOS = $(shell go env GOHOSTOS)
GOHOSTARCH = $(shell go env GOHOSTARCH)
Expand Down Expand Up @@ -36,17 +36,23 @@ install:
go build -o $(PREFIX)/bin/$(NAME) $(MAIN_PARAMS) $(MAIN)

fmt:
@golangci-lint fmt
@gofumpt -l -w .
@gofmt -s -w .
@gci write --custom-order -s standard -s "prefix(github.com/sagernet/)" -s "default" .

fmt_docs:
go run ./cmd/internal/format_docs

fmt_install:
go install -v mvdan.cc/gofumpt@latest
go install -v github.com/daixiang0/gci@latest

lint:
GOOS=linux golangci-lint run ./...
GOOS=android golangci-lint run ./...
GOOS=windows golangci-lint run ./...
GOOS=darwin golangci-lint run ./...
# GOOS=freebsd golangci-lint run ./...
# GOOS=freebsd golangci-lint run ./...

lint_install:
go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
Expand Down Expand Up @@ -168,31 +174,14 @@ upload_macos_pkg:
ghr --replace --draft --prerelease "v${VERSION}" "dist/SFM/SFM-${VERSION}-Intel.pkg"
ghr --replace --draft --prerelease "v${VERSION}" "dist/SFM/SFM-${VERSION}-Universal.pkg"

replace_macos_pkg:
mkdir -p dist/SFM
cp ../sing-box-for-apple/build/SFM-Apple.pkg "dist/SFM/SFM-${VERSION}-Apple.pkg"
cp ../sing-box-for-apple/build/SFM-Intel.pkg "dist/SFM/SFM-${VERSION}-Intel.pkg"
cp ../sing-box-for-apple/build/SFM-Universal.pkg "dist/SFM/SFM-${VERSION}-Universal.pkg"
ghr --replace "v${VERSION}" "dist/SFM/SFM-${VERSION}-Apple.pkg"
ghr --replace "v${VERSION}" "dist/SFM/SFM-${VERSION}-Intel.pkg"
ghr --replace "v${VERSION}" "dist/SFM/SFM-${VERSION}-Universal.pkg"

upload_macos_dsyms:
mkdir -p dist/SFM
cd ../sing-box-for-apple/build/SFM.System-universal.xcarchive && zip -r SFM.dSYMs.zip dSYMs
cp ../sing-box-for-apple/build/SFM.System-universal.xcarchive/SFM.dSYMs.zip "dist/SFM/SFM-${VERSION}.dSYMs.zip"
ghr --replace --draft --prerelease "v${VERSION}" "dist/SFM/SFM-${VERSION}.dSYMs.zip"

replace_macos_dsyms:
mkdir -p dist/SFM
cd ../sing-box-for-apple/build/SFM.System-universal.xcarchive && zip -r SFM.dSYMs.zip dSYMs
cp ../sing-box-for-apple/build/SFM.System-universal.xcarchive/SFM.dSYMs.zip "dist/SFM/SFM-${VERSION}.dSYMs.zip"
ghr --replace "v${VERSION}" "dist/SFM/SFM-${VERSION}.dSYMs.zip"

release_macos_standalone: build_macos_pkg notarize_macos_pkg upload_macos_pkg upload_macos_dsyms

replace_macos_standalone: build_macos_pkg notarize_macos_pkg upload_macos_pkg upload_macos_dsyms

build_tvos:
cd ../sing-box-for-apple && \
rm -rf build/SFT.xcarchive && \
Expand Down
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# sing-box
# sing-box-extended

The universal proxy platform.
Sing-box with extended features.

[![Packaging status](https://repology.org/badge/vertical-allrepos/sing-box.svg)](https://repology.org/project/sing-box/versions)
## Features

## Documentation
* Amnezia 1.5
* WARP
* Tunneling
* Mieru
* XHTTP
* SDNS (DNSCrypt)
* Extended Wireguard options
* Unified delay

https://sing-box.sagernet.org
## Examples

https://github.com/shtorm-7/sing-box-extended/tree/extended/examples

## License

Expand All @@ -28,4 +37,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

In addition, no derivative work may use the name or imply association
with this application without prior consent.
```
```
1 change: 1 addition & 0 deletions adapter/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
type CertificateStore interface {
LifecycleService
Pool() *x509.CertPool
ExclusiveAnchors() bool
}

func RootPoolFromContext(ctx context.Context) *x509.CertPool {
Expand Down
21 changes: 21 additions & 0 deletions adapter/certificate/adapter.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package certificate

type Adapter struct {
providerType string
providerTag string
}

func NewAdapter(providerType string, providerTag string) Adapter {
return Adapter{
providerType: providerType,
providerTag: providerTag,
}
}

func (a *Adapter) Type() string {
return a.providerType
}

func (a *Adapter) Tag() string {
return a.providerTag
}
Loading