Ergo is an HTTP/HTTPS proxy that supports Proxy-Authorization
authentication.
Features:
- HTTP/HTTPS
- Authentication
- Deny list using urlfilter package
- Cache domain name resolution results
- Accept TCP connection
- Catch the request header
- Open the TCP tunnel to the remote
- Forward through TCP pipeline the whole request to the remote
- Accept TCP connection
- Catch CONNECT request
- Open the TCP tunnel to the remote provided by the CONNECT request. So it supports HTTP2 multiplexed flow
- Respond
200 OK
to the client to inform the tunnel is opened - Forward through TCP pipeline all the raw data
Useful when Ergo is behind a router like Traefik with TLS enabled and your client doesn't support TLS proxy endpoint.
Workflow:
- Forwarder opens a TCP connection to Ergo through the router
- Perform TLS handshake with the router TLS
- Forward through TCP pipeline all the raw data to be proxified
MIT
All PRs are welcome.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request