Compare commits

..
Author SHA1 Message Date
世界 e5fc717819 documentation: Bump version 2024-12-26 16:44:24 +08:00
世界 b4ae92dc95 Enable fix stack for Android 7 and 9 2024-12-26 14:41:05 +08:00
世界 d7ff5a7ac3 Revert "platform: Implement set underlying networks for android"
This reverts commit eb4a184b7e.
2024-12-26 14:41:05 +08:00
世界 41f4b71a11 tun: Set address sets to routes 2024-12-24 20:34:45 +08:00
世界 eb4a184b7e platform: Implement set underlying networks for android 2024-12-22 23:30:49 +08:00
世界 f0f3a45904 release: Upload debug apks to action 2024-12-22 23:30:49 +08:00
世界 339e3e6c15 Fix default dialer on legacy xiaomi systems 2024-12-22 23:30:49 +08:00
世界 f72118135e Add rule-set merge command 2024-12-21 19:40:16 +08:00
世界 5952c174f7 Fix DNS match log 2024-12-21 19:40:16 +08:00
世界 dda692e955 Fix domain strategy 2024-12-21 19:40:16 +08:00
世界 f08861185a Fix time service 2024-12-21 19:40:15 +08:00
世界 a2b6c367ee Fix socks5 UDP implementation 2024-12-21 19:40:15 +08:00
世界 05338a53eb clash-api: Fix missing endpoints 2024-12-21 19:40:15 +08:00
世界 51521653a4 hysteria2: Add more masquerade options 2024-12-21 19:40:14 +08:00
世界 b55a18a13f Improve timeouts 2024-12-21 19:40:14 +08:00
世界 6be54ff3eb Add UDP timeout route option 2024-12-21 19:40:14 +08:00
世界 255e591ef7 Make GSO adaptive 2024-12-21 19:40:05 +08:00
世界 df8a3e912e Fix tests 2024-12-21 19:40:05 +08:00
世界 7693e985af Fix lint 2024-12-21 19:40:04 +08:00
世界 37f7d9a6fa refactor: WireGuard endpoint 2024-12-21 19:40:04 +08:00
世界 1ec2490a96 refactor: connection manager 2024-12-21 19:40:03 +08:00
世界 861cb7fcf3 documentation: Fix typo 2024-12-21 19:40:03 +08:00
世界 7aa0c572cc Add override destination to route options 2024-12-21 19:40:03 +08:00
世界 ccffca9e13 Add dns.cache_capacity 2024-12-21 19:40:02 +08:00
世界 bcf9c92793 Refactor multi networks strategy 2024-12-21 19:40:02 +08:00
世界 680daeb5f8 documentation: Remove unused titles 2024-12-21 19:40:02 +08:00
世界 f9aea332d5 Add multi network dialing 2024-12-21 19:40:01 +08:00
世界 a1ded989b7 documentation: Merge route options to route actions 2024-12-21 19:40:01 +08:00
世界 8ef771652c Add network_[type/is_expensive/is_constrained] rule items 2024-12-21 19:40:01 +08:00
世界 e9ed794396 Merge route options to route actions 2024-12-21 19:40:01 +08:00
世界 feffb897b2 refactor: Platform Interfaces 2024-12-21 19:40:00 +08:00
世界 dea80da0eb refactor: Extract services form router 2024-12-21 19:40:00 +08:00
世界 606abff177 refactor: Modular network manager 2024-12-21 19:39:59 +08:00
世界 7e21588011 refactor: Modular inbound/outbound manager 2024-12-21 19:39:59 +08:00
世界 abf99a0c89 documentation: Add rule action 2024-12-21 19:39:59 +08:00
世界 4954d046d2 documentation: Update the scheduled removal time of deprecated features 2024-12-21 19:39:58 +08:00
世界 6a62f4c936 documentation: Remove outdated icons 2024-12-21 19:39:58 +08:00
世界 994b9726db Migrate bad options to library 2024-12-21 19:39:57 +08:00
世界 ef8e0f5849 Implement udp connect 2024-12-21 19:39:57 +08:00
世界 91b11d5654 Implement new deprecated warnings 2024-12-21 19:39:57 +08:00
世界 466171b3cf Improve rule actions 2024-12-21 19:39:56 +08:00
世界 51c0ee6c90 Remove unused reject methods 2024-12-21 19:39:55 +08:00
世界 2a40003034 refactor: Modular inbounds/outbounds 2024-12-21 19:39:54 +08:00
世界 34442521b4 Implement dns-hijack 2024-12-21 19:39:53 +08:00
世界 cc773eccbf Implement resolve(server) 2024-12-21 19:39:53 +08:00
世界 d4b23cc0ab Implement TCP and ICMP rejects 2024-12-21 19:39:52 +08:00
世界 e1eeb0d7e0 Crazy sekai overturns the small pond 2024-12-21 19:39:52 +08:00
8 changed files with 17 additions and 21 deletions
+4 -8
View File
@@ -2,14 +2,6 @@
icon: material/alert-decagram
---
#### 1.11.0-beta.16
* Fixes and improvements
### 1.10.6
* Fixes and improvements
#### 1.11.0-beta.14
* Allow adding route (exclude) address sets to routes **1**
@@ -32,6 +24,10 @@ See [route_address_set](/configuration/inbound/tun/#route_address_set) and
* Add `rule-set merge` command
* Fixes and improvements
### 1.10.5
* Fixes and improvements
#### 1.11.0-beta.3
* Add more masquerade options for hysteria2 **1**
+1 -1
View File
@@ -26,7 +26,7 @@ require (
github.com/sagernet/gvisor v0.0.0-20241123041152-536d05261cff
github.com/sagernet/quic-go v0.48.2-beta.1
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691
github.com/sagernet/sing v0.6.0-beta.9
github.com/sagernet/sing v0.6.0-beta.8
github.com/sagernet/sing-dns v0.4.0-beta.1
github.com/sagernet/sing-mux v0.3.0-alpha.1
github.com/sagernet/sing-quic v0.4.0-alpha.4
+2 -2
View File
@@ -119,8 +119,8 @@ github.com/sagernet/quic-go v0.48.2-beta.1/go.mod h1:1WgdDIVD1Gybp40JTWketeSfKA/
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.6.0-beta.9 h1:P8lKa5hN53fRNAVCIKy5cWd6/kLO5c4slhdsfehSmHs=
github.com/sagernet/sing v0.6.0-beta.9/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing v0.6.0-beta.8 h1:PoxDdN7y8D4oImT3cQ05Sq1ZYnYsJberkUkIEHIGwWE=
github.com/sagernet/sing v0.6.0-beta.8/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing-dns v0.4.0-beta.1 h1:W1XkdhigwxDOMgMDVB+9kdomCpb7ExsZfB4acPcTZFY=
github.com/sagernet/sing-dns v0.4.0-beta.1/go.mod h1:8wuFcoFkWM4vJuQyg8e97LyvDwe0/Vl7G839WLcKDs8=
github.com/sagernet/sing-mux v0.3.0-alpha.1 h1:IgNX5bJBpL41gGbp05pdDOvh/b5eUQ6cv9240+Ngipg=
+2 -2
View File
@@ -473,7 +473,7 @@ match:
}
if !preMatch && inputPacketConn != nil && !metadata.Destination.IsFqdn() && !metadata.Destination.Addr.IsGlobalUnicast() {
var timeout time.Duration
if metadata.InboundType == C.TypeSOCKS || metadata.InboundType == C.TypeMixed {
if metadata.InboundType == C.TypeSOCKS {
timeout = C.TCPTimeout
}
newBuffer, newPacketBuffers, newErr := r.actionSniff(ctx, metadata, &rule.RuleActionSniff{Timeout: timeout}, inputConn, inputPacketConn)
@@ -572,7 +572,7 @@ func (r *Router) actionSniff(
return
}
} else {
if !metadata.Destination.IsFqdn() && !metadata.Destination.Addr.IsGlobalUnicast() {
if !metadata.Destination.Addr.IsGlobalUnicast() {
metadata.Destination = destination
}
if len(packetBuffers) > 0 {
+2 -2
View File
@@ -13,7 +13,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/gofrs/uuid/v5 v5.3.0
github.com/sagernet/quic-go v0.48.2-beta.1
github.com/sagernet/sing v0.6.0-beta.9
github.com/sagernet/sing v0.6.0-beta.5
github.com/sagernet/sing-dns v0.4.0-beta.1
github.com/sagernet/sing-quic v0.4.0-alpha.4
github.com/sagernet/sing-shadowsocks v0.2.7
@@ -85,7 +85,7 @@ require (
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691 // indirect
github.com/sagernet/sing-mux v0.3.0-alpha.1 // indirect
github.com/sagernet/sing-shadowtls v0.2.0-alpha.2 // indirect
github.com/sagernet/sing-tun v0.6.0-beta.7 // indirect
github.com/sagernet/sing-tun v0.6.0-beta.2 // indirect
github.com/sagernet/sing-vmess v0.2.0-beta.1 // indirect
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 // indirect
github.com/sagernet/utls v1.6.7 // indirect
+4 -4
View File
@@ -146,8 +146,8 @@ github.com/sagernet/quic-go v0.48.2-beta.1/go.mod h1:1WgdDIVD1Gybp40JTWketeSfKA/
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.6.0-beta.9 h1:P8lKa5hN53fRNAVCIKy5cWd6/kLO5c4slhdsfehSmHs=
github.com/sagernet/sing v0.6.0-beta.9/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing v0.6.0-beta.5 h1:RD2j8WmJsvAbbBkAlJWaiYmnd+v/JohBiweoew7kMwo=
github.com/sagernet/sing v0.6.0-beta.5/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
github.com/sagernet/sing-dns v0.4.0-beta.1 h1:W1XkdhigwxDOMgMDVB+9kdomCpb7ExsZfB4acPcTZFY=
github.com/sagernet/sing-dns v0.4.0-beta.1/go.mod h1:8wuFcoFkWM4vJuQyg8e97LyvDwe0/Vl7G839WLcKDs8=
github.com/sagernet/sing-mux v0.3.0-alpha.1 h1:IgNX5bJBpL41gGbp05pdDOvh/b5eUQ6cv9240+Ngipg=
@@ -160,8 +160,8 @@ github.com/sagernet/sing-shadowsocks2 v0.2.0 h1:wpZNs6wKnR7mh1wV9OHwOyUr21VkS3wK
github.com/sagernet/sing-shadowsocks2 v0.2.0/go.mod h1:RnXS0lExcDAovvDeniJ4IKa2IuChrdipolPYWBv9hWQ=
github.com/sagernet/sing-shadowtls v0.2.0-alpha.2 h1:RPrpgAdkP5td0vLfS5ldvYosFjSsZtRPxiyLV6jyKg0=
github.com/sagernet/sing-shadowtls v0.2.0-alpha.2/go.mod h1:0j5XlzKxaWRIEjc1uiSKmVoWb0k+L9QgZVb876+thZA=
github.com/sagernet/sing-tun v0.6.0-beta.7 h1:FCSX8oGBqb0H57AAvfGeeH/jMGYWCOg6XWkN/oeES+0=
github.com/sagernet/sing-tun v0.6.0-beta.7/go.mod h1:fisFCbC4Vfb6HqQNcwPJi2CDK2bf0Xapyz3j3t4cnHE=
github.com/sagernet/sing-tun v0.6.0-beta.2 h1:GK7r2jWKm7RhlJGTq4QadgFcebQia1c3BO3OlYMcQJ0=
github.com/sagernet/sing-tun v0.6.0-beta.2/go.mod h1:fisFCbC4Vfb6HqQNcwPJi2CDK2bf0Xapyz3j3t4cnHE=
github.com/sagernet/sing-vmess v0.2.0-beta.1 h1:5sXQ23uwNlZuDvygzi0dFtnG0Csm/SNqTjAHXJkpuj4=
github.com/sagernet/sing-vmess v0.2.0-beta.1/go.mod h1:fLyE1emIcvQ5DV8reFWnufquZ7MkCSYM5ThodsR9NrQ=
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 h1:DImB4lELfQhplLTxeq2z31Fpv8CQqqrUwTbrIRumZqQ=