Mahdi-zarei / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
GNU General Public License v3.0
530 stars 33 forks source link

BUG: Weird "security": "reality" in GUI #119

Closed SagePtr closed 2 months ago

SagePtr commented 3 months ago

Version 4.1.3

How to reproduce

  1. Import proxy configured like:
    vless://myUUID@MyServerIP:443?security=reality&sni=www.microsoft.com&alpn=h2&fp=chrome&pbk=MyPBK&sid=MySID&type=tcp&flow=xtls-rprx-vision&encryption=none

    It has "security": "tls" in GUI configuration, and both "Reality Pbk" and "Reality SID" hidden from GUI (but working).

  2. Check this proxy. It works without problems. Despite "Reality Pbk" and "Reality SID" fields hidden.
  3. Change "security" to "reality". Now "Reality Pbk" and "Reality SID" appear back with their filled in values.
  4. If we click OK and start this proxy, it doesn't connect with this message:
    INFO[0000] outbound/vless[g-1-0]: outbound connection to cp.cloudflare.com:80
    [[VLESS]] ошибка теста: Get "http://cp.cloudflare.com/": initialize vision: vision: not a valid supported TLS connection: *net.TCPConn
    Speedtest finished!
  5. If we copy our non-working proxy and paste it back, it works again. And if we just switch "security" from "reality" to "tls" it works too.
Mahdi-zarei commented 2 months ago

Try 4.1.4

SagePtr commented 2 months ago

Looks fixed