Compare commits

..

40 Commits

Author SHA1 Message Date
世界
75f526cb29
documentation: Bump version 2025-03-11 20:21:53 +08:00
Restia-Ashbell
ca37772b9e
documentation: Fix typo 2025-03-11 20:21:53 +08:00
anytls
8bd0d978d2
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-03-11 20:21:53 +08:00
k9982874
6358fd6a08
Fix hosts DNS server 2025-03-11 20:21:47 +08:00
世界
1a8994b44c
Fix UDP DNS server crash 2025-03-11 20:21:47 +08:00
世界
5c628f3ada
documentation: Fix missing ip_accept_any DNS rule option 2025-03-11 20:21:47 +08:00
世界
4c7fc4765b
Fix anytls dialer usage 2025-03-11 20:21:46 +08:00
世界
86a68e8588
Move predefined DNS server to rule action 2025-03-11 20:21:46 +08:00
世界
400dbb4214
Fix domain resolver on direct outbound 2025-03-11 20:21:46 +08:00
Zephyruso
9a521c76a7
Fix missing AnyTLS display name 2025-03-11 20:21:46 +08:00
anytls
02d3e7e44a
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-03-11 20:21:46 +08:00
Estel
94cb87e920
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-03-11 20:21:27 +08:00
TargetLocked
d1c4fa4e45
Fix parsing legacy DNS options 2025-03-11 20:21:27 +08:00
世界
4bec17c391
Fix DNS fallback 2025-03-11 20:21:27 +08:00
世界
609918dd93
documentation: Fix missing hosts DNS server 2025-03-11 20:21:27 +08:00
anytls
21feafab1a
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-03-11 20:21:18 +08:00
ReleTor
84f13073cd
documentation: Minor fixes 2025-03-11 20:21:18 +08:00
libtry486
a120f8a7ea
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-03-11 20:21:18 +08:00
Alireza Ahmadi
ca09454708
Fix Outbound deadlock 2025-03-11 20:21:18 +08:00
世界
c3da006859
documentation: Fix AnyTLS doc 2025-03-11 20:21:18 +08:00
anytls
bc72bcc053
Add AnyTLS protocol 2025-03-11 20:21:17 +08:00
世界
bb7989e81f
Migrate to stdlib ECH support 2025-03-11 20:21:17 +08:00
世界
fd16af06ab
Add fallback local DNS server for iOS 2025-03-11 20:21:17 +08:00
世界
b7311fd2cc
Get darwin local DNS server from libresolv 2025-03-11 20:21:17 +08:00
世界
53344f789f
Improve resolve action 2025-03-11 20:21:17 +08:00
世界
b43c4e0c87
Fix toolchain version 2025-03-11 20:21:16 +08:00
世界
8b1fcf7903
Add back port hopping to hysteria 1 2025-03-11 20:21:16 +08:00
世界
764d4b1950
Update dependencies 2025-03-11 20:21:16 +08:00
xchacha20-poly1305
1645cd30d9
Remove single quotes of raw Moziila certs 2025-03-11 20:21:16 +08:00
世界
32ac8fe7ec
Add Tailscale endpoint 2025-03-11 20:21:11 +08:00
世界
23778984ab
Build legacy binaries with latest Go 2025-03-11 20:21:09 +08:00
世界
10faff797a
documentation: Remove outdated icons 2025-03-11 20:21:05 +08:00
世界
7a7cf6216b
documentation: Certificate store 2025-03-11 20:21:03 +08:00
世界
ef82c51077
documentation: TLS fragment 2025-03-11 20:21:01 +08:00
世界
23a0d12834
documentation: Outbound domain resolver 2025-03-11 20:20:59 +08:00
世界
5ac18ce8ad
documentation: Refactor DNS 2025-03-11 20:20:56 +08:00
世界
6c38fec376
Add certificate store 2025-03-11 20:20:51 +08:00
世界
6c598746d5
Add TLS fragment support 2025-03-11 20:20:50 +08:00
世界
fe0ce58864
refactor: Outbound domain resolver 2025-03-11 20:20:48 +08:00
世界
7372d239a4
refactor: DNS 2025-03-11 20:20:46 +08:00
5 changed files with 11 additions and 10 deletions

View File

@ -155,7 +155,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: '~> v2'
version: nightly
install-only: true
- name: Extract signing key
run: |-
@ -551,7 +551,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: '~> v2'
version: 2.5.1
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: '~> v2'
version: latest
args: release -f .goreleaser.fury.yaml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

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

View File

@ -23,6 +23,7 @@ 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"
@ -100,7 +101,8 @@ 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) {
conn, dialErr := transportDialer.DialContext(ctx, N.NetworkUDP, serverAddr)
destinationAddr := M.ParseSocksaddr(addr)
conn, dialErr := transportDialer.DialContext(ctx, N.NetworkUDP, destinationAddr)
if dialErr != nil {
return nil, dialErr
}

View File

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