Compare commits

..

86 Commits

Author SHA1 Message Date
renovate[bot]
fe79904344
[dependencies] Update golangci/golangci-lint-action action to v8 2025-05-14 03:39:43 +00:00
世界
f2687a71dd
documentation: Bump version 2025-05-14 09:28:54 +08:00
Restia-Ashbell
e432d7259f
Fix TLS record fragment 2025-05-14 09:28:54 +08:00
世界
994c8ccb23
Add missing accept_routes option for Tailscale 2025-05-14 09:28:54 +08:00
世界
6500a9584f
Add TLS record fragment support 2025-05-14 09:28:54 +08:00
世界
a68d72dfe5
release: Update Go to 1.24.3 2025-05-14 09:28:54 +08:00
世界
68322a2ede
Fix set edns0 client subnet 2025-05-14 09:28:54 +08:00
世界
deee50684b
Update minor dependencies 2025-05-14 09:28:53 +08:00
世界
a3123abf6c
Update certmagic and providers 2025-05-14 09:28:53 +08:00
世界
47130b052b
Update protobuf and grpc 2025-05-14 09:28:53 +08:00
世界
eab7fb1b7e
Add control options for listeners 2025-05-14 09:28:53 +08:00
世界
f421c0e439
Update quic-go to v0.51.0 2025-05-14 09:28:53 +08:00
世界
3670371f4b
Update utls to v1.7.2 2025-05-14 09:28:53 +08:00
世界
56717b599d
Handle EDNS version downgrade 2025-05-14 09:28:53 +08:00
世界
2de381b430
documentation: Fix anytls padding scheme description 2025-05-14 09:28:53 +08:00
安容
c0e7f2cc58
Report invalid DNS address early 2025-05-14 09:28:53 +08:00
世界
30e9a2bcaf
Fix wireguard listen_port 2025-05-14 09:28:53 +08:00
世界
1fdd0f602f
clash-api: Add more meta api 2025-05-14 09:28:52 +08:00
世界
ac2bca3bf7
Fix DNS lookup 2025-05-14 09:28:52 +08:00
世界
1ca3a80e9c
Fix fetch ECH configs 2025-05-14 09:28:52 +08:00
reletor
bfec5f040d
documentation: Minor fixes 2025-05-14 09:28:52 +08:00
caelansar
052d912e3c
Fix callback deletion in UDP transport 2025-05-14 09:28:52 +08:00
世界
ff23969e43
documentation: Try to make the play review happy 2025-05-14 09:28:52 +08:00
世界
221bba4c96
Fix missing handling of legacy domain_strategy options 2025-05-14 09:28:52 +08:00
世界
2011148ef4
Improve local DNS server 2025-05-14 09:28:52 +08:00
anytls
4d43653795
Update anytls
Co-authored-by: anytls <anytls>
2025-05-14 09:28:52 +08:00
世界
88d08e3f53
Fix DNS dialer 2025-05-14 09:28:52 +08:00
世界
4a7494da58
release: Skip override version for iOS 2025-05-14 09:28:51 +08:00
iikira
a268062c55
Fix UDP DNS server crash
Signed-off-by: iikira <i2@mail.iikira.com>
2025-05-14 09:28:51 +08:00
ReleTor
383b844a43
Fix fetch ECH configs 2025-05-14 09:28:51 +08:00
世界
6ed53fb1c1
Allow direct outbounds without domain_resolver 2025-05-14 09:28:51 +08:00
世界
223ea51810
Fix Tailscale dialer 2025-05-14 09:28:51 +08:00
dyhkwong
6d3b24fe33
Fix DNS over QUIC stream close 2025-05-14 09:28:50 +08:00
anytls
cc758a2d79
Update anytls
Co-authored-by: anytls <anytls>
2025-05-14 09:28:50 +08:00
Rambling2076
a11cffce08
Fix missing with_tailscale in Dockerfile
Signed-off-by: Rambling2076 <Rambling2076@proton.me>
2025-05-14 09:28:49 +08:00
世界
23f77daba2
Fail when default DNS server not found 2025-05-14 09:28:49 +08:00
世界
f899e6c246
Update gVisor to 20250319.0 2025-05-14 09:28:49 +08:00
世界
73bab537d1
Explicitly reject detour to empty direct outbounds 2025-05-14 09:28:49 +08:00
世界
2224eee136
Add netns support 2025-05-14 09:28:49 +08:00
世界
c7abc49bea
Add wildcard name support for predefined records 2025-05-14 09:28:48 +08:00
世界
77b7c8d2a5
Remove map usage in options 2025-05-14 09:28:48 +08:00
世界
9ff02d7e0a
Fix unhandled DNS loop 2025-05-14 09:28:48 +08:00
世界
16e4401060
Add wildcard-sni support for shadow-tls inbound 2025-05-14 09:28:47 +08:00
k9982874
0974764c35
Add ntp protocol sniffing 2025-05-14 09:28:47 +08:00
世界
9833c23e1e
option: Fix marshal legacy DNS options 2025-05-14 09:28:47 +08:00
世界
3bfbf3e6b2
Make domain_resolver optional when only one DNS server is configured 2025-05-14 09:28:46 +08:00
世界
f2f959bf2f
Fix DNS lookup context pollution 2025-05-14 09:28:45 +08:00
世界
b876dd92be
Fix http3 DNS server connecting to wrong address 2025-05-14 09:28:45 +08:00
Restia-Ashbell
63580f0199
documentation: Fix typo 2025-05-14 09:28:45 +08:00
anytls
2e287fa0ce
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-05-14 09:28:45 +08:00
k9982874
2e2ba4ec8b
Fix hosts DNS server 2025-05-14 09:28:44 +08:00
世界
d999f44d62
Fix UDP DNS server crash 2025-05-14 09:28:44 +08:00
世界
b94a46f35c
documentation: Fix missing ip_accept_any DNS rule option 2025-05-14 09:28:44 +08:00
世界
fa45f2e4fb
Fix anytls dialer usage 2025-05-14 09:28:43 +08:00
世界
073cb6fab8
Move predefined DNS server to rule action 2025-05-14 09:28:43 +08:00
世界
632e071be3
Fix domain resolver on direct outbound 2025-05-14 09:28:43 +08:00
Zephyruso
dcc7648431
Fix missing AnyTLS display name 2025-05-14 09:28:43 +08:00
anytls
ecae4869ad
Update sing-anytls
Co-authored-by: anytls <anytls>
2025-05-14 09:28:42 +08:00
Estel
7bd83f1aa4
documentation: Fix typo
Signed-off-by: Estel <callmebedrockdigger@gmail.com>
2025-05-14 09:28:42 +08:00
TargetLocked
771d9b49e4
Fix parsing legacy DNS options 2025-05-14 09:28:42 +08:00
世界
270cf99d9f
Fix DNS fallback 2025-05-14 09:28:42 +08:00
世界
fd20fe48d2
documentation: Fix missing hosts DNS server 2025-05-14 09:28:42 +08:00
anytls
79edcb58f8
Add MinIdleSession option to AnyTLS outbound
Co-authored-by: anytls <anytls>
2025-05-14 09:28:41 +08:00
ReleTor
06327cc7be
documentation: Minor fixes 2025-05-14 09:28:41 +08:00
libtry486
b720472dc7
documentation: Fix typo
fix typo

Signed-off-by: libtry486 <89328481+libtry486@users.noreply.github.com>
2025-05-14 09:28:41 +08:00
Alireza Ahmadi
96434bd18e
Fix Outbound deadlock 2025-05-14 09:28:40 +08:00
世界
caa44e0276
documentation: Fix AnyTLS doc 2025-05-14 09:28:40 +08:00
anytls
d48a81fc3d
Add AnyTLS protocol 2025-05-14 09:28:40 +08:00
世界
040abba031
Migrate to stdlib ECH support 2025-05-14 09:28:40 +08:00
世界
bbce1feed6
Add fallback local DNS server for iOS 2025-05-14 09:28:40 +08:00
世界
7ef6b84e2b
Get darwin local DNS server from libresolv 2025-05-14 09:28:39 +08:00
世界
fccd3f9e00
Improve resolve action 2025-05-14 09:28:39 +08:00
世界
a08ebe8941
Add back port hopping to hysteria 1 2025-05-14 09:28:39 +08:00
xchacha20-poly1305
161e18b479
Remove single quotes of raw Moziila certs 2025-05-14 09:28:38 +08:00
世界
d1097c23a9
Add Tailscale endpoint 2025-05-14 09:28:38 +08:00
世界
1abc3420bd
Build legacy binaries with latest Go 2025-05-14 09:28:38 +08:00
世界
226f4a3919
documentation: Remove outdated icons 2025-05-14 09:28:38 +08:00
世界
8fd9eb9736
documentation: Certificate store 2025-05-14 09:28:38 +08:00
世界
bcdd3240ad
documentation: TLS fragment 2025-05-14 09:27:47 +08:00
世界
eef461259d
documentation: Outbound domain resolver 2025-05-14 09:27:47 +08:00
世界
46e863bd6f
documentation: Refactor DNS 2025-05-14 09:27:46 +08:00
世界
ef8ebec8d1
Add certificate store 2025-05-14 09:27:46 +08:00
世界
357b4c2422
Add TLS fragment support 2025-05-14 09:27:46 +08:00
世界
414bc9841b
refactor: Outbound domain resolver 2025-05-14 09:27:46 +08:00
世界
1d100c6515
refactor: DNS 2025-05-14 09:27:43 +08:00
世界
900888731c
Fix DNS reject response 2025-05-13 18:05:31 +08:00

View File

@ -258,7 +258,14 @@ func (r *Router) Exchange(ctx context.Context, message *mDNS.Msg, options adapte
case *R.RuleActionReject: case *R.RuleActionReject:
switch action.Method { switch action.Method {
case C.RuleActionRejectMethodDefault: case C.RuleActionRejectMethodDefault:
return FixedResponse(message.Id, message.Question[0], nil, 0), nil return &mDNS.Msg{
MsgHdr: mDNS.MsgHdr{
Id: message.Id,
Rcode: mDNS.RcodeRefused,
Response: true,
},
Question: []mDNS.Question{message.Question[0]},
}, nil
case C.RuleActionRejectMethodDrop: case C.RuleActionRejectMethodDrop:
return nil, tun.ErrDrop return nil, tun.ErrDrop
} }