-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
67 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bp" | ||
version = "1.0.0-alpha.1" | ||
version = "1.0.0-alpha.2" | ||
authors = ["Micooz Lee <[email protected]>"] | ||
description = "bp is a lightweight and efficient proxy written in pure Rust." | ||
repository = "https://github.com/micooz/bp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
bp 1.0.0-alpha.2 | ||
|
||
Lightweight and efficient proxy written in pure Rust | ||
|
||
USAGE: | ||
bp [OPTIONS] | ||
|
||
OPTIONS: | ||
-b, --bind <BIND> | ||
local service bind address [default: 127.0.0.1:1080] | ||
|
||
-c, --client | ||
run as client | ||
|
||
--config <CONFIG> | ||
Configuration file in YAML/JSON format | ||
|
||
-d, --daemonize | ||
run as daemon process, unix only | ||
|
||
--dns-server <DNS_SERVER> | ||
DNS server address [default: 8.8.8.8:53] | ||
|
||
--force-dest-addr <FORCE_DEST_ADDR> | ||
force all incoming data relay to this destination, usually for testing [default: false] | ||
|
||
-h, --help | ||
Print help information | ||
|
||
-k, --key <KEY> | ||
symmetric encryption key | ||
|
||
-p, --protocol <PROTOCOL> | ||
protocol used by transport layer between client and server, "plain" or "erp" are | ||
supported [default: erp] | ||
|
||
--proxy-white-list <PROXY_WHITE_LIST> | ||
check white list before proxy, pass a file path | ||
|
||
-s, --server | ||
run as server | ||
|
||
--server-bind <SERVER_BIND> | ||
bp server bind address, client only. If not set, bp will relay directly | ||
|
||
--udp-over-tcp | ||
proxy UDP via TCP, client only. Requires --server-bind to be set if true [default: | ||
false] | ||
|
||
-V, --version | ||
Print version information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bp-cli" | ||
version = "1.0.0-alpha.1" | ||
version = "1.0.0-alpha.2" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bp-core" | ||
version = "1.0.0-alpha.1" | ||
version = "1.0.0-alpha.2" | ||
edition = "2021" | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bp-test" | ||
version = "1.0.0-alpha.0" | ||
version = "1.0.0-alpha.2" | ||
authors = ["Micooz Lee <[email protected]>"] | ||
description = "bp is a lightweight and efficient proxy written in pure Rust." | ||
repository = "https://github.com/micooz/bp" | ||
|