mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Compare commits
92 Commits
00bb5a292d
...
5d73dd617a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5d73dd617a | ||
![]() |
f399121721 | ||
![]() |
bbf7de181b | ||
![]() |
1327c7940e | ||
![]() |
0771cb5b9e | ||
![]() |
3350896751 | ||
![]() |
f83abb5cd6 | ||
![]() |
9bdf29c92b | ||
![]() |
b6546ba9ee | ||
![]() |
12b88678cc | ||
![]() |
6c71cf88c5 | ||
![]() |
eaae1a72e8 | ||
![]() |
be8fa753f6 | ||
![]() |
9338611506 | ||
![]() |
dd5e8c2fc3 | ||
![]() |
5f630afabd | ||
![]() |
afe039b2a0 | ||
![]() |
d9dba4c3c2 | ||
![]() |
a6f30adbdf | ||
![]() |
86458bf26e | ||
![]() |
381339f6aa | ||
![]() |
eae10a8342 | ||
![]() |
1ec660cc84 | ||
![]() |
664b5871f7 | ||
![]() |
5ff8df74b7 | ||
![]() |
79047deed1 | ||
![]() |
06a5c74470 | ||
![]() |
3fbc2d8c70 | ||
![]() |
85fa07a64c | ||
![]() |
8fe4fcb339 | ||
![]() |
822dc654b4 | ||
![]() |
06d32ae5f5 | ||
![]() |
be03fd8736 | ||
![]() |
4f520741d2 | ||
![]() |
7a0b0141c9 | ||
![]() |
e88a91ccd1 | ||
![]() |
a363096a80 | ||
![]() |
4c1ed5a3c7 | ||
![]() |
633203aed7 | ||
![]() |
f4d997bbfc | ||
![]() |
86ca81a989 | ||
![]() |
6438029658 | ||
![]() |
5ba910997c | ||
![]() |
df710eccbb | ||
![]() |
ca3f70ac53 | ||
![]() |
833f052f9c | ||
![]() |
51fb60bca6 | ||
![]() |
c5e9888f1a | ||
![]() |
e49a589180 | ||
![]() |
2eefbd8469 | ||
![]() |
2f78acef13 | ||
![]() |
1f677e54ed | ||
![]() |
63bd625089 | ||
![]() |
cb95f29763 | ||
![]() |
696c78604f | ||
![]() |
be11352965 | ||
![]() |
9756e482a0 | ||
![]() |
5041e7718a | ||
![]() |
c5447e2632 | ||
![]() |
d81d47b4e4 | ||
![]() |
97d0e5542f | ||
![]() |
833971636f | ||
![]() |
a6ae909675 | ||
![]() |
608efa7a7c | ||
![]() |
a35d83f364 | ||
![]() |
4401bedf96 | ||
![]() |
6edc9485f6 | ||
![]() |
cb24b38822 | ||
![]() |
4217eaf1da | ||
![]() |
8d8a0673d2 | ||
![]() |
0746e69907 | ||
![]() |
a5b941315b | ||
![]() |
9864706a4e | ||
![]() |
c3fdf13da9 | ||
![]() |
6355f48a47 | ||
![]() |
6a48e97439 | ||
![]() |
8d78d59f7c | ||
![]() |
c4272efe82 | ||
![]() |
bd0a0aef86 | ||
![]() |
ffba6cc930 | ||
![]() |
56b1ea212f | ||
![]() |
e1f64b9c31 | ||
![]() |
9b185b7c92 | ||
![]() |
7afe7abd60 | ||
![]() |
a9da8fce10 | ||
![]() |
9d96ba4496 | ||
![]() |
f10191d9d0 | ||
![]() |
2d9f44269d | ||
![]() |
b0447d54ec | ||
![]() |
11c58644e1 | ||
![]() |
1d5f1f32b5 | ||
![]() |
3f50776fc3 |
@ -2,10 +2,6 @@
|
||||
icon: material/alert-decagram
|
||||
---
|
||||
|
||||
#### 1.12.0-beta.16
|
||||
|
||||
* Fixes and improvements
|
||||
|
||||
#### 1.12.0-beta.15
|
||||
|
||||
* Add DERP service **1**
|
||||
|
@ -33,9 +33,7 @@ See [Listen Fields](/configuration/shared/listen/) for details.
|
||||
|
||||
==Required==
|
||||
|
||||
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.
|
||||
A mapping Object from HTTP endpoints to Shadowsocks inbound tags.
|
||||
|
||||
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.20250520081401-f94e3eea09f2
|
||||
github.com/sagernet/sing v0.6.10-0.20250505040842-ba62fee9470f
|
||||
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.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 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-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,6 +214,7 @@ 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 {
|
||||
@ -221,6 +222,7 @@ 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 {
|
||||
@ -310,7 +312,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.IncRef()
|
||||
routeRuleSet.DecRef()
|
||||
t.routeAddressSet = append(t.routeAddressSet, ipSets...)
|
||||
if t.autoRedirect != nil {
|
||||
t.routeRuleSetCallback = append(t.routeRuleSetCallback, routeRuleSet.RegisterCallback(t.updateRouteAddressSet))
|
||||
@ -322,7 +324,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.IncRef()
|
||||
routeExcludeRuleSet.DecRef()
|
||||
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