Compare commits

..

108 Commits

Author SHA1 Message Date
世界
ccceb8b30a
documentation: Bump version 2025-06-17 14:27:11 +08:00
世界
778f9ef81f
Add API to dump AdGuard rules 2025-06-17 14:26:50 +08:00
Sukka
0c5947e1e3
Improve AdGuard rule-set parser 2025-06-17 14:26:50 +08:00
Restia-Ashbell
e268f53c87
Add ECH support for uTLS 2025-06-17 14:26:50 +08:00
世界
8505fc8352
Improve TLS fragments 2025-06-17 14:26:50 +08:00
世界
8c4298fd90
Add cache support for ssm-api 2025-06-17 14:26:50 +08:00
世界
e3f6d827bd
Fix service will not be closed 2025-06-17 14:26:50 +08:00
世界
3f78bf5b93
Add loopback address support for tun 2025-06-17 14:26:49 +08:00
世界
91f4ab15e9
documentation: Bump version 2025-06-17 14:26:49 +08:00
世界
663da9d605
release: Update Go to 1.24.4 2025-06-17 14:26:49 +08:00
世界
0c53d6fe4c
Fix tproxy listener 2025-06-17 14:26:49 +08:00
世界
63760e7f53
Fix systemd package 2025-06-17 14:26:49 +08:00
世界
d7936ad3a0
Fix missing home for derp service 2025-06-17 14:26:49 +08:00
Zero Clover
e2e36e0d9e
documentation: Fix services 2025-06-17 14:26:49 +08:00
世界
47b77b2cc0
Fix dns.client_subnet ignored 2025-06-17 14:26:49 +08:00
世界
8982765024
documentation: Minor fixes 2025-06-17 14:26:49 +08:00
世界
93dbcbdb47
Fix tailscale forward 2025-06-17 14:26:48 +08:00
世界
46a45af787
Minor fixes 2025-06-17 14:26:48 +08:00
世界
d3f7f2aaef
Add SSM API service 2025-06-17 14:26:48 +08:00
世界
e617f7ac2d
Add resolved service and DNS server 2025-06-17 14:26:47 +08:00
世界
213ad2f3c1
Add DERP service 2025-06-17 14:26:47 +08:00
世界
83ca997dd3
Add service component type 2025-06-17 14:26:47 +08:00
世界
bf2963da47
Fix tproxy tcp control 2025-06-17 14:26:47 +08:00
愚者
d0108ef0d7
release: Fix build tags for android
Signed-off-by: 愚者 <11926619+FansChou@users.noreply.github.com>
2025-06-17 14:26:47 +08:00
世界
6c559b5df1
prevent creation of bind and mark controls on unsupported platforms 2025-06-17 14:26:46 +08:00
PuerNya
4c2eaf624c
documentation: Fix description of reject DNS action behavior 2025-06-17 14:26:46 +08:00
Restia-Ashbell
819c2b46c4
Fix TLS record fragment 2025-06-17 14:26:46 +08:00
世界
5b34431612
Add missing accept_routes option for Tailscale 2025-06-17 14:26:45 +08:00
世界
d0e5d145f2
Add TLS record fragment support 2025-06-17 14:26:45 +08:00
世界
7a219c4613
Fix set edns0 client subnet 2025-06-17 14:26:45 +08:00
世界
1a4827a292
Update minor dependencies 2025-06-17 14:26:45 +08:00
世界
4f665ca82e
Update certmagic and providers 2025-06-17 14:26:45 +08:00
世界
37297190da
Update protobuf and grpc 2025-06-17 14:26:45 +08:00
世界
105101fa0b
Add control options for listeners 2025-06-17 14:26:45 +08:00
世界
58c2f6f2cb
Update quic-go to v0.52.0 2025-06-17 14:26:44 +08:00
世界
5cf1b601b4
Update utls to v1.7.2 2025-06-17 14:26:44 +08:00
世界
cd46c5323a
Handle EDNS version downgrade 2025-06-17 14:26:35 +08:00
世界
6c128dc213
documentation: Fix anytls padding scheme description 2025-06-17 14:26:35 +08:00
安容
c0e374451d
Report invalid DNS address early 2025-06-17 14:26:35 +08:00
世界
2f1a618390
Fix wireguard listen_port 2025-06-17 14:26:35 +08:00
世界
b0206c1337
clash-api: Add more meta api 2025-06-17 14:26:34 +08:00
世界
07b955c305
Fix DNS lookup 2025-06-17 14:26:34 +08:00
世界
442f96e509
Fix fetch ECH configs 2025-06-17 14:26:34 +08:00
reletor
2ae7c0964c
documentation: Minor fixes 2025-06-17 14:26:34 +08:00
caelansar
2afe76b3fd
Fix callback deletion in UDP transport 2025-06-17 14:26:34 +08:00
世界
6017820c82
documentation: Try to make the play review happy 2025-06-17 14:26:34 +08:00
世界
d2b136ed98
Fix missing handling of legacy domain_strategy options 2025-06-17 14:26:34 +08:00
世界
11c23a30a4
Improve local DNS server 2025-06-17 14:26:33 +08:00
anytls
d1a405cea0
Update anytls
Co-authored-by: anytls <anytls>
2025-06-17 14:25:23 +08:00
世界
194c890f7a
Fix DNS dialer 2025-06-17 14:25:23 +08:00
世界
c2518597d5
release: Skip override version for iOS 2025-06-17 14:25:23 +08:00
iikira
41e2cb5be4
Fix UDP DNS server crash
Signed-off-by: iikira <i2@mail.iikira.com>
2025-06-17 14:25:22 +08:00
ReleTor
41699a35f1
Fix fetch ECH configs 2025-06-17 14:25:22 +08:00
世界
9802c6a930
Allow direct outbounds without domain_resolver 2025-06-17 14:25:22 +08:00
世界
2450dec60e
Fix Tailscale dialer 2025-06-17 14:25:22 +08:00
dyhkwong
5d7c093158
Fix DNS over QUIC stream close 2025-06-17 14:25:21 +08:00
anytls
6de9da225a
Update anytls
Co-authored-by: anytls <anytls>
2025-06-17 14:25:21 +08:00
Rambling2076
4f9b09e82a
Fix missing with_tailscale in Dockerfile
Signed-off-by: Rambling2076 <Rambling2076@proton.me>
2025-06-17 14:25:21 +08:00
世界
bf556b1209
Fail when default DNS server not found 2025-06-17 14:25:20 +08:00
世界
34cd7f9634
Update gVisor to 20250319.0 2025-06-17 14:25:20 +08:00
世界
a6686075b1
Explicitly reject detour to empty direct outbounds 2025-06-17 14:25:20 +08:00
世界
0d6ae99f33
Add netns support 2025-06-17 14:25:19 +08:00
世界
dac7028377
Add wildcard name support for predefined records 2025-06-17 14:25:19 +08:00
世界
09e8f7a4ef
Remove map usage in options 2025-06-17 14:25:19 +08:00
世界
4ee3b46e52
Fix unhandled DNS loop 2025-06-17 14:25:19 +08:00
世界
69f86934fc
Add wildcard-sni support for shadow-tls inbound 2025-06-17 14:25:19 +08:00
k9982874
c64fb04fc9
Add ntp protocol sniffing 2025-06-17 14:25:09 +08:00
世界
689f3b6b10
option: Fix marshal legacy DNS options 2025-06-17 14:25:09 +08:00
世界
83aecd3605
Make domain_resolver optional when only one DNS server is configured 2025-06-17 14:25:09 +08:00
世界
6d2d9a58c6
Fix DNS lookup context pollution 2025-06-17 14:25:08 +08:00
世界
78488015c2
Fix http3 DNS server connecting to wrong address 2025-06-17 14:25:08 +08:00
Restia-Ashbell
ea3e5bf5e2
documentation: Fix typo 2025-06-17 14:25:08 +08:00
anytls
16da80db87
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-06-17 14:25:07 +08:00
k9982874
76e16f8a05
Fix hosts DNS server 2025-06-17 14:25:07 +08:00
世界
da25171807
Fix UDP DNS server crash 2025-06-17 14:25:06 +08:00
世界
afe870e530
documentation: Fix missing ip_accept_any DNS rule option 2025-06-17 14:25:06 +08:00
世界
434b81ecf0
Fix anytls dialer usage 2025-06-17 14:25:06 +08:00
世界
f204231a76
Move predefined DNS server to rule action 2025-06-17 14:25:05 +08:00
世界
b032700526
Fix domain resolver on direct outbound 2025-06-17 14:25:05 +08:00
Zephyruso
9514219058
Fix missing AnyTLS display name 2025-06-17 14:25:05 +08:00
anytls
2610949d7d
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-06-17 14:25:04 +08:00
Estel
241f5ec390
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-06-17 14:25:04 +08:00
TargetLocked
a277fa1020
Fix parsing legacy DNS options 2025-06-17 14:25:04 +08:00
世界
67ab67975f
Fix DNS fallback 2025-06-17 14:25:04 +08:00
世界
3665723c66
documentation: Fix missing hosts DNS server 2025-06-17 14:25:03 +08:00
anytls
5253490bde
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-06-17 14:25:03 +08:00
ReleTor
46d40e6370
documentation: Minor fixes 2025-06-17 14:25:03 +08:00
libtry486
1b544afc62
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-06-17 14:25:03 +08:00
Alireza Ahmadi
9d5bc110ac
Fix Outbound deadlock 2025-06-17 14:25:02 +08:00
世界
71927fc02b
documentation: Fix AnyTLS doc 2025-06-17 14:25:02 +08:00
anytls
02885d2c0a
Add AnyTLS protocol 2025-06-17 14:25:01 +08:00
世界
3fb5d84542
Migrate to stdlib ECH support 2025-06-17 14:25:01 +08:00
世界
bf36e62560
Add fallback local DNS server for iOS 2025-06-17 14:25:01 +08:00
世界
ffd8ce99f0
Get darwin local DNS server from libresolv 2025-06-17 14:25:01 +08:00
世界
2a5bba8695
Improve resolve action 2025-06-17 14:25:00 +08:00
世界
e76d0d5a9b
Add back port hopping to hysteria 1 2025-06-17 14:25:00 +08:00
xchacha20-poly1305
0d287ae15e
Remove single quotes of raw Moziila certs 2025-06-17 14:24:59 +08:00
世界
a5332b48c3
Add Tailscale endpoint 2025-06-17 14:24:59 +08:00
世界
43ca1756dc
Build legacy binaries with latest Go 2025-06-17 14:24:59 +08:00
世界
8a0e272e7f
documentation: Remove outdated icons 2025-06-17 14:24:58 +08:00
世界
61ec6bb81c
documentation: Certificate store 2025-06-17 14:24:58 +08:00
世界
93a3f1e12f
documentation: TLS fragment 2025-06-17 14:24:58 +08:00
世界
125cad85c8
documentation: Outbound domain resolver 2025-06-17 14:24:57 +08:00
世界
26af3ecfa1
documentation: Refactor DNS 2025-06-17 14:24:57 +08:00
世界
4682149516
Add certificate store 2025-06-17 14:24:57 +08:00
世界
b465281ed9
Add TLS fragment support 2025-06-17 14:24:56 +08:00
世界
6094118a7a
refactor: Outbound domain resolver 2025-06-17 14:24:56 +08:00
世界
692d863422
refactor: DNS 2025-06-17 14:24:56 +08:00
3 changed files with 7 additions and 26 deletions

@ -1 +1 @@
Subproject commit eb2e13a6f9a8c03a35ae672395ccab0a6bdcd954
Subproject commit 320170a1077ea5c93872b3e055b96b8836615ef0

View File

@ -76,8 +76,6 @@ func findProcessName(network string, ip netip.Addr, port int) (string, error) {
// rup8(sizeof(xtcpcb_n))
itemSize += 208
}
var fallbackUDPProcess string
// skip the first xinpgen(24 bytes) block
for i := 24; i+itemSize <= len(buf); i += itemSize {
// offset of xinpcb_n and xsocket_n
@ -92,12 +90,10 @@ func findProcessName(network string, ip netip.Addr, port int) (string, error) {
flag := buf[inp+44]
var srcIP netip.Addr
srcIsIPv4 := false
switch {
case flag&0x1 > 0 && isIPv4:
// ipv4
srcIP = netip.AddrFrom4(*(*[4]byte)(buf[inp+76 : inp+80]))
srcIsIPv4 = true
case flag&0x2 > 0 && !isIPv4:
// ipv6
srcIP = netip.AddrFrom16(*(*[16]byte)(buf[inp+64 : inp+80]))
@ -105,21 +101,13 @@ func findProcessName(network string, ip netip.Addr, port int) (string, error) {
continue
}
if ip == srcIP {
// xsocket_n.so_last_pid
pid := readNativeUint32(buf[so+68 : so+72])
return getExecPathFromPID(pid)
if ip != srcIP {
continue
}
// udp packet connection may be not equal with srcIP
if network == N.NetworkUDP && srcIP.IsUnspecified() && isIPv4 == srcIsIPv4 {
pid := readNativeUint32(buf[so+68 : so+72])
fallbackUDPProcess, _ = getExecPathFromPID(pid)
}
}
if network == N.NetworkUDP && len(fallbackUDPProcess) > 0 {
return fallbackUDPProcess, nil
// xsocket_n.so_last_pid
pid := readNativeUint32(buf[so+68 : so+72])
return getExecPathFromPID(pid)
}
return "", ErrNotFound

View File

@ -2,17 +2,10 @@
icon: material/alert-decagram
---
#### 1.12.0-beta.27
#### 1.12.0-beta.26
* Fixes and improvements
### 1.11.14
* Fixes and improvements
_We are temporarily unable to update sing-box apps on the App Store because the reviewer mistakenly found that we
violated the rules (TestFlight users are not affected)._
#### 1.12.0-beta.24
* Allow `tls_fragment` and `tls_record_fragment` to be enabled together **1**