v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

Some question about HTTP inbound

Open plusls opened this issue 2 years ago • 2 comments

在实际使用中,如果代理直接从 socks5 inbound 进去的话,可以正常过墙没有问题

但是如果使用 http inbound,dns貌似会出问题(被污染?),只有在 v2ray 中指定 dns 为 1.1.1.1 才能正常工作

用v2fly 的 core 貌似没这个问题

plusls avatar Mar 03 '22 15:03 plusls

http 入站因为历史原因 (默认开启了追加系统 HTTP 代理)强制将请求的域名解析为 IP 再连接了。因为 SN 设计为透明代理与统一的 DNS,将域名发送到远程解析可能会造成 DNS 泄漏。

socks 入站没有更改是因为 SN 基本已经不需要这个东西(忘了)。

nekohasekai avatar Mar 03 '22 15:03 nekohasekai

http 入站因为历史原因 (默认开启了追加系统 HTTP 代理)强制将请求的域名解析为 IP 再连接了。因为 SN 设计为透明代理与统一的 DNS,将域名发送到远程解析可能会造成 DNS 泄漏。

socks 入站没有更改是因为 SN 基本已经不需要这个东西(忘了)。

那有没有办法来避免这个问题呢,因为 sager core 加了一些东西,现在我在 linux 和 windows 都在使用 sager 的 core

只有手动指定 dns 这一条路么

plusls avatar Mar 03 '22 15:03 plusls