mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-12 05:14:14 +08:00
Compare commits
94 Commits
5d73dd617a
...
00bb5a292d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
00bb5a292d | ||
![]() |
4f425e13aa | ||
![]() |
bdc008c8ce | ||
![]() |
cd262b9893 | ||
![]() |
534856d2ff | ||
![]() |
2aaa72ae61 | ||
![]() |
41766cfab4 | ||
![]() |
940d313e4c | ||
![]() |
6ae911a704 | ||
![]() |
2e9cfd8198 | ||
![]() |
28f29b8b01 | ||
![]() |
1cca8e4e01 | ||
![]() |
6900de4093 | ||
![]() |
90e2ac8ee6 | ||
![]() |
7ff28ce451 | ||
![]() |
d581b295aa | ||
![]() |
9d8efbcb7a | ||
![]() |
25ec957778 | ||
![]() |
45c1ea7871 | ||
![]() |
edb4415169 | ||
![]() |
c9734355f4 | ||
![]() |
d0a62267a0 | ||
![]() |
ecbcbe2544 | ||
![]() |
e8b9b2a9df | ||
![]() |
298f5e66ce | ||
![]() |
07df84b56b | ||
![]() |
4abbaea260 | ||
![]() |
550cb8d60c | ||
![]() |
1a8adc22c2 | ||
![]() |
c964c426ac | ||
![]() |
485798f57f | ||
![]() |
001d83acc3 | ||
![]() |
b516c514e2 | ||
![]() |
0c2bcb9acb | ||
![]() |
404077cd59 | ||
![]() |
8988b5221d | ||
![]() |
d189bc4ed1 | ||
![]() |
bbbaca9b73 | ||
![]() |
b17c50734c | ||
![]() |
5c817a2a50 | ||
![]() |
9cb11cdd7b | ||
![]() |
cd5c236433 | ||
![]() |
d1cc0e4486 | ||
![]() |
0cf631a1e1 | ||
![]() |
6836e7236a | ||
![]() |
e14659298a | ||
![]() |
f2e49a5ecc | ||
![]() |
809c3f8020 | ||
![]() |
717cfe5dfe | ||
![]() |
b2c0a808d5 | ||
![]() |
7a5e14ce77 | ||
![]() |
ec97b71f09 | ||
![]() |
523d0c01f8 | ||
![]() |
94a4b70e79 | ||
![]() |
6617b1d1e7 | ||
![]() |
8d98e30756 | ||
![]() |
face2dc73e | ||
![]() |
c4cc6b1fba | ||
![]() |
2940beea12 | ||
![]() |
ba02559b90 | ||
![]() |
f5d295f894 | ||
![]() |
fd2732a2f1 | ||
![]() |
52e949c7ca | ||
![]() |
6810701c46 | ||
![]() |
2bbc9e5c5b | ||
![]() |
396de4306d | ||
![]() |
b88c2956c6 | ||
![]() |
ca21c899d0 | ||
![]() |
5c06c6cc56 | ||
![]() |
4808efea68 | ||
![]() |
036b95f32e | ||
![]() |
7f1cb1220d | ||
![]() |
7160086b38 | ||
![]() |
f2f2a1691c | ||
![]() |
0ebed65bc2 | ||
![]() |
9375e7b19a | ||
![]() |
1133b16b42 | ||
![]() |
fa38bc85f7 | ||
![]() |
0b77d97157 | ||
![]() |
4edd316902 | ||
![]() |
1a9dedde82 | ||
![]() |
1a5b618cdb | ||
![]() |
15b21206ab | ||
![]() |
7e60b4b060 | ||
![]() |
c691bea8f3 | ||
![]() |
f9c0e1a8c5 | ||
![]() |
a6e9e1c98d | ||
![]() |
045c076c89 | ||
![]() |
364865dd62 | ||
![]() |
313957336e | ||
![]() |
18d60ba288 | ||
![]() |
db29bcabde | ||
![]() |
82b096185f | ||
![]() |
e2bfbdd389 |
@ -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**
|
||||
|
@ -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
2
go.mod
@ -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
4
go.sum
@ -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=
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user