Conversation
Fangliding
approved these changes
May 23, 2025
fix(proxy/freedom): prevent crash when passthrough is "origin" or "srcip" In certain routing scenarios, outbound detour tags like "origin" or "srcip" may be assigned to freedom handlers without proper initialization, causing nil pointer dereference during Dial(). This patch adds guard checks to ensure the outbound handler is valid before dialing, and improves fallback logic for local address passthrough (e.g., 127.0.0.1) to avoid kernel crashes. Also ensures `sendThrough` behavior gracefully degrades if loopback or empty DNS response is encountered.
Member
|
要把所用ip打出来的话还是放在debug级别吧 |
Member
|
|
1 task
maoxikun
pushed a commit
to maoxikun/Xray-core
that referenced
this pull request
Aug 23, 2025
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com> (cherry picked from commit 028e111)
it2konst
pushed a commit
to it2konst/gametunnel-core
that referenced
this pull request
Mar 1, 2026
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
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.
fix file check bug