Compare commits

..
Author SHA1 Message Date
世界 5cd230bea0 documentation: Bump version 2023-12-23 10:58:57 +08:00
世界 fd9c270202 documentation: Update package managers 2023-12-23 10:56:23 +08:00
世界 309ffea401 Implement syscall read wait for windows 2023-12-23 10:56:23 +08:00
世界 de5a66cd91 Remove unnecessary context wrappers 2023-12-23 10:56:22 +08:00
世界 fc282c7a54 Improve read wait interface &
Refactor Authenticator interface to struct &
Update smux &
Update gVisor to 20231204.0 &
Update wireguard-go &
Add GSO support for TUN/WireGuard &
Fix router pre-start &
Fix bind forwarder to interface for systems stack
2023-12-23 10:56:22 +08:00
世界 870e5b58f9 Make generated files have SUDO_USER's permissions if possible. 2023-12-23 10:56:22 +08:00
世界 087671a699 Refactor inbound/outbound options struct 2023-12-23 10:56:21 +08:00
世界 d0f2520dc7 Improve configuration merge 2023-12-23 10:56:21 +08:00
世界 1d45511a16 Update uTLS to 1.5.4 2023-12-23 10:56:21 +08:00
世界 b8db16d226 Update tfo-go 2023-12-23 10:56:21 +08:00
世界 fcc37047b8 Update gomobile and add tag 2023-12-23 10:56:21 +08:00
世界 fb932a57ab Update cloudflare-tls to go1.21.5 2023-12-23 10:56:21 +08:00
世界 24af1bbf91 Make type check strict 2023-12-23 10:56:20 +08:00
世界 f5af3c626c Remove comparable limit for Listable 2023-12-23 10:56:20 +08:00
世界 13eb67bf33 Avoid opening log output before start &
Replace tracing logs with task monitor
2023-12-23 10:56:20 +08:00
世界 b58c743130 Update documentation 2023-12-23 10:56:19 +08:00
世界 6c354b800e Add idle_timeout for URLTest outbound 2023-12-23 10:56:19 +08:00
世界 7d9b4fe12d Skip internal fake-ip queries 2023-12-23 10:56:19 +08:00
世界 82fc3f808f Migrate contentjson and badjson to library &
Add omitempty in format
2023-12-23 10:56:19 +08:00
世界 9d763fb3bd Update documentation 2023-12-23 10:56:18 +08:00
世界 e4065b202d Independent source_ip_is_private and ip_is_private rules 2023-12-23 10:56:18 +08:00
世界 cfafe2e8d3 Add rule-set 2023-12-23 10:56:18 +08:00
世界 936fad9154 Update buffer usage 2023-12-23 10:56:18 +08:00
世界 35c9e87bc6 Allow nested logical rules 2023-12-23 10:56:18 +08:00
世界 be35eab539 Migrate to independent cache file 2023-12-23 10:56:18 +08:00
4 changed files with 14 additions and 9 deletions
+2 -5
View File
@@ -2,14 +2,11 @@
icon: material/alert-decagram
---
#### 1.8.0-rc.4
* Fixes and improvements
#### 1.8.0-rc.3
* Fix V2Ray transport `path` validation behavior **1**
* Fixes and improvements
* Fix V2Ray transport `path` validation behavior **1**
**1**:
+1 -1
View File
@@ -26,7 +26,7 @@ require (
github.com/sagernet/gvisor v0.0.0-20231209105102-8d27a30e436e
github.com/sagernet/quic-go v0.40.0
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691
github.com/sagernet/sing v0.3.0-rc.5
github.com/sagernet/sing v0.3.0-rc.3
github.com/sagernet/sing-dns v0.1.12
github.com/sagernet/sing-mux v0.1.7-rc.1
github.com/sagernet/sing-quic v0.1.7-rc.1
+4 -2
View File
@@ -109,8 +109,10 @@ github.com/sagernet/quic-go v0.40.0/go.mod h1:VqtdhlbkeeG5Okhb3eDMb/9o0EoglReHun
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691 h1:5Th31OC6yj8byLGkEnIYp6grlXfo1QYUfiYFGjewIdc=
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691/go.mod h1:B8lp4WkQ1PwNnrVMM6KyuFR20pU8jYBD+A4EhJovEXU=
github.com/sagernet/sing v0.2.18/go.mod h1:OL6k2F0vHmEzXz2KW19qQzu172FDgSbUSODylighuVo=
github.com/sagernet/sing v0.3.0-rc.5 h1:dliXrWhkeI1ppcwTfwDPktLf75DXQLbd9g5ngtAEmc0=
github.com/sagernet/sing v0.3.0-rc.5/go.mod h1:9pfuAH6mZfgnz/YjP6xu5sxx882rfyjpcrTdUpd6w3g=
github.com/sagernet/sing v0.3.0-rc.3 h1:4GVTffZlbFkBTg3woQBY3O+y/jFUvlbY6u5TYu4G4Ck=
github.com/sagernet/sing v0.3.0-rc.3/go.mod h1:9pfuAH6mZfgnz/YjP6xu5sxx882rfyjpcrTdUpd6w3g=
github.com/sagernet/sing v0.3.0-rc.3.0.20231221131018-2b0a53a3a6c4 h1:0fzuZBSmCSWUQu2ZexJ8ys4Cg+mth2Nzu4ZwYolJ2GU=
github.com/sagernet/sing v0.3.0-rc.3.0.20231221131018-2b0a53a3a6c4/go.mod h1:9pfuAH6mZfgnz/YjP6xu5sxx882rfyjpcrTdUpd6w3g=
github.com/sagernet/sing-dns v0.1.12 h1:1HqZ+ln+Rezx/aJMStaS0d7oPeX2EobSV1NT537kyj4=
github.com/sagernet/sing-dns v0.1.12/go.mod h1:rx/DTOisneQpCgNQ4jbFU/JNEtnz0lYcHXenlVzpjEU=
github.com/sagernet/sing-mux v0.1.7-rc.1 h1:4XlQSeIqKA6uaW1KGQA9wCG5zt9ajhvc/zJnnZV/n1c=
+7 -1
View File
@@ -44,7 +44,6 @@ func NewURLTest(ctx context.Context, router adapter.Router, logger log.ContextLo
outbound := &URLTest{
myOutboundAdapter: myOutboundAdapter{
protocol: C.TypeURLTest,
network: []string{N.NetworkTCP, N.NetworkUDP},
router: router,
logger: logger,
tag: tag,
@@ -64,6 +63,13 @@ func NewURLTest(ctx context.Context, router adapter.Router, logger log.ContextLo
return outbound, nil
}
func (s *URLTest) Network() []string {
if s.group == nil {
return []string{N.NetworkTCP, N.NetworkUDP}
}
return s.group.Select(N.NetworkTCP).Network()
}
func (s *URLTest) Start() error {
outbounds := make([]adapter.Outbound, 0, len(s.tags))
for i, tag := range s.tags {