Socks5 inbound: Fix issues in new UDP ASSOCIATE#6325
Merged
Merged
Conversation
Member
|
我改 #6149 的时候也感觉这里可能会 panic 所以加了个注释 专门构造这种明显不合理的 Socks5 请求,那 APP 是啥成分啊,不过还是当成 0000 处理让它能连上吧
此外这行日志有点怪,似乎应该是 |
Member
Author
|
因为现在 udp in 不走 udp worker 了 所有inbound信息都是从tcp那个 udp associate 请求传来的 然后之前的user什么的都在那上面 算是一点点连带副作用 也不能说全错 毕竟这个udp转发请求确实是这个远端请求引导的 就是log看起来可能向udp |
Member
|
@Fangliding 依稀记得 TCP 连接里还没包含要访问的 UDP 目标,所以还是修一下吧,另外这个 PR 改成当 0000 来处理 |
Member
|
直接改 ctx 里的 inbound 是不是会有 race 等奇奇怪怪的问题,应该把它换个新的? |
RPRX
added a commit
that referenced
this pull request
Jun 17, 2026
#6325 (comment) Fixes #6323 --------- Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
Maolaohei
pushed a commit
to Maolaohei/Bray-Core
that referenced
this pull request
Jun 17, 2026
XTLS#6325 (comment) Fixes XTLS#6323 --------- Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
Arashalamdar67
approved these changes
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#6323
当初写的时候想着应该遇不到 没想到这么快就有非法请求了
这里是拒绝 或者也能当成0000处理让这些协议错误的软件可以连接