TxThinking
566 subscribers
52 photos
5 videos
5 files
257 links
Download Telegram
ZH 视频:

一个全自动管理 Brook 的 Web UI

如果你不知道这个是什么或者没有一定的Linux知识,以及 nami joker nico hancock mad brook 这几个命令是如何工作的,brook-manager 本质上是调用这些命令来完成工作。否则更适合你的是 brook 官方文档里的三行命令或官方文档里的一键脚本。

EN Video:

A Web UI for fully automatic management of Brook

If you don't know what this is or don't have some Linux knowledge, and how these commands nami joker nico hancock mad brook work, brook-manager essentially invokes these commands to do its work. Otherwise, the three-line command in the official brook document is more suitable for you.
👍13
joker v20230101

- joker restart
👍4
Brook v20230101

CLI

- brook echoserver: new command
- brook echoclient: new command
- brook markdown renamed to brook mdpage

Documentation

GUI

- Linux GUI Client
- Edge is no longer needed. Temporarily no System tray.
- Desktop tun mode supports bypass on
- Hosts: like etc hosts
- Log View Plus: filter condition
- MITM Log View: HTTP/HTTPS request and response
- Programmable: Everything is possible

GUI Documentation

---

CLI

- brook echoserver: 新命令
- brook echoclient: 新命令
- brook markdown 重命名 brook mdpage

文档

GUI

- Linux 图形客户端
- Edge 不再需要. 暂无 System tray.
- 桌面 tun 模式支持 bypass 开启
- Hosts, 就像 etc hosts
- Log View Plus: 过滤条件
- MITM Log View: HTTP/HTTPS 请求和响应日志
- 可编程: 一切皆有可能

GUI 文档
❤‍🔥3🆒2⚡1👍1🎉1
For small merchants, how to prevent secondary sharing of brook link, you can choose the import method, and set some time limits on the import link or only allow import once. This is definitely enough for non-developers.

As the documentation says, what is imported is a txt file, with one brook link per line. There are many pastebin services on the Internet, which can help you generate txt http links, and some of them can even set the expiration time. Search pastebin service.

---

Here is an open source pastebin service:
- Only possible to import from Brook GUI. Can't see the content of txt in the browser
- The number of imports can be set. For example, once, even if it is shared, it cannot be imported again
- An expiration time can be set. Cannot be imported after expiration

Source code. If you are a developer, read, fork, and modify it, for yourself.

How to deploy:


nami install deno
deno run -A https://gist.githubusercontent.com/txthinking/e69cfec36efe0f0d63a8ced181466515/raw/447f32800e8055770a8bc5f5be0d39e6a8bc93d5/pastebin.js

and with nico web server


nico yourdomain.com https://127.0.0.1:2023

Daemon with joker

Here is an example.

https://ooo.soso.ooo

Please note: Due to the need to consume server resources, this example does not guarantee future availability, and the service will be stopped at any time. For stable use, please deploy your own pastebin service.

---

If your business scale is large, you can try brook-manager to measure each account by traffic cost, like the gas company.
👍4
A tip about the world :)

Live too long in the virtual world and but don't forget basic physics. It's like mantou come from wheat, and wheat comes from the land.

- There will not exist a single server that allows all to always successfully connect.
- You have purchased an IP, but the network consists of that IP and other IPs. The public network route will change, and many things will change as well.
- You need to understand that the quality of the connection has a relationship with the amount of money.
- At the same time you should also understand that you as the ruled (this is the way in any country in the world) you just rent the network of the ruler, the owner of the network can decide the quality of your connection, even a small ISP in it Also (yes, there are many ISPs in between you and the server).
- China has almost blocked all the IPs of those popular but cheap VPS, such as Vultr, Linux, DigitalOcean, and more. Although some IPs may be able to connect, there is a high probability that they are also dirty IPs, and a little traffic will be blocked. Although a certain IP will be unblocked after a certain period of time after being blocked, it can be said that it is already a dirty IP, and its stability will also decrease.
- Yes, there must be at least one cable between Tom and Jerry, and the owner of the cable has not blocked Tom from Jerry or Jerry from Tom in advance. Yes, Tom and Jerry are two IPs, one of which is you.

在虚拟世界中生活太久,但不要忘记基础物理学。 就好比馒头出自麦子,麦子出自土地。

- 不会存在允许所有人永远成功连接的单个服务器。
- 你购买了一个IP,但网是IP和别的IP组成的。公网路由会变,很多东西都会变。
- 你需要明白连接的质量与价格的多少有关系。
- 同时你也应该明白,你作为被统治者(世界上任何国家都是这样)你只是租用统治者的网络,网络的所有者可以决定你的连接质量,甚至中间还有小 ISP(你和服务器之间有很多 ISP)。
- 流行且廉价的 VPS 一般都是 GFW 重灾区,就像Vultr, Linux, DigitalOcean 等等廉价扎堆VPS。尽管有一些 IP 可能可以连接,但大概率也是脏IP,被随机 reset,被随机丢包等等。某个被封以后虽然一定时间后会被解封,可以说已经是脏IP,被针对概率也会提高。网上有一个流行的三色图,有兴趣也可以搜一下。一般情况,某家 VPS 或某云拥有的 IP 段都是公开的。
- Tom 和 Jerry 之间必须至少有一根电缆,并且电缆的主人没有事先阻止 Tom 与 Jerry 或 Jerry 与 Tom 的联系。 是的,汤姆和杰瑞是两个 IP,其中之一就是你。
👍13
brook v20230122

# CLI

🇬🇧 CLI Documentation 🇨🇳 CLI 文档

# GUI

🇬🇧 GUI Documentation 🇨🇳 GUI 文档

Programmable

in_httprequest:

- fix the Content-Length problem when modifying the Body

in_dnsquery:out:

- forcefakedns
- system

brook module:
- iosapponmac
- cidrcontainsip
- parseurl
- parsequery
- map2query
- bytes2ints
- ints2bytes
- bytescompare
- bytescontains
- byteshasprefix
- byteshassuffix
- bytesindex
- byteslastindex
- bytesreplace
- pathescape
- pathunescape
- queryescape
- queryunescape
- hexdecode
- hexencode
🎉3🔥2❤1
tun2brook v20230122

- Programmable
👍6👏1🎉1
👍6❤2👏2
东风夜放花千树,
更吹落、星如雨。
宝马雕车香满路,
凤箫声动,玉壶光转,一夜鱼龙舞。
蛾儿雪柳黄金缕,
笑语盈盈暗香去。
众里寻他千百度,
蓦然回首,那人却在,灯火阑珊处。

pic: 元宵节
👍6❤1😁1
Since there are a lot of optimizations this time, the Beta version is released here first to let the bullets fly for a while.
由于本次优化比较多,所以先发布 Beta 版本于此,让子弹飞一会。

- brook tproxy & OpenWrt: UDP bugfix, best gateway software on dual stack? 适配双栈最好的一个?
- brook quicserver& brook quicclient: QUIC as a transport. QUIC 协议支持,注意这是纯 UDP 协议
- tun2brook: Programable bugfix. 上次没测试 :b
- brook plugins: It is very simple to write brook plugin, just overwrite the public function variable


Download Beta Files. 下载 Beta 版
👍7🔥2❤1👏1🏆1
测试当前网络的 NAT 类型

Test the NAT type of the current network

$ nami install stuntman
$ stunclient stun.stunprotocol.org --mode behavior
$ stunclient stun.stunprotocol.org --mode filtering
👍9🤔2🙏1🤓1
nico v20230309

-
NICO_RATE: DDoS mitigation, rate limit/second/IP, default: 30
- NICO_LOG: log


export NICO_LOG=true
nico ...
or

echo NICO_LOG=true > $HOME/.nico.env
nico ...
👍1🔥1👏1
👍4😘2🔥1🥰1👏1🫡1
# Brook v20230401

## Documentation

https://txthinking.github.io/brook/

## CLI
- --log make log better
- --tag name this brook process into log
- --dialWithIP4 Select the outgoing network card
- --dialWithIP6
- --dialWithSocks5
- brook tproxy:
- better and better on dual-stack network
- --disableA
- --disableAAAA
- --bypassGeoIP
- --redirectDNS
- bugfix
- cookbook: Turn any Linux into a router with two Brook commands
- cookbook: 使用 Brook 两条命令把任意 Linux 变成路由器
- brook quicserver
- brook quicclient
- brook dhcpserver
- cookbook: Turn any Linux into a router with two Brook commands
- cookbook: 使用 Brook 两条命令把任意 Linux 变成路由器

## GUI

- OpenWRT:
- better and better on dual-stack network
- Rewrite UI, similar to other GUI clients
- bugfix
- cookbook: Brook OpenWRT Router
- cookbook: Brook OpenWRT 路由器
- iOS / M1 Mac
- Dark Mode
- Shortcut
- Android
- Dark Mode
- Shortcut
- Linux
- Dark Mode
- Shortcut
- Intel Mac
- Dark Mode
- Shortcut
- Windows
- Dark Mode
- Shortcut
- System Tray
- Bug: v20230401. wsserver and wssserver. Connectivity Check. 连通性检测. HTTP/1.1 400 Bad Request
- Bug: v20230401. Cannot Import Servers. 无法导入服务器列表
👍3🔥2❤1🎉1
Download older versions of any iOS app with Brook ->

There is also the video show at the bottom of article.

使用 Brook 下载任意 iOS App 的旧版本 ->

文章底部也有视频演示。
👍3🙏1
# Documentation

https://txthinking.github.io/brook/

# v20230404

## CLI

- --prometheus basic prometheus support
- --prometheusPath

## GUI

- Echo Client: one-click TCP and UDP ping with address
- bugfix

# v20230401

## CLI
- --log make log better
- --tag name this brook process into log
- --dialWithIP4 Select the outgoing network card
- --dialWithIP6
- --dialWithSocks5
- brook tproxy:
- better and better on dual-stack network
- --disableA
- --disableAAAA
- --bypassGeoIP
- --redirectDNS
- bugfix
- cookbook: Turn any Linux into a router with two Brook commands
- cookbook: 使用 Brook 两条命令把任意 Linux 变成路由器
- brook quicserver
- brook quicclient
- brook dhcpserver
- cookbook: Turn any Linux into a router with two Brook commands
- cookbook: 使用 Brook 两条命令把任意 Linux 变成路由器

## GUI

- OpenWRT:
- better and better on dual-stack network
- Rewrite UI, similar to other GUI clients
- bugfix
- cookbook: Brook OpenWRT Router
- cookbook: Brook OpenWRT 路由器
- iOS / M1 Mac
- Dark Mode
- Shortcut
- Android
- Dark Mode
- Shortcut
- Linux
- Dark Mode
- Shortcut
- Intel Mac
- Dark Mode
- Shortcut
- Windows
- Dark Mode
- Shortcut
- System Tray
❤‍🔥3👍1🔥1👏1