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

feat(proxy): Add socks4a proxy protocol support #416

Merged
merged 1 commit into from
Feb 9, 2025
Merged

feat(proxy): Add socks4a proxy protocol support #416

merged 1 commit into from
Feb 9, 2025

Conversation

0x676e67
Copy link
Owner

@0x676e67 0x676e67 commented Feb 9, 2025

This pull request includes several updates to the Cargo.toml file and enhancements to the SOCKS proxy support in the src/connect.rs and src/proxy.rs files. The most important changes include the addition of new dependencies, the introduction of remote_dns support for SOCKS4 proxies, and the refactoring of related code to accommodate these enhancements.

SOCKS Proxy Enhancements:

  • Updated ProxyScheme::Socks4 to include a remote_dns boolean field.
  • Introduced the socks4a variant in ProxyScheme to support DNS resolution via the proxy.
  • Updated the connect_socks method in ConnectorService to handle the remote_dns field for SOCKS4 proxies.
  • Modified the socks module to accommodate the remote_dns field in ProxyScheme::Socks4.
  • Updated the fmt::Debug implementation for ProxyScheme to reflect the remote_dns field in SOCKS4 proxies.

@0x676e67 0x676e67 merged commit 1f98b6e into main Feb 9, 2025
4 checks passed
@0x676e67 0x676e67 deleted the feat branch February 9, 2025 03:50
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.

1 participant