Skip to content
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

Update vless mux #18

Closed
cbjn opened this issue Apr 24, 2023 · 12 comments
Closed

Update vless mux #18

cbjn opened this issue Apr 24, 2023 · 12 comments

Comments

@cbjn
Copy link

cbjn commented Apr 24, 2023

No description provided.

@chika0801

This comment was marked as outdated.

@chika0801

This comment was marked as outdated.

@chika0801 chika0801 reopened this Apr 24, 2023
@chika0801

This comment was marked as outdated.

@chika0801
Copy link
Owner

刚测试了 客户端配置

        {
            "type": "vless",
            "tag": "proxy",
            "server": "", // 服务端的 IP
            "server_port": 443,
            "uuid": "ee48f7be-6ae9-5654-9b61-8466aa8e16bc", // 与服务端一致
            "flow": "xtls-rprx-vision",
            "tls": {
                "enabled": true,
                "server_name": "www.lovelive-anime.jp", // 与服务端一致
                "utls": {
                    "enabled": true,
                    "fingerprint": "chrome" // 使用 uTLS 库模拟客户端 TLS 指纹
                },
                "reality": {
                    "enabled": true,
                    "public_key": "Z84J2IelR9ch3k8VtlVhhs5ycBUlXA7wHBWcBrjqnAw", // 服务端执行 ./sing-box generate reality-keypair 生成,私钥对应的公钥,填 "PublicKey" 的值
                    "short_id": "6ba85179e30d4fc2" // 与服务端一致
                }
            },
            "packet_encoding": "xudp",
            "multiplex": {
                "enabled": true,
                "protocol": "h2mux",
                "max_connections": 4,
                "min_streams": 4,
                "padding": true
            }
        },
        "flow": "xtls-rprx-vision", 这是必填,留空,服务端要报错

+0800 2023-04-24 11:45:43 ERROR [2177147257 110ms] inbound/vless[vless-in]: process connection from IP:2808: flow mismatch: expected xtls-rprx-vision, but got none

那么这相当于vision在做padding,外层用TCP传输时又有http2复用加提供的Mux。这么强的吗?

@chika0801
Copy link
Owner

测试了一下,访问github时,有出现几回的刷网页,内容空白,没加载出来的现象。

@chika0801
Copy link
Owner

参数简单,你自己添加到你配置就是了。模板怎么整理,我还没决定好。

@cbjn
Copy link
Author

cbjn commented Apr 24, 2023

参数简单,你自己添加到你配置就是了。模板怎么整理,我还没决定好。

Failed
decode config: outbound options: json:
unknown field "multiplex"

客户端应该还没合进来

@chika0801
Copy link
Owner

chika0801 commented Apr 24, 2023

现象1,两端日志级别是debug,但是我发现不了什么异常的,不帖日志了。

出现后,你按F5刷新,网页就刷开了。或此时不按F5,访问其它网站也能开。

123

现象2,碰巧发现使用在github上传图片一直提示这个。

2

@chika0801
Copy link
Owner

客户端应该还没合进来

我是自己编译的windows的文件,他的代码今天提交的,发布页没更新嘛

@chika0801
Copy link
Owner

这2种现象,我昨天用trojan H2Mux时没遇到

@chika0801 chika0801 reopened this Apr 24, 2023
@cbjn
Copy link
Author

cbjn commented Apr 24, 2023

XTLS/Xray-core@837d7d8

@nekohasekai
Copy link

smux 自带 padding 且不使用 TLS,启用 vision 什么都得不到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants