Skip to content
Discussion options

You must be logged in to vote

This is possible because Xray-core uses a feature called "sniffing".

"Sniffing" is a feature that allows Xray-core to examine or "sniff" the data passing through it, and extract useful information such as the true destination of the data. Specifically, Xray-core can sniff out the domain names from the traffic data.

For HTTPS traffic, Xray-core can look into the Server Name Indication (SNI) field which is part of the TLS handshake, and this field contains the hostname of the server that the client is trying to connect to.

For HTTP traffic, Xray-core can look into the HTTP headers to determine the true destination of the traffic. Specifically, it can look at the "Host" header field, which s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NBogos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants