2dust / v2rayN

A GUI client for Windows and Linux, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
69.48k stars 11.5k forks source link

QUIC Host #362

Closed henrypijames closed 4 years ago

henrypijames commented 4 years ago

v2rayN 3.4 with v2ray-core 4.22.1 on Windows 10 x64

QUIC works (and only works) if host ("Camouflage domain") is not left empty, but the actual server hostname (which is identical to address in v2rayN and tlsSettings.servername on the server).

v2rayN telling user to put "4) QUIC security" as host is both counter-intuitive and wrong.

henrypijames commented 4 years ago

Looking at the config.json generated by v2rayN: When host is empty, tlsSettings.serverName is wrongfully set to null (should be same as vnext.address); and when host is set, both tlsSettings.serverName and quicSettings.security are set to it. Obviously, a host name is an invalid value for quicSettings.security, but luckily (and gracefully) ignored by v2ray-core.

yfdyh000 commented 4 years ago

394.