Compare commits

..

76 Commits

Author SHA1 Message Date
世界
7c62db5dbd
Fix wireguard listen_port 2025-04-26 17:26:56 +08:00
世界
631abda983
documentation: Bump version 2025-04-25 16:28:21 +08:00
世界
c6553b9579
clash-api: Add more meta api 2025-04-25 16:28:21 +08:00
世界
80013ab822
Fix DNS lookup 2025-04-25 16:28:21 +08:00
世界
f4eb5d1d37
Fix tailscale sending unexpected stuff 2025-04-25 16:04:47 +08:00
世界
bac004a7db
Fix fetch ECH configs 2025-04-25 16:04:47 +08:00
reletor
1f6d91afac
documentation: Minor fixes 2025-04-25 16:04:46 +08:00
caelansar
5c90562ab4
Fix callback deletion in UDP transport 2025-04-25 16:04:46 +08:00
世界
5e7bee2344
documentation: Try to make the play review happy 2025-04-25 16:04:46 +08:00
世界
88ad93ec68
Fix missing handling of legacy domain_strategy options 2025-04-25 16:04:46 +08:00
世界
c5d056dccc
Improve local DNS server 2025-04-25 16:04:45 +08:00
anytls
a5f0975f16
Update anytls
Co-authored-by: anytls <anytls>
2025-04-25 16:04:45 +08:00
世界
12f708fc1b
Fix DNS dialer 2025-04-25 16:04:45 +08:00
世界
ed2d228766
release: Skip override version for iOS 2025-04-25 16:04:45 +08:00
iikira
2666d2422d
Fix UDP DNS server crash
Signed-off-by: iikira <i2@mail.iikira.com>
2025-04-25 16:04:45 +08:00
ReleTor
2d3cbcf3a6
Fix fetch ECH configs 2025-04-25 16:04:45 +08:00
世界
dc3a7dfff6
release: Update Go to 1.24.2 2025-04-25 16:04:44 +08:00
世界
ceff797cde
Allow direct outbounds without domain_resolver 2025-04-25 16:04:44 +08:00
世界
4bdda8e37c
Fix Tailscale dialer 2025-04-25 16:04:44 +08:00
dyhkwong
02b4b87a2b
Fix DNS over QUIC stream close 2025-04-25 16:04:44 +08:00
anytls
b3620d76a7
Update anytls
Co-authored-by: anytls <anytls>
2025-04-25 16:04:43 +08:00
Rambling2076
e8a2c95f1c
Fix missing with_tailscale in Dockerfile
Signed-off-by: Rambling2076 <Rambling2076@proton.me>
2025-04-25 16:04:43 +08:00
世界
b562536258
Fail when default DNS server not found 2025-04-25 16:04:43 +08:00
世界
768aa8fb4d
Update gVisor to 20250319.0 2025-04-25 16:04:42 +08:00
世界
f44ed1c5f6
release: Do not build tailscale on iOS and tvOS 2025-04-25 16:04:42 +08:00
世界
b661886be9
Explicitly reject detour to empty direct outbounds 2025-04-25 16:04:42 +08:00
世界
6f3ba8f895
Add netns support 2025-04-25 16:04:41 +08:00
世界
67736a27be
Add wildcard name support for predefined records 2025-04-25 16:04:41 +08:00
世界
7e3ee707f8
Remove map usage in options 2025-04-25 16:04:41 +08:00
世界
628e76098c
Fix unhandled DNS loop 2025-04-25 16:04:41 +08:00
世界
efb29260f3
Add wildcard-sni support for shadow-tls inbound 2025-04-25 16:04:40 +08:00
世界
93bba2c835
Fix Tailscale DNS 2025-04-25 16:04:40 +08:00
k9982874
080e94c136
Add ntp protocol sniffing 2025-04-25 16:04:39 +08:00
世界
a042a31fed
option: Fix marshal legacy DNS options 2025-04-25 16:04:39 +08:00
世界
2ff596d1a2
Make domain_resolver optional when only one DNS server is configured 2025-04-25 16:04:39 +08:00
世界
8a3f44f911
Fix DNS lookup context pollution 2025-04-25 16:04:39 +08:00
世界
69def3ca9c
Fix http3 DNS server connecting to wrong address 2025-04-25 16:04:38 +08:00
Restia-Ashbell
908055c425
documentation: Fix typo 2025-04-25 16:04:38 +08:00
anytls
510bc15f56
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-04-25 16:04:38 +08:00
k9982874
8a8376b723
Fix hosts DNS server 2025-04-25 16:04:38 +08:00
世界
890e48f892
Fix UDP DNS server crash 2025-04-25 16:04:38 +08:00
世界
1ab3541973
documentation: Fix missing ip_accept_any DNS rule option 2025-04-25 16:04:37 +08:00
世界
1e6f22d4a7
Fix anytls dialer usage 2025-04-25 16:04:37 +08:00
世界
035f8bae99
Move predefined DNS server to rule action 2025-04-25 16:04:36 +08:00
世界
cddb987365
Fix domain resolver on direct outbound 2025-04-25 16:04:36 +08:00
Zephyruso
d4697de3a0
Fix missing AnyTLS display name 2025-04-25 16:04:36 +08:00
anytls
9650bfd628
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-04-25 16:04:36 +08:00
Estel
78899b6a96
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-04-25 16:04:35 +08:00
TargetLocked
2822d1c4a2
Fix parsing legacy DNS options 2025-04-25 16:04:35 +08:00
世界
e6a974f879
Fix DNS fallback 2025-04-25 16:04:35 +08:00
世界
2736dc1531
documentation: Fix missing hosts DNS server 2025-04-25 16:04:35 +08:00
anytls
5fde4b5be9
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-04-25 16:04:35 +08:00
ReleTor
3051698f69
documentation: Minor fixes 2025-04-25 16:04:34 +08:00
libtry486
bd87fd7cdd
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-04-25 16:04:34 +08:00
Alireza Ahmadi
aa56698987
Fix Outbound deadlock 2025-04-25 16:04:34 +08:00
世界
4fef6a9845
documentation: Fix AnyTLS doc 2025-04-25 16:04:33 +08:00
anytls
f3ebc3f532
Add AnyTLS protocol 2025-04-25 16:04:33 +08:00
世界
ee3069b83e
Migrate to stdlib ECH support 2025-04-25 16:04:33 +08:00
世界
ba176cbf73
Add fallback local DNS server for iOS 2025-04-25 16:04:32 +08:00
世界
c91b6cdf58
Get darwin local DNS server from libresolv 2025-04-25 16:04:32 +08:00
世界
49e4d3d5f5
Improve resolve action 2025-04-25 16:04:32 +08:00
世界
7d012c2c40
Fix toolchain version 2025-04-25 16:04:32 +08:00
世界
4fed223ad9
Add back port hopping to hysteria 1 2025-04-25 16:04:32 +08:00
世界
1e6fb9ac23
Update dependencies 2025-04-25 16:04:31 +08:00
xchacha20-poly1305
c077840ba8
Remove single quotes of raw Moziila certs 2025-04-25 16:04:31 +08:00
世界
7e1125d3a6
Add Tailscale endpoint 2025-04-25 16:04:30 +08:00
世界
1e02ad27e2
Build legacy binaries with latest Go 2025-04-25 16:04:30 +08:00
世界
eeeaf942e8
documentation: Remove outdated icons 2025-04-25 16:04:30 +08:00
世界
fad6402a33
documentation: Certificate store 2025-04-25 16:04:30 +08:00
世界
9007333163
documentation: TLS fragment 2025-04-25 16:04:30 +08:00
世界
f1343b8e2d
documentation: Outbound domain resolver 2025-04-25 16:04:29 +08:00
世界
23786f4fc6
documentation: Refactor DNS 2025-04-25 16:04:29 +08:00
世界
56771b5341
Add certificate store 2025-04-25 16:04:29 +08:00
世界
753048fec6
Add TLS fragment support 2025-04-25 16:04:29 +08:00
世界
389b7b1015
refactor: Outbound domain resolver 2025-04-25 16:04:28 +08:00
世界
f7edf03836
refactor: DNS 2025-04-25 16:04:28 +08:00
9 changed files with 8 additions and 33 deletions

@ -1 +1 @@
Subproject commit 6a15780ce1659a234816f7248cbc09e8ea54a1be
Subproject commit 55f31c29bb68895ce544e0dfbf852b4b3e32b530

View File

@ -351,7 +351,7 @@ func (d *DefaultDialer) ListenPacketCompat(network, address string) (net.PacketC
}
return nil
})
return udpListener.ListenPacket(context.Background(), network, address)
return d.udpListener.ListenPacket(context.Background(), network, address)
}
func trackConn(conn net.Conn, err error) (net.Conn, error) {

View File

@ -93,9 +93,7 @@ func NewHTTPS(ctx context.Context, logger log.ContextLogger, tag string, options
return nil, err
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 443
}
return NewHTTPSRaw(

View File

@ -89,9 +89,7 @@ func NewHTTP3(ctx context.Context, logger log.ContextLogger, tag string, options
return nil, err
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 443
}
return &HTTP3Transport{

View File

@ -16,7 +16,6 @@ import (
sQUIC "github.com/sagernet/sing-quic"
"github.com/sagernet/sing/common"
"github.com/sagernet/sing/common/bufio"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
@ -56,9 +55,7 @@ func NewQUIC(ctx context.Context, logger log.ContextLogger, tag string, options
tlsConfig.SetNextProtos([]string{"doq"})
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 853
}
return &Transport{

View File

@ -13,7 +13,6 @@ import (
"github.com/sagernet/sing-box/option"
"github.com/sagernet/sing/common"
"github.com/sagernet/sing/common/buf"
E "github.com/sagernet/sing/common/exceptions"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
@ -38,9 +37,7 @@ func NewTCP(ctx context.Context, logger log.ContextLogger, tag string, options o
return nil, err
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 53
}
return &TCPTransport{

View File

@ -54,9 +54,7 @@ func NewTLS(ctx context.Context, logger log.ContextLogger, tag string, options o
return nil, err
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 853
}
return &TLSTransport{

View File

@ -13,7 +13,6 @@ import (
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
"github.com/sagernet/sing/common/buf"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
@ -45,9 +44,7 @@ func NewUDP(ctx context.Context, logger log.ContextLogger, tag string, options o
return nil, err
}
serverAddr := options.DNSServerAddressOptions.Build()
if !serverAddr.Addr.IsValid() {
return nil, E.New("invalid server address: ", serverAddr)
} else if serverAddr.Port == 0 {
if serverAddr.Port == 0 {
serverAddr.Port = 53
}
return NewUDPRaw(logger, dns.NewTransportAdapterWithRemoteOptions(C.DNSTypeUDP, tag, options), transportDialer, serverAddr), nil

View File

@ -2,16 +2,6 @@
icon: material/alert-decagram
---
#### 1.12.0-beta.6
* Fixes and improvements
### 1.11.9
* 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.5
* Fixes and improvements