Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

tun2socks: Implement support for HTTP proxies #107

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

blechschmidt
Copy link

@blechschmidt blechschmidt commented Aug 11, 2020

These commits add support for HTTP/1.1 proxies using the HTTP CONNECT method.

Commit f57f6b3 implements functional support for HTTP. It adds a BHttpProxyClient structure, which is largely based on the BSocksClient implementation and supports basic authorization via the Proxy-Authorization header (Base64).

Commit 1297570 renames variables that are no longer specific to the SOCKS protocol. Instead, the more generic term proxy, which applies to SOCKS and HTTP, is used. However, this commit may lead to larger conflicts interfering with other ongoing development, so it might be desirable to not apply it.

Commit 4448e82 implements an error message notifying users that --append-source-to-username is not supported for HTTP proxies.

Commit 5cd80be adds the generated definitions for logging BHttpProxyClient messages.

Implement support for HTTP/1.1 proxies using the HTTP CONNECT method.
This commit also implements basic authentication using the Proxy-Authorization
header. It adds a BHttpProxyClient structure which is based on the
BSocksClient implementation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant