-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug]: 用SING-BOX生成的服务端TUIC配置还是错误。 #3407
Comments
我改了发现原来FIX好像还是对的,这个先让我测试一下。 |
查了一下,配置为这样的:{ 其中 "certificate": "/opt/tuic/fullchain.pem", |
你上次提供的fix代码整体是没有问题的,你不要去查原版tuic的服务端配置,sing-box的tuic配置与原版不一样的,详见:https://github.com/SagerNet/sing-box/blob/dev-next/docs/configuration/inbound/tuic.zh.md?plain=1 |
是我LUCI界面漏了QUIC TLS ALPN参数,写上h3 。然后客户端也加上,就行了。PASSWALL tuic配置没有错了。 |
好 |
描述您遇到的bug
我之前提交过BUG,/usr/lib/lua/luci/passwall/util_sing-box.lua 文件TUIC出错。 后来FIX了,虽然启动不报错,但是配置文件貌似连不上的,好像不对的。以下为生成的配置。
{
"tls": {
"enabled": true,
"key_path": "/root/private.key",
"certificate_path": "/root/self-sign.cer"
},
"type": "tuic",
"zero_rtt_handshake": false,
"listen": "::",
"users": [
{
"password": "1234",
"uuid": "2c697aa0-4db3-4af2-846a-26cac340277f",
"name": "2c697aa0-4db3-4af2-846a-26cac340277f"
},
{
"password": "1234",
"uuid": "61dc05b6-022d-4c7d-a5c1-2ad0a7f55b53",
"name": "61dc05b6-022d-4c7d-a5c1-2ad0a7f55b53"
}
],
"heartbeat": "3s",
"congestion_control": "cubic",
"listen_port": 33344,
"tag": "inbound"
}
但是我查阅TUIC服务端配置: "users": {
"00000000-0000-0000-0000-000000000000": "PASSWORD_0",
"00000000-0000-0000-0000-000000000001": "PASSWORD_1"
},关于USER格式是这样才对。其他字段有无错,我暂时也确认不了。
我发一下官网配置吧。
{
// The socket address to listen on
"server": "[::]:443",
}
复现此Bug的步骤
SING-BOX 服务端 TUIC 配置不报错 但是连不上。
您想要实现的目的
FIX
日志信息
FIX
截图
No response
系统相关信息
最新版
其他信息
No response
The text was updated successfully, but these errors were encountered: