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

Freedom: Don't use rawConn copy when using utls #4272

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Conversation

Fangliding
Copy link
Member

@Fangliding Fangliding commented Jan 9, 2025

之前 @yuhan6665 修改了freedom让它不要在使用tls执行 rawcopy 方法是尝试将conn断言为tls.Conn 成功则跳过 但是从某个更新之后默认utls导致这里变成了 tls.UConn 致使断言失败

@RPRX RPRX requested a review from yuhan6665 January 10, 2025 01:56
@RPRX
Copy link
Member

RPRX commented Jan 10, 2025

意思是 MITM 所以给 freedom 配置了 TLS 吗

@RPRX
Copy link
Member

RPRX commented Jan 10, 2025

本来想等 Go 1.23.5 发个新版,这 Go 怎么也摆了就是不发 1.23.5

@Fangliding
Copy link
Member Author

意思是 MITM 所以给 freedom 配置了 TLS 吗

是的 将解密后的流量重新打包进tls

@yuhan6665
Copy link
Member

感谢修复!

@yuhan6665 yuhan6665 merged commit 3e590a4 into main Jan 12, 2025
72 checks passed
@RPRX RPRX deleted the freedom-fix branch January 22, 2025 09:36
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

Successfully merging this pull request may close these issues.

3 participants