-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Validate VMess outbound security settings #5640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Forbid insecure outbound settings.
|
要判断一下,只针对公网 IP 段 |
|
vless都没ban vmess就别吧 这样只会更多人炸掉 |
|
|
|
|
增加了内网地址检测(IsLoopback和IsPrivate应该够了)
针对某水表机场的,某拼音M开头的“专线”机场采用的无内层加密、无TLS的VMess传输层并且采用水表在屋外的先进技术。 |
那也是 vless 啊 |
|
VLESS VMess SS Trojan 都上吧,Socks5 和 HTTP 就不管了, |
|
Trojan理论上不应该出现明文传输(实际上我也没见过Trojan明文,另外Trojan规定必须外层套TLS),ss无加密应该是退化成socks5了(还没见过没加密的ss),vless倒是可以搞 |
|
|
|
|
Add Vless Hysteria2 and Trojan support
|
根据 Trojan协议的定义,不应该出现没TLS出站的情况,也就是连接Trojan服务器必然是TLS连接(无论内网还是外网),VLess不一定(可能是内网无加密连接,也见过小白一键部署80端口服务端) |
|
hy 传输层限制需要 tls
hy proxy 部分仍是明文,搭配其他传输层仍可能裸奔, |
Removed duplicated TLS outbound detection on hysteria2 (should always with QUIC)
啥时候弄出来让老王VPN爱好者、明文上网魔人体验一下? |
|
|
|
所以是真的要强推vless enc,即使已经tls 也要enc? |
|
VMess 的话 zero 和 none 一样数据不加密的,只是头部保护,一样处理吧 |
|
@OfficialKatana @j4Uq |
|
|
trojan is the best protocol for passing data from Xray-core, to other-local/lan-custom-app, because:
Except for MMDF (which later became fully supported by Xray-core, except for automatic-alpn-selection) i also wrote other apps and i plan to publish them soon. Most of them are programs that change packet-ip/tcp-headers to bypass censorship, but Xray-core does not support sock-raw-outbounds, so i cannot implement them in xray-core. Also socks5 and proxy-protocol have some limitations on udp:
Although even with TLS being mandatory, i can use modified-Xray-core, and tell others to use that, but it's not easy to maintain and keep it up to date, and there's no need to do that at all. Also, for android/ios users you need to create a new app !!! so Xray-core-trojan should allow non-tls communication, to be able to communicate with other-local/lan-custom-app. |
|
|
|
It seems that the current plan is to allow 127.0.0.1 separately |
sock-raw-apps, does not run on non-root-android/ios, so the helper-app must be installed on pc/laptop, so all private IPs should be allowed. |
|
VLESS has an optional perfect encryption, so 'VLESS should always with TLS' comment is wrong You forgot VMESS 'zero' encryption, it's like 'none' User can add an encryption in other parts of configs, like VLESS+proxySettings/dialerProxy/finalMask There can be an environment variable to allow insecure outbounds, for any special scenario |
Add extra detection for Trojan protocol
有的,已经有youtuber做无加密SS的CF workers,但传输层wss |

Forbid insecure outbound settings.