alireza0 说明 NX Panel 下一版的 Final Mask 分层设置与导出范围

alireza0 表示,NX Panel 不会为 VLESS 的 TCP/none 增加 Host 字段,因为这种传输没有可承载 Host 的 HTTP 请求。下一版将支持在入站、节点和全局三层设置分片掩码,以及 Hysteria2 的 UDP 噪声;就近设置优先,入站字段为空时继承节点、再继承全局,也可显式关闭继承。分片参数包括 packets、length、delay 和最大片数。他说明这些掩码可经 Xray 订阅及 VLESS、Trojan、Hysteria2 分享链接的 fm 参数交给 v2rayN/v2rayNG;VMess 链接没有对应字段,sing-box 和 Clash 客户端没有等价支持。项目选择三层覆盖,而非命名配置方案。

作者原文

Thanks for the detailed request. Here are both parts.

  1. A Host on VLESS over TCP with header type none

We're not adding this, because the value never reaches the wire. With raw TCP and header type none, there is no HTTP request for a Host header to go into. Xray's raw TCP settings have no host field. v2rayN and v2rayNG read host= on a TCP link only when headerType=http, which puts a fake HTTP request in front of the stream; with none they ignore it. So a TCP/none link with host=play.google.com makes exactly the same connection as one without it.

If you want the traffic to look like an HTTP request to play.google.com, that is Xray's HTTP header obfuscation (headerType=http). It needs a different transport on the server, and NX nodes don't serve it today. To keep the server name out of a single readable packet, use the fragment mask below.

  1. Final Mask settings

This is coming in the next release:

You can set the fragment mask and, on hysteria2, UDP noise at three levels: on an inbound, on a node, and panel-wide (Settings → Subscriptions). The fragment settings are packets, length, delay (your "interval") and maximum pieces.
The nearest level wins. A fragment field left empty on an inbound comes from its node, then from the panel. An inbound or a node can also turn off what it would otherwise inherit.
In practice, the panel-wide setting is your shared profile, and a node or an inbound overrides it where needed.
Clients get the masks through the Xray subscription. They are now also in share links: vless, trojan and hysteria2 links carry them in the fm parameter, which v2rayN and v2rayNG read.
vmess links have no field for the masks, and sing-box and Clash apps have nothing equivalent.
We chose these three levels instead of named profiles assigned to inbounds. If they don't fit how your inbounds are grouped, tell us how you'd group them and we'll look at it again.