Compare commits

..

95 Commits

Author SHA1 Message Date
renovate[bot]
34bf524bda
[dependencies] Update golangci/golangci-lint-action action to v8 2025-05-20 10:27:46 +00:00
世界
00bb5a292d
documentation: Bump version 2025-05-20 18:27:07 +08:00
世界
4f425e13aa
Add SSM API service 2025-05-20 18:24:52 +08:00
世界
bdc008c8ce
Add resolved service and DNS server 2025-05-20 18:24:51 +08:00
世界
cd262b9893
Add DERP service 2025-05-20 18:24:51 +08:00
世界
534856d2ff
Add service component type 2025-05-20 18:24:51 +08:00
世界
2aaa72ae61
Fix tproxy tcp control 2025-05-20 18:24:51 +08:00
愚者
41766cfab4
release: Fix build tags for android
Signed-off-by: 愚者 <11926619+FansChou@users.noreply.github.com>
2025-05-20 18:24:51 +08:00
世界
940d313e4c
prevent creation of bind and mark controls on unsupported platforms 2025-05-20 18:24:50 +08:00
PuerNya
6ae911a704
documentation: Fix description of reject DNS action behavior 2025-05-20 18:24:50 +08:00
Restia-Ashbell
2e9cfd8198
Fix TLS record fragment 2025-05-20 18:24:50 +08:00
世界
28f29b8b01
Add missing accept_routes option for Tailscale 2025-05-20 18:24:50 +08:00
世界
1cca8e4e01
Add TLS record fragment support 2025-05-20 18:24:49 +08:00
世界
6900de4093
release: Update Go to 1.24.3 2025-05-20 18:24:49 +08:00
世界
90e2ac8ee6
Fix set edns0 client subnet 2025-05-20 18:24:49 +08:00
世界
7ff28ce451
Update minor dependencies 2025-05-20 18:24:49 +08:00
世界
d581b295aa
Update certmagic and providers 2025-05-20 18:24:49 +08:00
世界
9d8efbcb7a
Update protobuf and grpc 2025-05-20 18:24:48 +08:00
世界
25ec957778
Add control options for listeners 2025-05-20 18:24:48 +08:00
世界
45c1ea7871
Update quic-go to v0.51.0 2025-05-20 18:24:48 +08:00
世界
edb4415169
Update utls to v1.7.2 2025-05-20 18:24:48 +08:00
世界
c9734355f4
Handle EDNS version downgrade 2025-05-20 18:24:48 +08:00
世界
d0a62267a0
documentation: Fix anytls padding scheme description 2025-05-20 18:24:48 +08:00
安容
ecbcbe2544
Report invalid DNS address early 2025-05-20 18:24:47 +08:00
世界
e8b9b2a9df
Fix wireguard listen_port 2025-05-20 18:24:47 +08:00
世界
298f5e66ce
clash-api: Add more meta api 2025-05-20 18:24:47 +08:00
世界
07df84b56b
Fix DNS lookup 2025-05-20 18:24:47 +08:00
世界
4abbaea260
Fix fetch ECH configs 2025-05-20 18:24:47 +08:00
reletor
550cb8d60c
documentation: Minor fixes 2025-05-20 18:24:47 +08:00
caelansar
1a8adc22c2
Fix callback deletion in UDP transport 2025-05-20 18:24:46 +08:00
世界
c964c426ac
documentation: Try to make the play review happy 2025-05-20 18:24:46 +08:00
世界
485798f57f
Fix missing handling of legacy domain_strategy options 2025-05-20 18:24:45 +08:00
世界
001d83acc3
Improve local DNS server 2025-05-20 18:24:45 +08:00
anytls
b516c514e2
Update anytls
Co-authored-by: anytls <anytls>
2025-05-20 18:24:45 +08:00
世界
0c2bcb9acb
Fix DNS dialer 2025-05-20 18:24:45 +08:00
世界
404077cd59
release: Skip override version for iOS 2025-05-20 18:24:44 +08:00
iikira
8988b5221d
Fix UDP DNS server crash
Signed-off-by: iikira <i2@mail.iikira.com>
2025-05-20 18:24:44 +08:00
ReleTor
d189bc4ed1
Fix fetch ECH configs 2025-05-20 18:24:44 +08:00
世界
bbbaca9b73
Allow direct outbounds without domain_resolver 2025-05-20 18:24:44 +08:00
世界
b17c50734c
Fix Tailscale dialer 2025-05-20 18:24:43 +08:00
dyhkwong
5c817a2a50
Fix DNS over QUIC stream close 2025-05-20 18:24:43 +08:00
anytls
9cb11cdd7b
Update anytls
Co-authored-by: anytls <anytls>
2025-05-20 18:24:43 +08:00
Rambling2076
cd5c236433
Fix missing with_tailscale in Dockerfile
Signed-off-by: Rambling2076 <Rambling2076@proton.me>
2025-05-20 18:24:43 +08:00
世界
d1cc0e4486
Fail when default DNS server not found 2025-05-20 18:24:42 +08:00
世界
0cf631a1e1
Update gVisor to 20250319.0 2025-05-20 18:24:42 +08:00
世界
6836e7236a
Explicitly reject detour to empty direct outbounds 2025-05-20 18:24:42 +08:00
世界
e14659298a
Add netns support 2025-05-20 18:24:42 +08:00
世界
f2e49a5ecc
Add wildcard name support for predefined records 2025-05-20 18:24:41 +08:00
世界
809c3f8020
Remove map usage in options 2025-05-20 18:24:41 +08:00
世界
717cfe5dfe
Fix unhandled DNS loop 2025-05-20 18:24:41 +08:00
世界
b2c0a808d5
Add wildcard-sni support for shadow-tls inbound 2025-05-20 18:24:40 +08:00
k9982874
7a5e14ce77
Add ntp protocol sniffing 2025-05-20 18:24:40 +08:00
世界
ec97b71f09
option: Fix marshal legacy DNS options 2025-05-20 18:24:40 +08:00
世界
523d0c01f8
Make domain_resolver optional when only one DNS server is configured 2025-05-20 18:24:40 +08:00
世界
94a4b70e79
Fix DNS lookup context pollution 2025-05-20 18:24:39 +08:00
世界
6617b1d1e7
Fix http3 DNS server connecting to wrong address 2025-05-20 18:24:39 +08:00
Restia-Ashbell
8d98e30756
documentation: Fix typo 2025-05-20 18:24:39 +08:00
anytls
face2dc73e
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-05-20 18:24:38 +08:00
k9982874
c4cc6b1fba
Fix hosts DNS server 2025-05-20 18:24:38 +08:00
世界
2940beea12
Fix UDP DNS server crash 2025-05-20 18:24:38 +08:00
世界
ba02559b90
documentation: Fix missing ip_accept_any DNS rule option 2025-05-20 18:24:38 +08:00
世界
f5d295f894
Fix anytls dialer usage 2025-05-20 18:24:37 +08:00
世界
fd2732a2f1
Move predefined DNS server to rule action 2025-05-20 18:24:37 +08:00
世界
52e949c7ca
Fix domain resolver on direct outbound 2025-05-20 18:24:37 +08:00
Zephyruso
6810701c46
Fix missing AnyTLS display name 2025-05-20 18:24:36 +08:00
anytls
2bbc9e5c5b
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-05-20 18:24:36 +08:00
Estel
396de4306d
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-05-20 18:24:36 +08:00
TargetLocked
b88c2956c6
Fix parsing legacy DNS options 2025-05-20 18:24:36 +08:00
世界
ca21c899d0
Fix DNS fallback 2025-05-20 18:24:35 +08:00
世界
5c06c6cc56
documentation: Fix missing hosts DNS server 2025-05-20 18:24:35 +08:00
anytls
4808efea68
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-05-20 18:24:35 +08:00
ReleTor
036b95f32e
documentation: Minor fixes 2025-05-20 18:24:35 +08:00
libtry486
7f1cb1220d
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-05-20 18:24:34 +08:00
Alireza Ahmadi
7160086b38
Fix Outbound deadlock 2025-05-20 18:24:34 +08:00
世界
f2f2a1691c
documentation: Fix AnyTLS doc 2025-05-20 18:24:34 +08:00
anytls
0ebed65bc2
Add AnyTLS protocol 2025-05-20 18:24:33 +08:00
世界
9375e7b19a
Migrate to stdlib ECH support 2025-05-20 18:24:33 +08:00
世界
1133b16b42
Add fallback local DNS server for iOS 2025-05-20 18:24:32 +08:00
世界
fa38bc85f7
Get darwin local DNS server from libresolv 2025-05-20 18:24:32 +08:00
世界
0b77d97157
Improve resolve action 2025-05-20 18:24:32 +08:00
世界
4edd316902
Add back port hopping to hysteria 1 2025-05-20 18:24:32 +08:00
xchacha20-poly1305
1a9dedde82
Remove single quotes of raw Moziila certs 2025-05-20 18:24:32 +08:00
世界
1a5b618cdb
Add Tailscale endpoint 2025-05-20 18:24:31 +08:00
世界
15b21206ab
Build legacy binaries with latest Go 2025-05-20 18:24:31 +08:00
世界
7e60b4b060
documentation: Remove outdated icons 2025-05-20 18:24:30 +08:00
世界
c691bea8f3
documentation: Certificate store 2025-05-20 18:24:30 +08:00
世界
f9c0e1a8c5
documentation: TLS fragment 2025-05-20 18:24:30 +08:00
世界
a6e9e1c98d
documentation: Outbound domain resolver 2025-05-20 18:24:30 +08:00
世界
045c076c89
documentation: Refactor DNS 2025-05-20 18:24:29 +08:00
世界
364865dd62
Add certificate store 2025-05-20 18:24:29 +08:00
世界
313957336e
Add TLS fragment support 2025-05-20 18:24:29 +08:00
世界
18d60ba288
refactor: Outbound domain resolver 2025-05-20 18:24:29 +08:00
世界
db29bcabde
refactor: DNS 2025-05-20 18:24:29 +08:00
世界
82b096185f
Fix update route address set 2025-05-20 18:17:30 +08:00
世界
e2bfbdd389
Fix interface finder 2025-05-20 16:12:15 +08:00
5 changed files with 12 additions and 8 deletions

View File

@ -2,6 +2,10 @@
icon: material/alert-decagram
---
#### 1.12.0-beta.16
* Fixes and improvements
#### 1.12.0-beta.15
* Add DERP service **1**

View File

@ -33,7 +33,9 @@ See [Listen Fields](/configuration/shared/listen/) for details.
==Required==
A mapping Object from HTTP endpoints to Shadowsocks inbound tags.
A mapping Object from HTTP endpoints to [Shadowsocks Inbound](/configuration/inbound/shadowsocks) tags.
Selected Shadowsocks inbounds must be configured with [managed](/configuration/inbound/shadowsocks#managed) enabled.
Example:

2
go.mod
View File

@ -27,7 +27,7 @@ require (
github.com/sagernet/gomobile v0.1.6
github.com/sagernet/gvisor v0.0.0-20250325023245-7a9c0f5725fb
github.com/sagernet/quic-go v0.51.0-beta.5
github.com/sagernet/sing v0.6.10-0.20250505040842-ba62fee9470f
github.com/sagernet/sing v0.6.10-0.20250520081401-f94e3eea09f2
github.com/sagernet/sing-mux v0.3.2
github.com/sagernet/sing-quic v0.4.1-0.20250511050139-d459f561c9c3
github.com/sagernet/sing-shadowsocks v0.2.7

4
go.sum
View File

@ -168,8 +168,8 @@ github.com/sagernet/nftables v0.3.0-beta.4/go.mod h1:OQXAjvjNGGFxaTgVCSTRIhYB5/l
github.com/sagernet/quic-go v0.51.0-beta.5 h1:/mME3sJvQ8k/JKP0oC/9XoWrm0znO7hWXviB5yiipJY=
github.com/sagernet/quic-go v0.51.0-beta.5/go.mod h1:OV+V5kEBb8kJS7k29MzDu6oj9GyMc7HA07sE1tedxz4=
github.com/sagernet/sing v0.6.9/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing v0.6.10-0.20250505040842-ba62fee9470f h1:lttLhNtFuMItQcTD29QP6aBS8kR1UhG7zZ+pwzTYkFM=
github.com/sagernet/sing v0.6.10-0.20250505040842-ba62fee9470f/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing v0.6.10-0.20250520081401-f94e3eea09f2 h1:RrfNtYL92W+NSiREd2BniJE+b4PjG9bf+TRzr0uDlYg=
github.com/sagernet/sing v0.6.10-0.20250520081401-f94e3eea09f2/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing-mux v0.3.2 h1:meZVFiiStvHThb/trcpAkCrmtJOuItG5Dzl1RRP5/NE=
github.com/sagernet/sing-mux v0.3.2/go.mod h1:pht8iFY4c9Xltj7rhVd208npkNaeCxzyXCgulDPLUDA=
github.com/sagernet/sing-quic v0.4.1-0.20250511050139-d459f561c9c3 h1:1J+s1yyZ8+YAYaClI+az8YuFgV9NGXUUCZnriKmos6w=

View File

@ -214,7 +214,6 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo
if !loaded {
return nil, E.New("parse route_address_set: rule-set not found: ", routeAddressSet)
}
ruleSet.IncRef()
inbound.routeRuleSet = append(inbound.routeRuleSet, ruleSet)
}
for _, routeExcludeAddressSet := range options.RouteExcludeAddressSet {
@ -222,7 +221,6 @@ func NewInbound(ctx context.Context, router adapter.Router, logger log.ContextLo
if !loaded {
return nil, E.New("parse route_exclude_address_set: rule-set not found: ", routeExcludeAddressSet)
}
ruleSet.IncRef()
inbound.routeExcludeRuleSet = append(inbound.routeExcludeRuleSet, ruleSet)
}
if options.AutoRedirect {
@ -312,7 +310,7 @@ func (t *Inbound) Start(stage adapter.StartStage) error {
if len(ipSets) == 0 {
t.logger.Warn("route_address_set: no destination IP CIDR rules found in rule-set: ", routeRuleSet.Name())
}
routeRuleSet.DecRef()
routeRuleSet.IncRef()
t.routeAddressSet = append(t.routeAddressSet, ipSets...)
if t.autoRedirect != nil {
t.routeRuleSetCallback = append(t.routeRuleSetCallback, routeRuleSet.RegisterCallback(t.updateRouteAddressSet))
@ -324,7 +322,7 @@ func (t *Inbound) Start(stage adapter.StartStage) error {
if len(ipSets) == 0 {
t.logger.Warn("route_address_set: no destination IP CIDR rules found in rule-set: ", routeExcludeRuleSet.Name())
}
routeExcludeRuleSet.DecRef()
routeExcludeRuleSet.IncRef()
t.routeExcludeAddressSet = append(t.routeExcludeAddressSet, ipSets...)
if t.autoRedirect != nil {
t.routeExcludeRuleSetCallback = append(t.routeExcludeRuleSetCallback, routeExcludeRuleSet.RegisterCallback(t.updateRouteAddressSet))