hprox: a lightweight HTTP proxy server, and more

[ apache, library, program, proxy, web ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/bjin/hprox#readme


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
static

Enable static build

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.6.1, 0.6.2
Dependencies async, base (<5.0), base64-bytestring, binary, bytestring, case-insensitive, conduit, conduit-extra, http-client, http-reverse-proxy (>=0.4.0), http-types, optparse-applicative, tls (>=1.5.0), unix, wai (>=3.2.2), wai-extra, warp (>=3.2.8), warp-tls (>=3.2.5) [details]
License Apache-2.0
Author Bin Jin
Maintainer bjin@ctrl-d.org
Category Web
Uploaded by BinJin at 2019-06-07T12:52:54Z
Distributions NixOS:0.6.2
Executables hprox
Downloads 1968 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-06-07 [all 3 reports]

Readme for hprox-0.1.0

[back to package description]

hprox

hprox is a lightweight HTTP/HTTPS proxy server.

Features

  • Basic HTTP proxy support, including HTTP GET/HTTP CONNECT support.
  • Simple password authentication.
  • HTTPS encryption support, requires a valid certificate. Supports TLS 1.3 and HTTP 2 out of box. This mode is also known as SPDY Proxy.
  • TLS SNI validation in HTTPS mode. Blocks connections with wrong domain name.
  • Provide PAC file for easy client side configuration. Supports Chrome and Firefox.
  • Can run upon any Haskell Web Application with wai interface. Defaults to a dumb application which simulate the default empty page from Apache.
  • websocket redirection. Compatible with v2ray-plugin for shadowsocks.
  • Reverse proxy support. Redirect requests to a fallback server.

Use hprox --help to list the options for further details.

Installation

Only Linux and macOS are supported. stack is required to build hprox.

stack install

Known Issue

  • Only HTTP server are supported for websocket and reverse proxy redirection.
  • Passwords are stored in plain text for now, please avoid using existing password.