完整性要求
描述
tunnel 入站协议的 allowedNetwork 配置无效。
配置为 udp 时,依然监听 tcp 端口
重现方式
配置 tunnel 入站协议
{
"listen": "127.0.0.1",
"port": 597,
"protocol": "tunnel",
"settings": {
"allowedNetwork": "udp",
"rewriteAddress": "127.0.0.1",
"rewritePort": 12345
}
}
客户端配置
配置 tunnel 入站协议
{
"listen": "127.0.0.1",
"port": 597,
"protocol": "tunnel",
"settings": {
"allowedNetwork": "udp",
"rewriteAddress": "127.0.0.1",
"rewritePort": 12345
}
}
服务端配置
无
客户端日志
Jun 30 18:11:55 systemd[1]: Started xray@client.service - Xray Service.
Jun 30 18:11:55 xray[208706]: Xray 26.3.27 (Xray, Penetrates Everything.) d2758a0 (go1.26.1 linux/amd64)
Jun 30 18:11:55 xray[208706]: A unified platform for anti-censorship.
Jun 30 18:11:55 xray[208706]: 2026/06/30 18:11:55.490130 [Info] infra/conf/serial: Reading config: &{Name:/usr/local/etc/xray/client.json Format:json}
Jun 30 18:11:55 xray[208706]: 2026/06/30 18:11:55.491567 [Warning] core: Xray 26.3.27 started
netstat
tcp 0 0 127.0.0.1:597 0.0.0.0:* LISTEN 208767/xray
服务端日志
无
完整性要求
描述
tunnel 入站协议的 allowedNetwork 配置无效。
配置为 udp 时,依然监听 tcp 端口
重现方式
配置 tunnel 入站协议
客户端配置
配置 tunnel 入站协议
服务端配置
无
客户端日志
服务端日志
无