fix: support authenticated socks5/http proxies#38
Open
noir017 wants to merge 1 commit into
Open
Conversation
Chromium 的 --proxy-server 无法携带凭据,导致导入带鉴权的 socks5://user:pass@host:port 代理时浏览器静默丢弃鉴权而连接失败。 内核选择器原先将所有 socks5/http 一律固定为 native,永远走不到 已有的 xray/mihomo 桥接逻辑。现改为:带鉴权的 socks5/http 自动 使用 xray/mihomo 桥接为本地无鉴权 socks5 再交给浏览器;无鉴权 代理仍走 native。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
Chromium 的 --proxy-server 无法携带凭据,导致导入带鉴权的
socks5://user:pass@host:port 代理时chrome浏览器静默丢弃鉴权而连接失败。
内核选择器原先将所有 socks5/http 一律固定为 native,不能使用 xray/mihomo。
现改为:带鉴权的 socks5/http 自动使用 xray/mihomo 代理为本地无鉴权 socks5 再交给浏览器;无鉴权
代理仍走 native。