socks-hub
所属分类:Rust编程
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2024-03-05 00:34:56
上 传 者:
sh-1993
说明: 用于HTTP HTTPS和SOCKS5代理的SOCKS6代理中心,是privoxy的替代品。
(A SOCKS5 proxy hub for HTTP HTTPS and SOCKS5 proxy, an alternative of privoxy.)
文件列表:
src/
Cargo.toml
LICENSE
cbindgen.toml
rustfmt.toml
# socks-hub
[![Crates.io](https://img.shields.io/crates/v/socks-hub.svg)](https://crates.io/crates/socks-hub)
![socks-hub](https://docs.rs/socks-hub/badge.svg)
[![Documentation](https://img.shields.io/badge/docs-release-brightgreen.svg?style=flat)](https://docs.rs/socks-hub)
[![Download](https://img.shields.io/crates/d/socks-hub.svg)](https://crates.io/crates/socks-hub)
[![License](https://img.shields.io/crates/l/socks-hub.svg?style=flat)](https://github.com/ssrlive/socks-hub/blob/master/LICENSE)
`SOCKS-HUB` is a [SOCKS5](https://en.wikipedia.org/wiki/SOCKS#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](https://www.privoxy.org/).
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](https://github.com/ssrlive/socks-hub/releases) and put it in your `PATH`.
### Install from source
If you have [rust](https://rustup.rs/) toolchain installed, this should work:
```shell
cargo install socks-hub
```
## Usage
```shell
SOCKS5 hub for HTTP and SOCKS5 downstreams proxying.
Usage: socks-hub [OPTIONS] --local-addr
--server-addr
Options:
-t, --source-type Source type [default: http] [possible values: http, socks5]
-l, --local-addr Local listening address
-s, --server-addr Remote SOCKS5 server address
-u, --username Client authentication username, available both for HTTP and SOCKS5, optional
-p, --password Client authentication password, available both for HTTP and SOCKS5, optional
--s5-username SOCKS5 server authentication username, optional
--s5-password SOCKS5 server authentication password, optional
-v, --verbosity Log verbosity level [default: info] [possible values: off, error, warn, info, debug, trace]
-h, --help Print help
-V, --version Print version
```
近期下载者:
相关文件:
收藏者: