-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(uncompleted) SplitHTTP: Client HTTP/3 #3543
Conversation
Any suggestions are welcome @mmmray |
看了一眼quic-go的代码照着kcp随便糊的 还没测试 这样应该就可以正常调用ray自己的连接机制设置连接目标和sockopt了 不知道能不能用 |
It works! thanks. |
嗯 我自己测了一下 发现dest是domain的话会炸 回来看好像已经解决了 这里要不要把resolve提到dialer前面 毕竟如果不止一个记录的话两个dest可能不一样不知道不知道会出问题 |
In It should be noted that utls is not implemented. Other than that, it looks good to me! |
Fixes #3456 (but properly, instead of browser dialer) |
It looks good to me. @Fangliding is there anything left to be done? I don't know much about the dialling parts. Any ideas on how to add a test? |
既然又要发新版不妨等这个完成, |
所以现在的逻辑是怎样的,自动使用 HTTP/3? |
但我又想了一下,鉴于 QUIC 类存活现状(虽然我们是套 CDN)以及现在还不支持 uquic,时机尚未成熟,再写写可以放 v1.9 |
It looks fine
It looks fine
逻辑和原来相同 要启用h3需要在alpn手动设置为h3 |
To recap:
If browser dialer is enabled, the entire logic is completely ignored, and it's up to the browser. The change related to browser dialer in this PR is ok, it removes some duplicated code. |
这个逻辑应该对浏览器指纹无效
这样的话先合了这个 PR 也不是不行,你们看一下还有哪些要改的, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the questions of 1) what to do with h1 fingerprinting and 2) how to integrate with uquic can be answered at a later point in time, and the PR can be released as-is. It just needs good documentation.
那就先合了,感谢 PR,这下 Xray 不小心也有了基于 HTTP/3 的 QUIC 类代理,@mmmray 麻烦研究下给下个版本加浏览器指纹 |
|
@Fangliding 帮我改一下最新 commit 的 message:
|
|
@mmmray 你来改也行, |
Closes XTLS#3456 Co-authored-by: Fangliding <[email protected]> Co-authored-by: mmmray <[email protected]>
it is done |
There is no need to send One day I hope this will be continued: refraction-networking/utls#74 |
其实我的意思是,Xray 选浏览器指纹时选 ALPN 也不会实际改, |
oops, I didn't know. I guess that's good! how is it possible for websocket then? I thought it's possible to override the |
Xray-core/transport/internet/tls/tls.go Lines 101 to 126 in b277bac
至少 Cloudflare 不行 XTLS/Xray-docs-next#516 (comment) |
而且还能套 CDN, |
so now we can use splitHttp using H3 alpn ? |
please if it possible give me an inbound reference for SplitHttp Alpn H3 |
Closes XTLS#3456 Co-authored-by: Fangliding <[email protected]> Co-authored-by: mmmray <[email protected]>
有人推荐我如此做,所以我这样做了。
但请注意这个 h3 目前不足够与配置适配(例如,目前不通过 uTLS 进行指纹伪装)。