command
module
Version:
v0.0.0-...-f098038
Opens a new window with list of versions in this module.
Published: May 9, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Ergo
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
How does it work
HTTP
- Accept TCP connection
- Catch the request header
- Open the TCP tunnel to the remote
- Forward through TCP pipeline the whole request to the remote
HTTPS
- 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
tls-forwarder
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
License
MIT
Contributing
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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.