-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
1 parent
fc232c0
commit 74b7428
Showing
23 changed files
with
178 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,28 +4,20 @@ | |
|
||
[](https://travis-ci.org/txthinking/brook) | ||
[](https://txthinking.github.io/brook/) | ||
[](https://talks.txthinking.com) | ||
[](https://talks.txthinking.com) | ||
[](https://www.youtube.com/channel/UC5j8-I5Y4lWo4KTa4_0Kx5A) | ||
[](http://www.gnu.org/licenses/gpl-3.0) | ||
[](https://www.txthinking.com/opensource-support.html) | ||
[](https://docs.google.com/forms/d/e/1FAIpQLSdzMwPtDue3QoezXSKfhW88BXp57wkbDXnLaqokJqLeSWP9vQ/viewform) | ||
|
||
<p align="center"> | ||
<img style="float:right;" src="https://txthinking.github.io/brook/_static/brook.png" alt="Brook"/> | ||
</p> | ||
|
||
--- | ||
|
||
**v20200901** | ||
**v20210214** | ||
|
||
- **❗️Breaking change, you should upgrade both server and client** | ||
- New [Docs](https://txthinking.github.io/brook/) | ||
|
||
|
||
**v20210101** | ||
|
||
- Support iOS 13 | ||
- Import server list from URL. [ref here](https://txthinking.github.io/brook/#/brook-link) and [here](https://gist.githubusercontent.com/txthinking/7ecdb282982e14cc95714141c0ce2581/raw/350363229d1ce123b87b7cb0789e459969620cb3/brooklink.list) | ||
- more and more... | ||
|
||
--- | ||
|
||
|
@@ -41,9 +33,9 @@ Brook's goal is to keep it **simple**, **stupid** and **not detectable**. | |
Download from [releases](https://github.com/txthinking/brook/releases) | ||
|
||
``` | ||
# For example, on linux amd64, v20210101 | ||
# For example, on linux amd64, v20210214 | ||
curl -L https://github.com/txthinking/brook/releases/download/v20210101/brook_linux_amd64 -o /usr/bin/brook | ||
curl -L https://github.com/txthinking/brook/releases/download/v20210214/brook_linux_amd64 -o /usr/bin/brook | ||
chmod +x /usr/bin/brook | ||
``` | ||
|
||
|
@@ -57,7 +49,7 @@ nami install github.com/txthinking/brook | |
|
||
> The GUI file has only client function | ||
Download from [releases](https://github.com/txthinking/brook/releases): [macOS](https://github.com/txthinking/brook/releases/download/v20210101/Brook.dmg), [Windows](https://github.com/txthinking/brook/releases/download/v20210101/Brook.exe), [Android](https://github.com/txthinking/brook/releases/download/v20210101/Brook.apk), [iOS](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642) | ||
Download from [releases](https://github.com/txthinking/brook/releases): [macOS](https://github.com/txthinking/brook/releases/download/v20210214/Brook.dmg), [Windows](https://github.com/txthinking/brook/releases/download/v20210214/Brook.msi), [Android](https://github.com/txthinking/brook/releases/download/v20210214/Brook.apk), [iOS](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642) | ||
|
||
Install via brew | ||
|
||
|
@@ -77,20 +69,22 @@ USAGE: | |
brook [global options] command [command options] [arguments...] | ||
VERSION: | ||
20210101 | ||
20210214 | ||
AUTHOR: | ||
Cloud <[email protected]> | ||
COMMANDS: | ||
server Run as brook server, both TCP and UDP | ||
servers Run as multiple brook servers | ||
client Run as brook client, both TCP and UDP, to start a socks5 proxy or a http proxy, [src <-> socks5 <-> $ brook client <-> $ brook server <-> dst], [works with $ brook server] | ||
client Run as brook client, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook client <-> $ brook server <-> dst], [works with $ brook server] | ||
map Run as mapping, both TCP and UDP, this means access [from address] is equal to [to address], [src <-> from address <-> $ brook server <-> to address], [works with $ brook server] | ||
dns Run as DNS server, both TCP and UDP, [src <-> $ brook dns <-> $ brook server <-> dns server] or [src <-> $ brook dns <-> dns server for bypass], [works with $ brook server] | ||
tproxy Run as transparent proxy, both TCP and UDP, only works on Linux, [src <-> $ brook tproxy <-> $ brook server <-> dst], [works with $ brook server] | ||
wsserver Run as brook wsserver, both TCP and UDP, it will start a standard http(s) server and websocket server | ||
wsclient Run as brook wsclient, both TCP and UDP, to start a socks5 proxy or a http proxy, [src <-> socks5 <-> $ brook wsclient <-> $ brook wsserver <-> dst], [works with $ brook wsserver] | ||
wsserver Run as brook wsserver, both TCP and UDP, it will start a standard http server and websocket server | ||
wssserver Run as brook wssserver, both TCP and UDP, it will start a standard https server and websocket server | ||
wsclient Run as brook wsclient, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook wsclient <-> $ brook wsserver <-> dst], [works with $ brook wsserver] | ||
wssclient Run as brook wssclient, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook wssclient <-> $ brook wssserver <-> dst], [works with $ brook wssserver] | ||
link Print brook link | ||
qr Print brook server QR code | ||
relay Run as standalone relay, both TCP and UDP, this means access [listen address] is equal to access [to address], [src <-> listen address <-> to address] | ||
|
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 |
---|---|---|
|
@@ -4,28 +4,20 @@ | |
|
||
[](https://travis-ci.org/txthinking/brook) | ||
[](https://txthinking.github.io/brook/#/zh-cn/) | ||
[](https://talks.txthinking.com) | ||
[](https://talks.txthinking.com) | ||
[](https://www.youtube.com/channel/UC5j8-I5Y4lWo4KTa4_0Kx5A) | ||
[](http://www.gnu.org/licenses/gpl-3.0) | ||
[](https://www.txthinking.com/opensource-support.html) | ||
[](https://docs.google.com/forms/d/e/1FAIpQLSdzMwPtDue3QoezXSKfhW88BXp57wkbDXnLaqokJqLeSWP9vQ/viewform) | ||
|
||
<p align="center"> | ||
<img style="float:right;" src="https://txthinking.github.io/brook/_static/brook.png" alt="Brook"/> | ||
</p> | ||
|
||
--- | ||
|
||
**v20200901** | ||
**v20210214** | ||
|
||
- **此版本不兼容之前的版本, 建议一起升级服务端和客户端** | ||
- [新的文档站点](https://txthinking.github.io/brook/#/zh-cn/) | ||
|
||
|
||
**v20210101** | ||
|
||
- 支持从HTTP URL导入服务器列表. [参考这里](https://txthinking.github.io/brook/#/brook-link) 和 [这里](https://gist.githubusercontent.com/txthinking/7ecdb282982e14cc95714141c0ce2581/raw/350363229d1ce123b87b7cb0789e459969620cb3/brooklink.list) | ||
- 恢复支持iOS 13 | ||
- more and more... | ||
|
||
--- | ||
|
||
|
@@ -40,9 +32,9 @@ Brook 是一个跨平台的强加密无特征的代理软件. 偏爱 KISS 哲学 | |
从 [releases](https://github.com/txthinking/brook/releases) 页面下载 | ||
|
||
``` | ||
# 举例, linux amd64, v20210101 | ||
# 举例, linux amd64, v20210214 | ||
curl -L https://github.com/txthinking/brook/releases/download/v20210101/brook_linux_amd64 -o /usr/bin/brook | ||
curl -L https://github.com/txthinking/brook/releases/download/v20210214/brook_linux_amd64 -o /usr/bin/brook | ||
chmod +x /usr/bin/brook | ||
``` | ||
|
||
|
@@ -54,7 +46,7 @@ nami install github.com/txthinking/brook | |
|
||
### 安装 GUI (图形客户端) | ||
|
||
从 [releases](https://github.com/txthinking/brook/releases) 页面下载: [macOS](https://github.com/txthinking/brook/releases/download/v20210101/Brook.dmg), [Windows](https://github.com/txthinking/brook/releases/download/v20210101/Brook.exe), [Android](https://github.com/txthinking/brook/releases/download/v20210101/Brook.apk), [iOS](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642) | ||
从 [releases](https://github.com/txthinking/brook/releases) 页面下载: [macOS](https://github.com/txthinking/brook/releases/download/v20210214/Brook.dmg), [Windows](https://github.com/txthinking/brook/releases/download/v20210214/Brook.msi), [Android](https://github.com/txthinking/brook/releases/download/v20210214/Brook.apk), [iOS](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642) | ||
|
||
通过 brew 安装 | ||
|
||
|
@@ -74,20 +66,22 @@ USAGE: | |
brook [global options] command [command options] [arguments...] | ||
VERSION: | ||
20210101 | ||
20210214 | ||
AUTHOR: | ||
Cloud <[email protected]> | ||
COMMANDS: | ||
server Run as brook server, both TCP and UDP | ||
servers Run as multiple brook servers | ||
client Run as brook client, both TCP and UDP, to start a socks5 proxy or a http proxy, [src <-> socks5 <-> $ brook client <-> $ brook server <-> dst], [works with $ brook server] | ||
client Run as brook client, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook client <-> $ brook server <-> dst], [works with $ brook server] | ||
map Run as mapping, both TCP and UDP, this means access [from address] is equal to [to address], [src <-> from address <-> $ brook server <-> to address], [works with $ brook server] | ||
dns Run as DNS server, both TCP and UDP, [src <-> $ brook dns <-> $ brook server <-> dns server] or [src <-> $ brook dns <-> dns server for bypass], [works with $ brook server] | ||
tproxy Run as transparent proxy, both TCP and UDP, only works on Linux, [src <-> $ brook tproxy <-> $ brook server <-> dst], [works with $ brook server] | ||
wsserver Run as brook wsserver, both TCP and UDP, it will start a standard http(s) server and websocket server | ||
wsclient Run as brook wsclient, both TCP and UDP, to start a socks5 proxy or a http proxy, [src <-> socks5 <-> $ brook wsclient <-> $ brook wsserver <-> dst], [works with $ brook wsserver] | ||
wsserver Run as brook wsserver, both TCP and UDP, it will start a standard http server and websocket server | ||
wssserver Run as brook wssserver, both TCP and UDP, it will start a standard https server and websocket server | ||
wsclient Run as brook wsclient, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook wsclient <-> $ brook wsserver <-> dst], [works with $ brook wsserver] | ||
wssclient Run as brook wssclient, both TCP and UDP, to start a socks5 proxy, [src <-> socks5 <-> $ brook wssclient <-> $ brook wssserver <-> dst], [works with $ brook wssserver] | ||
link Print brook link | ||
qr Print brook server QR code | ||
relay Run as standalone relay, both TCP and UDP, this means access [listen address] is equal to access [to address], [src <-> listen address <-> to address] | ||
|
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
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
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,20 @@ | ||
Assume your brook wssserver is `wss://domain.com:443` and password is `hello` | ||
|
||
|
||
## On Brook GUI Client | ||
|
||
1. Select `wssserver` | ||
2. Type `wss://domain.com:443` on server field | ||
3. Type `hello` on password field | ||
4. Tap `Connect` button | ||
|
||
## Tips | ||
|
||
* On desktop, Please prefer to use Chrome browser | ||
* You may need to restart your browser or application | ||
|
||
## TODO | ||
|
||
> TODO: Please help improve the documentation here | ||
* Different modes and configurations in GUI Client |
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,22 @@ | ||
## $ brook wssclient | ||
|
||
Assume your brook wssserver is `wss://domain.com:443` and password is `hello`, and you want to create a socks5 proxy `127.0.0.1:1080` on local. | ||
|
||
``` | ||
send request <--> local socks5 <-- | brook wssserver protocol | --> brook wssserver <--> a remote address | ||
``` | ||
|
||
## Run brook wssclient | ||
|
||
``` | ||
$ brook wssclient -s wss://domain.com:443 -p hello --socks5 127.0.0.1:1080 | ||
``` | ||
|
||
> More parameters: $ brook wssclient -h | ||
## Use the socks5 proxy | ||
|
||
> TODO: Please help improve the documentation here | ||
* Configure it on your system network settings | ||
* Configure it on your browser |
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,16 @@ | ||
## Run brook wssserver | ||
|
||
Make sure your domain name has been successfully resolved, 80 and 443 are open, brook will automatically issue certificate for you, assume your domain is `domain.com` | ||
|
||
``` | ||
$ brook wssserver --domain domain.com -p hello | ||
``` | ||
|
||
> More parameters: $ brook wssserver -h | ||
Then your brook wsserver is: `wss://domain.com:443` | ||
|
||
## Run in background or daemon | ||
|
||
* Reference [Background](brook-server.md) | ||
* Reference [Daemon](joker.md) |
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
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
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
Oops, something went wrong.