Skip to content

Xray-core allows connection without tls when vnext is used #6600

Description

@Ilya87

V2rayN.txt
V2rayNG.txt

There are two configs of the same sudoku + password connection. When I use V2rayNG.txt config file I got
"infra/conf: vless without TLS or other encryption is prohibited unless the server address is a private IP or domain" and I can't establish connection, Xray-core can't start. when I use V2rayN.txt config file, the configuration works normal (of course, I have changed ip in config).

The first question is why sudoku connection with password is prohibited?
"Beneath the obfuscation layer, the protocol optionally employs AEAD to protect data integrity and confidentiality.

Algorithm Support: AES-128-GCM or ChaCha20-Poly1305.
PFS + Key Update: Session keys are derived per connection and rotated during long transfers.
Anti-Replay: Strict nonce de-duplication within a short TTL (plus timestamp skew checks) blocks window replays.

"
The second question is a different behavior, when vnext in configuration is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions