#socks5-proxy #http-proxy #hub #sock #https #convert #line

bin+lib socks-hub

Convert http proxy or socks5 proxy to socks5 proxy

8 releases

0.1.13 Mar 30, 2024
0.1.12 Mar 24, 2024
0.1.9 Feb 29, 2024
0.1.0 Jan 22, 2024

#9 in #socks5-proxy

Download history 3/week @ 2024-01-19 10/week @ 2024-02-02 218/week @ 2024-02-23 123/week @ 2024-03-01 338/week @ 2024-03-08 264/week @ 2024-03-15 137/week @ 2024-03-22 168/week @ 2024-03-29 6/week @ 2024-04-05

314 downloads per month

MIT and maybe GPL-3.0-or-later

78KB
1.5K SLoC

socks-hub

Crates.io socks-hub Documentation Download License Rust

SOCKS-HUB is a SOCKS5 proxy hub. It can convert HTTP/HTTPS proxy to SOCKS5 proxy, and can also forward SOCKS5 proxy.

It is a simple and efficient alternative to privoxy. Compared with the tens of thousands of lines of privoxy code, SOCKS-HUB has only 800 lines of code, so you won't have any mental burden when using it.

Wish you happy using it.

Installation

Install from binary

Download the binary from releases and put it in your PATH.

Install from source

If you have rust toolchain installed, this should work:

cargo install socks-hub

Usage

SOCKS5 hub for downstreams proxy of HTTP or SOCKS5.

Usage: socks-hub [OPTIONS] --listen-addr <IP:port> --server-addr <IP:port>

Options:
  -t, --source-type <http|socks5>  Source proxy type [default: http] [possible values: http, socks5]
  -l, --listen-addr <IP:port>      Local listening address
  -u, --username <username>        Client authentication username, available both for HTTP and SOCKS5, optional
  -p, --password <password>        Client authentication password, available both for HTTP and SOCKS5, optional
  -s, --server-addr <IP:port>      Remote SOCKS5 server address
      --s5-username <username>     Remote SOCKS5 server authentication username, optional
      --s5-password <password>     Remote SOCKS5 server authentication password, optional
  -a, --acl-file <path>            ACL (Access Control List) file path, optional
  -v, --verbosity <level>          Log verbosity level [default: info] [possible values: off, error, warn, info, debug, trace]
  -h, --help                       Print help
  -V, --version                    Print version

Dependencies

~0–11MB
~111K SLoC