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

[Feature] Add Support for HTTPS/TLS Proxy in tun2socks #451

Open
slavb18 opened this issue Feb 16, 2025 · 1 comment
Open

[Feature] Add Support for HTTPS/TLS Proxy in tun2socks #451

slavb18 opened this issue Feb 16, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@slavb18
Copy link

slavb18 commented Feb 16, 2025

Description

Currently, tun2socks lacks support for routing traffic through an HTTPS/TLS proxy. Adding this feature would improve compatibility and broaden the range of supported network environments.

Problem:

When attempting to use an HTTPS proxy with tun2socks, users encounter the error in squid caching proxy:
error: transaction-end-before-headers

This suggests that the connection fails due to the lack of TLS support in the current proxy implementation.

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

Implement HTTPS CONNECT method support in tun2socks to establish tunnels through HTTPS proxies.
Integrate TLS support using OpenSSL to handle encrypted proxy connections.

Provide configuration options for users to specify HTTPS proxy settings, including Custom CA certificates for verifying proxy identity

@xjasonlyu xjasonlyu added the enhancement New feature or request label Feb 16, 2025
@xjasonlyu xjasonlyu self-assigned this Feb 16, 2025
@xjasonlyu
Copy link
Owner

Yea, that sounds like a good feature to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants