Compare commits

..

44 Commits

Author SHA1 Message Date
世界
32c43a8f87
documentation: Bump version 2025-03-13 20:58:51 +08:00
世界
c0ecfedce6
Fix DNS lookup context pollution 2025-03-13 20:58:42 +08:00
世界
0595567594
Fix http3 DNS server connecting to wrong address 2025-03-13 20:58:42 +08:00
Restia-Ashbell
2dbadb8789
documentation: Fix typo 2025-03-13 20:58:21 +08:00
anytls
f5429fdf31
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-03-13 20:58:21 +08:00
k9982874
7843b7473d
Fix hosts DNS server 2025-03-13 20:58:21 +08:00
世界
1d7bf3cbf8
Fix UDP DNS server crash 2025-03-13 20:58:20 +08:00
世界
06321ec655
documentation: Fix missing ip_accept_any DNS rule option 2025-03-13 20:58:20 +08:00
世界
4e202f8ed7
Fix anytls dialer usage 2025-03-13 20:58:20 +08:00
世界
8fa4dfce91
Move predefined DNS server to rule action 2025-03-13 20:58:19 +08:00
世界
ce0036ae56
Fix domain resolver on direct outbound 2025-03-13 20:58:19 +08:00
Zephyruso
5c85409eb8
Fix missing AnyTLS display name 2025-03-13 20:58:19 +08:00
anytls
0bb55be50f
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-03-13 20:58:19 +08:00
Estel
99776a199e
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-03-13 20:58:18 +08:00
TargetLocked
ec0902623c
Fix parsing legacy DNS options 2025-03-13 20:58:18 +08:00
世界
97e99daeef
Fix DNS fallback 2025-03-13 20:58:18 +08:00
世界
d11143ead8
documentation: Fix missing hosts DNS server 2025-03-13 20:58:17 +08:00
anytls
5a1ca90c70
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-03-13 20:58:17 +08:00
ReleTor
bf70b096bf
documentation: Minor fixes 2025-03-13 20:58:17 +08:00
libtry486
46c8bafae5
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-03-13 20:58:17 +08:00
Alireza Ahmadi
ee8cd25b31
Fix Outbound deadlock 2025-03-13 20:58:17 +08:00
世界
587a74311b
documentation: Fix AnyTLS doc 2025-03-13 20:58:16 +08:00
anytls
0c5e5f7ab8
Add AnyTLS protocol 2025-03-13 20:58:16 +08:00
世界
1908dd0672
Migrate to stdlib ECH support 2025-03-13 20:58:15 +08:00
世界
6e5bddccaa
Add fallback local DNS server for iOS 2025-03-13 20:58:15 +08:00
世界
b646949449
Get darwin local DNS server from libresolv 2025-03-13 20:58:15 +08:00
世界
db973cf246
Improve resolve action 2025-03-13 20:58:08 +08:00
世界
6e06ce55ab
Fix toolchain version 2025-03-13 20:58:07 +08:00
世界
6b29c2e8e3
Add back port hopping to hysteria 1 2025-03-13 20:58:07 +08:00
世界
ba0cf49ae3
Update dependencies 2025-03-13 20:58:07 +08:00
xchacha20-poly1305
46c743cdee
Remove single quotes of raw Moziila certs 2025-03-13 20:58:06 +08:00
世界
7dc1d66857
Add Tailscale endpoint 2025-03-13 20:58:06 +08:00
世界
1b1f3a12b2
Build legacy binaries with latest Go 2025-03-13 20:58:05 +08:00
世界
0eee4abdad
documentation: Remove outdated icons 2025-03-13 20:58:05 +08:00
世界
cfcf77bb4f
documentation: Certificate store 2025-03-13 20:58:05 +08:00
世界
7a1f014094
documentation: TLS fragment 2025-03-13 20:58:04 +08:00
世界
45d785c256
documentation: Outbound domain resolver 2025-03-13 20:58:04 +08:00
世界
ab01bbf79e
documentation: Refactor DNS 2025-03-13 20:57:57 +08:00
世界
d6825fa358
Add certificate store 2025-03-13 20:57:56 +08:00
世界
9d6cee976e
Add TLS fragment support 2025-03-13 20:57:56 +08:00
世界
476552eeb4
refactor: Outbound domain resolver 2025-03-13 20:57:56 +08:00
世界
f81518ea82
refactor: DNS 2025-03-13 20:57:55 +08:00
世界
3ae036e997
Downgrade goreleaser to stable since nfpm fixed 2025-03-13 18:53:19 +08:00
世界
5da2d1d470
release: Fix goreleaser version 2025-03-12 16:15:50 +08:00
5 changed files with 10 additions and 11 deletions

View File

@ -155,7 +155,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: nightly
version: '~> v2'
install-only: true
- name: Extract signing key
run: |-
@ -551,7 +551,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: 2.5.1
version: '~> v2'
install-only: true
- name: Cache ghr
uses: actions/cache@v4

View File

@ -28,7 +28,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: latest
version: '~> v2'
args: release -f .goreleaser.fury.yaml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -383,7 +383,8 @@ func (r *Router) Lookup(ctx context.Context, domain string, options adapter.DNSQ
ruleIndex = -1
for {
dnsCtx := adapter.OverrideContext(ctx)
transport, rule, ruleIndex = r.matchDNS(ctx, false, ruleIndex, true, &options)
dnsOptions := options
transport, rule, ruleIndex = r.matchDNS(ctx, false, ruleIndex, true, &dnsOptions)
if rule != nil {
switch action := rule.Action().(type) {
case *R.RuleActionReject:
@ -416,10 +417,10 @@ func (r *Router) Lookup(ctx context.Context, domain string, options adapter.DNSQ
return rule.MatchAddressLimit(metadata)
}
}
if options.Strategy == C.DomainStrategyAsIS {
options.Strategy = r.defaultDomainStrategy
if dnsOptions.Strategy == C.DomainStrategyAsIS {
dnsOptions.Strategy = r.defaultDomainStrategy
}
responseAddrs, err = r.client.Lookup(dnsCtx, transport, domain, options, responseCheck)
responseAddrs, err = r.client.Lookup(dnsCtx, transport, domain, dnsOptions, responseCheck)
if responseCheck == nil || err == nil {
break
}

View File

@ -23,7 +23,6 @@ import (
"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"
sHTTP "github.com/sagernet/sing/protocol/http"
@ -101,8 +100,7 @@ func NewHTTP3(ctx context.Context, logger log.ContextLogger, tag string, options
headers: headers,
transport: &http3.Transport{
Dial: func(ctx context.Context, addr string, tlsCfg *tls.STDConfig, cfg *quic.Config) (quic.EarlyConnection, error) {
destinationAddr := M.ParseSocksaddr(addr)
conn, dialErr := transportDialer.DialContext(ctx, N.NetworkUDP, destinationAddr)
conn, dialErr := transportDialer.DialContext(ctx, N.NetworkUDP, serverAddr)
if dialErr != nil {
return nil, dialErr
}

View File

@ -2,7 +2,7 @@
icon: material/alert-decagram
---
#### 1.12.0-alpha.14
#### 1.12.0-alpha.15
* Fixes and improvements