Compare commits

..
Author SHA1 Message Date
世界 f73fb69de8 documentation: Bump version 2024-02-25 12:41:27 +08:00
世界 35bd261763 Update dependencies 2024-02-25 12:41:27 +08:00
PuerNyaand世界 83c3f7f667 Always disable cache for fake-ip DNS transport if independent_cache disabled 2024-02-25 12:41:26 +08:00
世界 bb35101371 Fix missing rule_set_ipcidr_match_source item in DNS rules 2024-02-25 12:41:26 +08:00
世界 86a45c33c5 Add bypass_domain and search_domain platform HTTP proxy options 2024-02-25 12:41:26 +08:00
世界 61ac5df555 Update gVisor to 20240206.0 2024-02-25 12:41:26 +08:00
世界 92b5e08229 Update quic-go to v0.41.0 2024-02-25 12:41:13 +08:00
世界 5466aa6071 Fixed order for Clash modes 2024-02-25 12:41:13 +08:00
世界 e70b37865f Improve DNS truncate behavior 2024-02-25 12:41:13 +08:00
世界 557ecf8150 Add rejected DNS response cache support 2024-02-25 12:41:13 +08:00
世界 0070dd6850 Add support for client-subnet DNS options 2024-02-25 12:41:12 +08:00
世界 30222c5cec Add address filter support for DNS rules 2024-02-25 12:41:12 +08:00
世界 58675de71b Fix timezone for Android and iOS 2024-02-25 12:41:12 +08:00
世界 755b6b5fa9 Handle Windows power events 2024-02-25 12:41:12 +08:00
世界 49aefdace7 Improve domain suffix match behavior
For historical reasons, sing-box's `domain_suffix` rule matches literal prefixes instead of the same as other projects.

This change modifies the behavior of `domain_suffix`: If the rule value is prefixed with `.`,
the behavior is unchanged, otherwise it matches `(domain|.+\.domain)` instead.
2024-02-25 12:41:11 +08:00
世界 e8a3f58708 Remove PROCESS_NAME_NATIVE dwFlag in process query output
The `process_path` rule of sing-box is inherited from Clash,
the original code uses the local system's path format (e.g. `\Device\HarddiskVolume1\folder\program.exe`),
but when the device has multiple disks, the HarddiskVolume serial number is not stable.

This change make QueryFullProcessImageNameW output a Win32 path (such as `C:\folder\program.exe`),
which will disrupt the existing `process_path` use cases in Windows.
2024-02-25 12:41:11 +08:00
世界 c4a50f1a41 badtls: Support uTLS and TLS ECH for read waiter 2024-02-25 12:41:11 +08:00
5 changed files with 10 additions and 16 deletions
-4
View File
@@ -2,10 +2,6 @@
icon: material/alert-decagram
---
#### 1.9.0-alpha.15
* Fixes and improvements
#### 1.9.0-alpha.14
* Improve DNS truncate behavior
+2 -2
View File
@@ -27,13 +27,13 @@ require (
github.com/sagernet/quic-go v0.41.0-beta.2
github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691
github.com/sagernet/sing v0.3.3-beta.2
github.com/sagernet/sing-dns v0.2.0-beta.9
github.com/sagernet/sing-dns v0.2.0-beta.8
github.com/sagernet/sing-mux v0.2.0
github.com/sagernet/sing-quic v0.1.9-beta.1
github.com/sagernet/sing-shadowsocks v0.2.6
github.com/sagernet/sing-shadowsocks2 v0.2.0
github.com/sagernet/sing-shadowtls v0.1.4
github.com/sagernet/sing-tun v0.2.3-beta.1
github.com/sagernet/sing-tun v0.2.2-beta.3
github.com/sagernet/sing-vmess v0.1.8
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7
github.com/sagernet/tfo-go v0.0.0-20231209031829-7b5343ac1dc6
+4 -4
View File
@@ -111,8 +111,8 @@ github.com/sagernet/reality v0.0.0-20230406110435-ee17307e7691/go.mod h1:B8lp4Wk
github.com/sagernet/sing v0.2.18/go.mod h1:OL6k2F0vHmEzXz2KW19qQzu172FDgSbUSODylighuVo=
github.com/sagernet/sing v0.3.3-beta.2 h1:ZQkONX/Vwu0p3qxWMlQDDABwAxdH8jVD3rKUB/o1f1o=
github.com/sagernet/sing v0.3.3-beta.2/go.mod h1:qHySJ7u8po9DABtMYEkNBcOumx7ZZJf/fbv2sfTkNHE=
github.com/sagernet/sing-dns v0.2.0-beta.9 h1:ldqWgzj+UbsI28i6oowFZo5QXgwkPllhn5pOfUkAxcQ=
github.com/sagernet/sing-dns v0.2.0-beta.9/go.mod h1:ur9tzxr+9EKU+DerITlfKlUCjgzsMiQJVLffrdOfgvA=
github.com/sagernet/sing-dns v0.2.0-beta.8 h1:br1m5rKXu0+jWPh0KZx0Sw6uS2UCPgV2uYQZ7D8sy74=
github.com/sagernet/sing-dns v0.2.0-beta.8/go.mod h1:IxOqfSb6Zt6UVCy8fJpDxb2XxqzHUytNqeOuJfaiLu8=
github.com/sagernet/sing-mux v0.2.0 h1:4C+vd8HztJCWNYfufvgL49xaOoOHXty2+EAjnzN3IYo=
github.com/sagernet/sing-mux v0.2.0/go.mod h1:khzr9AOPocLa+g53dBplwNDz4gdsyx/YM3swtAhlkHQ=
github.com/sagernet/sing-quic v0.1.9-beta.1 h1:rCmgLUq2d4EA643EAvjbfUYYVMPCss0GpmS4pJCT2Lw=
@@ -123,8 +123,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.1.4 h1:aTgBSJEgnumzFenPvc+kbD9/W0PywzWevnVpEx6Tw3k=
github.com/sagernet/sing-shadowtls v0.1.4/go.mod h1:F8NBgsY5YN2beQavdgdm1DPlhaKQlaL6lpDdcBglGK4=
github.com/sagernet/sing-tun v0.2.3-beta.1 h1:F3A+w3s/4iP6spR7KG8lRA4AKJqXjM8JYsAPg3w20SA=
github.com/sagernet/sing-tun v0.2.3-beta.1/go.mod h1:lkefC8gty7FTuzz9ZoNASueutIhClEz7LHjFK3BLGco=
github.com/sagernet/sing-tun v0.2.2-beta.3 h1:LEzxRkn10iicWdZAlIKtc0/G9hgzrt/WMZSkRtsbzCw=
github.com/sagernet/sing-tun v0.2.2-beta.3/go.mod h1:TaUYOzyBWK43Si6TadJ4gc7fj2iYZ7kxcp6CzzKey3E=
github.com/sagernet/sing-vmess v0.1.8 h1:XVWad1RpTy9b5tPxdm5MCU8cGfrTGdR8qCq6HV2aCNc=
github.com/sagernet/sing-vmess v0.1.8/go.mod h1:vhx32UNzTDUkNwOyIjcZQohre1CaytquC5mPplId8uA=
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 h1:DImB4lELfQhplLTxeq2z31Fpv8CQqqrUwTbrIRumZqQ=
+3 -1
View File
@@ -111,7 +111,9 @@ func (d *DNS) NewPacketConnection(ctx context.Context, conn N.PacketConn, metada
}
}
if readWaiter, created := bufio.CreatePacketReadWaiter(reader); created {
readWaiter.InitializeReadWaiter(N.ReadWaitOptions{})
readWaiter.InitializeReadWaiter(N.ReadWaitOptions{
MTU: dns.FixedPacketSize,
})
return d.newPacketConnection(ctx, conn, readWaiter, counters, cachedPackets, metadata)
}
break
+1 -5
View File
@@ -1245,11 +1245,7 @@ func (r *Router) updateWIFIState() {
state := r.platformInterface.ReadWIFIState()
if state != r.wifiState {
r.wifiState = state
if state.SSID == "" && state.BSSID == "" {
r.logger.Info("updated WIFI state: disconnected")
} else {
r.logger.Info("updated WIFI state: SSID=", state.SSID, ", BSSID=", state.BSSID)
}
r.logger.Info("updated WIFI state: SSID=", state.SSID, ", BSSID=", state.BSSID)
}
}