TxThinking
566 subscribers
52 photos
5 videos
5 files
257 links
Download Telegram
Everyone, every region, every time, you should follow this channel with the news here as the first news. Unless you are an adventurer.

每个人,每个地区,每个时间,你应该关注此频道,以这里的消息作为第一消息。除非你是冒险者。

https://t.me/txthinking_news
🥰3
Brook v20221212

CLI

- brook dns renamed to brook dnsserveroverbrook
- brook dnsserver new subcommand
- brook completion new subcommand
- brook markdown new subcommand
- brook manpage new subcommand

GUI

- Capture me new feature: You can try to see if your packet capture tool can capture this standard HTTP request
- MITM tentatively changed to strict address matching mode, and supports HTTP/2.0
- When fake dns off, let it doesn't touch domain in dns
- Will reset local cache
- And other small changes
- Removed from Google Play
- Because of the seven continents and eight oceans, the rules required by different regions are not applicable. The default bypass and block and MITM rules are just samples, please change them according to your own situation

Documentation

ZH

命令行

- brook dns 重命名为 brook dnsserveroverbrook
- brook dnsserver 新子命令
- brook completion 新的子命令
- brook markdown 新的子命令
- brook manpage 新的子命令

图形客户端

- Capture me 新功能: 你可以试试你的抓包工具能不能捕获这个标准 HTTP 请求
- MITM 暂定改为严格匹配模式, 支持 HTTP/2.0
- 当 fake dns 关闭时,让它不触碰 dns 中的域名
- 将重置本地缓存
- 和其他小改动
- 从 Google Play 中移除
- 因为七大洲,八大洋,不同地区需要的规则不通。默认的 bypass 和 block 以及 MITM 规则只是示例,请根据自己的情况进行更改,参考 这个

文档
🔥10👍3❤2🏆1
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