apernet / hysteria

Hysteria is a powerful, lightning fast and censorship resistant proxy.
https://v2.hysteria.network/
MIT License
15.13k stars 1.69k forks source link

[Help me] 更新到1.3.2之后的版本后,clash.meta不能正常建立dns连接 #606

Open pty819 opened 1 year ago

pty819 commented 1 year ago

Details

1.3.4版本服务端,不能正常解析dns image 1.3.2版本服务端,可以正常解析dns image

Hysteria server information

hysteria version v1.3.4 2023-03-15 02:49:14 b94f8a1eaf939a1f3efb469cbca1c3442db78dbc

VPS information

Racknerd,San Jose,2G Ram, 2Core, x86

Server config

{ "listen": ":443", "alpn":"h3", "cert": "保密", "key": "保密", "up_mbps": 400, "down_mbps": 400, "resolver": "quic://dns.adguard-dns.com:853", "resolve_preference": "64" }

Server logs

新班本: Server configuration loaded 2023-05-07T03:16:47Z [WARN] Neither authentication nor obfuscation is turned on. Your server could be used by anyone! Are you sure this is what you want? 2023-05-07T03:16:47Z [INFO] [addr::443] Server up and running 2023-05-07T03:17:11Z [INFO] [src:27.38.192.250:24467] Client connected 2023-05-07T03:17:11Z [INFO] [src:27.38.192.250:24467] [dst:github.githubassets.com:443] [error:lookup github.githubassets.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:11Z [INFO] [src:27.38.192.250:24467] [dst:github.com:443] [error:lookup github.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:12Z [INFO] [src:116.24.66.51:46658] Client connected 2023-05-07T03:17:12Z [INFO] [src:27.38.192.250:24467] [dst:github.githubassets.com:443] [error:lookup github.githubassets.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:12Z [INFO] [src:27.38.192.250:24467] [dst:github.com:443] [error:lookup github.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:12Z [INFO] [src:116.24.66.51:46658] [dst:vscode-sync.trafficmanager.net:443] [error:lookup vscode-sync.trafficmanager.net on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:github.com:443] [error:lookup github.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:github.githubassets.com:443] [error:lookup github.githubassets.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:13Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:14Z [INFO] [src:27.38.192.250:24467] [dst:github.com:443] [error:lookup github.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:14Z [INFO] [src:27.38.192.250:24467] [dst:github.githubassets.com:443] [error:lookup github.githubassets.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:15Z [INFO] [src:27.38.192.250:24467] [dst:www.bing.com:443] [error:lookup www.bing.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:15Z [INFO] [src:27.38.192.250:24467] [dst:www.bing.com:443] [error:lookup www.bing.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:google.com:80] [error:lookup google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:google.com:80] [error:lookup google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.google.com:443] [error:lookup www.google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.gstatic.com:443] [error:lookup www.gstatic.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.bing.com:443] [error:lookup www.bing.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.bing.com:443] [error:lookup www.bing.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.google.com:443] [error:lookup www.google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:16Z [INFO] [src:27.38.192.250:24467] [dst:www.gstatic.com:443] [error:lookup www.gstatic.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:18Z [INFO] [src:27.38.192.250:24467] [dst:www.google.com:443] [error:lookup www.google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:18Z [INFO] [src:27.38.192.250:24467] [dst:www.gstatic.com:443] [error:lookup www.gstatic.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:19Z [INFO] [src:27.38.192.250:24467] [dst:www.gstatic.com:443] [error:lookup www.gstatic.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:19Z [INFO] [src:27.38.192.250:24467] [dst:www.google.com:443] [error:lookup www.google.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:22Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:22Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:22Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:23Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:30Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:30Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:30Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error 2023-05-07T03:17:30Z [INFO] [src:27.38.192.250:24467] [dst:www.youtube.com:443] [error:lookup www.youtube.com on 8.8.4.4:53: dns: overflow unpacking uint16] TCP error

旧版本: Neither authentication nor obfuscation is turned on. Your server could be used by anyone! Are you sure this is what you want? 2023-05-07T03:17:40Z [INFO] [addr::443] Server up and running 2023-05-07T03:17:40Z [INFO] [version:v1.3.4] [url:https://github.com/apernet/hysteria/releases/tag/v1.3.4] New version available 2023-05-07T03:18:16Z [INFO] [src:116.24.66.51:47371] Client connected 2023-05-07T03:18:16Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:16Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:16Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:16Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:16Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:17Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:17Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:17Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:18Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:18Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:18Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:19Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:19Z [DEBU] [src:116.24.66.51:47371] [dst:api.tabnine.com:443] [action:Direct] TCP request 2023-05-07T03:18:23Z [INFO] [src:27.38.192.250:24498] Client connected 2023-05-07T03:18:23Z [DEBU] [src:27.38.192.250:24498] [dst:www.youtube.com:443] [action:Direct] TCP request 2023-05-07T03:18:23Z [DEBU] [src:27.38.192.250:24498] [dst:www.youtube.com:443] [action:Direct] TCP request 2023-05-07T03:18:24Z [DEBU] [src:27.38.192.250:24498] [dst:play.google.com:443] [action:Direct] TCP request 2023-05-07T03:18:24Z [DEBU] [src:27.38.192.250:24498] [dst:www.google.com:443] [action:Direct] TCP request 2023-05-07T03:18:24Z [DEBU] [src:27.38.192.250:24498] [dst:play.google.com:443] [action:Direct] TCP request 2023-05-07T03:18:24Z [DEBU] [src:27.38.192.250:24498] [dst:www.google.com:443] [action:Direct] TCP request 2023-05-07T03:18:24Z [DEBU] [src:27.38.192.250:24498] [dst:www.bing.com:443] [action:Direct] TCP request 2023-05-07T03:18:25Z [DEBU] [src:27.38.192.250:24498] [dst:edge.microsoft.com:443] [action:Direct] TCP request 2023-05-07T03:18:25Z [DEBU] [src:27.38.192.250:24498] [dst:www.bing.com:443] [action:Direct] TCP request 2023-05-07T03:18:25Z [DEBU] [src:27.38.192.250:24498] [dst:edge.microsoft.com:443] [action:Direct] TCP request 2023-05-07T03:18:27Z [DEBU] [src:27.38.192.250:24498] [dst:edge.microsoft.com:443] [action:Direct] TCP request 2023-05-07T03:18:27Z [DEBU] [src:27.38.192.250:24498] [dst:edge.microsoft.com:443] [action:Direct] TCP request 2023-05-07T03:18:27Z [DEBU] [src:27.38.192.250:24498] [dst:edge.microsoft.com:443] TCP EOF 2023-05-07T03:18:32Z [DEBU] [src:27.38.192.250:24498] [dst:apis.google.com:443] [action:Direct] TCP request

Hysteria client information

clash.meta 1.14.4

Client config

mixed-port: 7890 allow-lan: true bind-address: '*' mode: rule log-level: info geodata-mode: true external-controller: '127.0.0.1:9090'

sniffer: #【Meta专属】sniffer域名嗅探器 enable: true #嗅探开关 sniffing: #嗅探协议对象:目前支持tls/http

dns: enable: true ipv6: false default-nameserver: [223.5.5.5, 119.29.29.29] enhanced-mode: redir-host fake-ip-range: 198.18.0.1/16 use-hosts: true nameserver: ['tls://dot.pub:853', 'tls://dns.alidns.com:853'] fallback: ['tls://1.1.1.1:853', 'tls://8.8.4.4:853'] fallback-filter: { geoip: true, ipcidr: [240.0.0.0/4, 0.0.0.0/32] } proxies:

proxy-groups:

rules:

Client environment (operating system)

win11

Client logs

image clash客户端没看出来有啥东西

tobyxdd commented 1 year ago

server 的 resolver 去掉的话是否正常?

pty819 commented 1 year ago

server 的 resolver 去掉的话是否正常?

去掉自定义的DNS后正常了

pty819 commented 1 year ago

server 的 resolver 去掉的话是否正常?

试了下指定tls://1.1.1.1和裸1.1.1.1都可以正常解析,就是doq的问题