f530708bb0 | ||
---|---|---|
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
auth.go | ||
condlog.go | ||
go.mod | ||
handler.go | ||
logwriter.go | ||
main.go | ||
utils.go |
README.md
dumbproxy
Dumbiest HTTP proxy ever.
Features
- Cross-platform (Windows/Mac OS/Linux/Android (via shell)/*BSD)
- Zero-configuration
- Supports CONNECT method and forwarding of HTTPS connections
- Supports
Basic
proxy authentication
Installation
Binary download
Pre-built binaries available on releases page.
From source
Alternatively, you may install dumbproxy from source. Run within source directory
go install
Usage
Just run program and it'll start accepting connections on port 8080 (default).
Example: run proxy on port 1234 with Basic
authentication with username admin
and password 123456
:
dumbproxy -bind-address :1234 -auth 'static://?username=admin&password=123456'
Authentication
Authentication parameters are passed as URI via -auth
parameter. Scheme of URI defines authentication metnod and query parameters define parameter values for authentication provider.
none
- no authentication. Example:none://
. This is default.static
- basic authentication for single login and password pair. Example:static://?username=admin&password=123456
. Parameters:username
- loginpassword
- password
Synopsis
$ ~/go/bin/dumbproxy -h
-bind-address string
HTTP proxy listen address (default ":8080")
-timeout duration
timeout for network operations (default 10s)
-verbosity int
logging verbosity (10 - debug, 20 - info, 30 - warning, 40 - error, 50 - critical) (default 20)