全节点(jp/us/ru/aq/hk2)已部署并实测通过(UoT DNS 端到端 ✅ + TCP 回归 ✅): - nginx 模板:map $request 识别 sing-box UoT v2 magic 地址 (sp.v2.udp-over-tcp.arpa)→ 127.0.0.1:15201;default_server 块加 proxy_connect_address;read/send timeout 10m - 新增 uot-relay/:Python 标准库 UoT v2 relay(connect/non-connect 双模式, 仅监听 127.0.0.1,空闲 9 分钟断开) - README 5.5 节:部署方法 + 客户端协议 + 四个实测坑 ($connect_host 未注册变量 / data_timeout 与 read_timeout 同槽 / CONNECT 恒落 default_server / 拒绝端口 0)
15 lines
370 B
Desktop File
15 lines
370 B
Desktop File
[Unit]
|
||
Description=RRPP UoT v2 relay (UDP over TCP decapsulator, localhost only)
|
||
After=network.target
|
||
|
||
[Service]
|
||
Type=simple
|
||
ExecStart=/usr/bin/python3 /opt/rrpp-uot-relay/uot_relay.py
|
||
Restart=on-failure
|
||
RestartSec=5
|
||
# 双保险:只许监听本机(脚本本身 bind 127.0.0.1)
|
||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||
|
||
[Install]
|
||
WantedBy=multi-user.target
|