增加了代理支持功能,提供 http, https, socks4, socks5 代理功能,基本的认证方式,增加了2个示例APP,GUI更全面。 - #202
Open
wqmeng wants to merge 5 commits into
Open
增加了代理支持功能,提供 http, https, socks4, socks5 代理功能,基本的认证方式,增加了2个示例APP,GUI更全面。#202wqmeng wants to merge 5 commits into
wqmeng wants to merge 5 commits into
Conversation
中文:增加命令行和标准 FMX 代理演示,覆盖 HTTP、HTTPS、SOCKS4、SOCKS5、IPv4、IPv6、DNS、WebSocket 及用户名密码认证;将代理握手和认证失败原因传递到 HTTP 上层,并完善 HTTP 407 与 SOCKS5 错误提示。提交仅包含源码和项目文件,不包含编译产物。 English: Add command-line and standard FMX proxy demos covering HTTP, HTTPS, SOCKS4, SOCKS5, IPv4, IPv6, DNS, WebSocket, and username/password authentication. Propagate proxy handshake and authentication failures to the HTTP layer and improve HTTP 407 and SOCKS5 diagnostics. Source and project files only; build artifacts are excluded.
中文:合并 origin/master 的 TLS 1.2/1.3 加密套件配置、OpenSSL 错误清理及相关测试文档;保留本地代理 Demo 与代理错误诊断,并解决 OpenSSL 声明冲突。 English: Merge origin/master TLS 1.2/1.3 cipher-suite configuration, OpenSSL error cleanup, and related test documentation. Preserve the local proxy demos and proxy diagnostics while resolving the OpenSSL declaration conflict.
中文:为标准 FMX 代理演示增加 UDP DNS 测试,支持 direct 和 SOCKS5 UDP ASSOCIATE,分别查询 A/AAAA 记录并显示实际 DNS 地址;明确拒绝 HTTP、HTTPS 和 SOCKS4 的 UDP 测试。修复合并后的 OpenSSL 错误清理和发送重载编译问题。 English: Add UDP DNS diagnostics to the standard FMX proxy demo with direct and SOCKS5 UDP ASSOCIATE support, A/AAAA result parsing, and explicit unsupported handling for HTTP, HTTPS, and SOCKS4. Fix the post-merge OpenSSL error cleanup and send-overload compilation issues.
中文:修复 DNS 和 UDP DNS 的 SOCKS5 用户名密码 ASCII 编码问题;修复 IPv4/IPv6 UDP Relay 地址处理及 IPv6 接收地址缓冲区,确保代理认证和 A/AAAA 查询结果正常返回。 English: Fix ASCII encoding of SOCKS5 credentials for DNS and UDP DNS, and correct IPv4/IPv6 UDP relay handling and IPv6 receive-address storage so proxy authentication and A/AAAA results work correctly.
中文:补齐 ProxyClient 的标准 ProjectVersion 和 Release 配置,并使用 $(MainSource) 绑定 DelphiCompile,修复 RAD Studio 保存项目异常及重复入口文件导致的 F1026 编译错误。 English: Normalize ProxyClient project metadata with the standard ProjectVersion and Release configuration, and bind DelphiCompile through $(MainSource) to fix RAD Studio save failures and the F1026 duplicate entry-file error.
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.
您好
代理支持 http, https, socks4, socks5。
支持 IPv4, IPv6代理服务器地址
支持 NS 域名解析通过代理
支持 TCP UDP 代理
支持 http, socks5 简单验证 basic 模式。
GUI 示例更详细了演示了目前代理的能力。
希望能合并到仓库。
不足:
后面需要再添加一些其他的认证方式,就算比较完善了。
只测试了 Win10 系统, 其他系统没有测试。跨平台能力还需要验证。