Skip to content

Commit 4ca7260

Browse files
committed
v2.6.1
1 parent 8d1e03f commit 4ca7260

File tree

6 files changed

+44
-16
lines changed

6 files changed

+44
-16
lines changed

docs/docs/Changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ hide:
44
- navigation
55
---
66

7+
## 2.6.1
8+
9+
- The server's direct outbound now supports TCP Fast Open
10+
- Changed `LibVersion` to `Libraries` in the output of the `version` subcommand
11+
- Added support to disable TLS verification (`insecure`) for the masquerade proxy website
12+
- Fixed issues with tun not functioning on Linux when `ipv6.disable=1` is set
13+
- Added support for `LoongArch64`
14+
- Updated quic-go to version 0.49.0
15+
- Made the username in `userpass` authentication case-insensitive
16+
717
## 2.6.0
818

919
> This release contains important fixes and we strongly encourage everyone to upgrade.

docs/docs/Changelog.zh.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ hide:
44
- navigation
55
---
66

7+
## 2.6.1
8+
9+
- 服务端 direct outbound 支持 TCP Fast Open
10+
- `version` 子命令的输出中将 `LibVersion` 改为 `Libraries`
11+
- 伪装代理网站回源支持禁用 TLS 验证 (`insecure`)
12+
- 修复在 Linux 上 `ipv6.disable=1` 时 tun 无法正常工作的 bug
13+
- 添加对 `LoongArch64` 的支持 (64 位龙芯)
14+
- quic-go 更新到 v0.49.0
15+
- `userpass` 认证中的用户名不再区分大小写
16+
717
## 2.6.0
818

919
> 此版本包含重要修复,强烈建议更新

docs/docs/advanced/Full-Server-Config.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,14 @@ outbounds:
450450
bindIPv4: 2.4.6.8 # (2)!
451451
bindIPv6: 0:0:0:0:0:ffff:0204:0608 # (3)!
452452
bindDevice: eth233 # (4)!
453+
fastOpen: false # (5)!
453454
```
454455

455456
1. See the explanation below.
456457
2. The local IPv4 address to bind to.
457458
3. The local IPv6 address to bind to.
458459
4. The local network interface to bind to.
460+
5. Enable TCP fast open.
459461

460462
The available `mode` values are:
461463

@@ -500,21 +502,23 @@ masquerade:
500502
proxy:
501503
url: https://some.site.net # (2)!
502504
rewriteHost: true # (3)!
505+
insecure: false # (4)!
503506
string:
504-
content: hello stupid world # (4)!
505-
headers: # (5)!
507+
content: hello stupid world # (5)!
508+
headers: # (6)!
506509
content-type: text/plain
507510
custom-stuff: ice cream so good
508-
statusCode: 200 # (6)!
511+
statusCode: 200 # (7)!
509512
```
510513

511514
1. The directory to serve files from.
512515
2. The URL of the website to proxy.
513516
3. Whether to rewrite the `Host` header to match the proxied website. This is required if the target web server uses `Host` to determine which site to serve.
514-
4. The string to return.
515-
5. Optional. The headers to return.
516-
6. Optional. The status code to return. 200 by default.
517-
7. Please read the instructions regarding the "type selector" at the top of this page.
517+
4. Disable TLS verification for the proxied website.
518+
5. The string to return.
519+
6. Optional. The headers to return.
520+
7. Optional. The status code to return. 200 by default.
521+
8. Please read the instructions regarding the "type selector" at the top of this page.
518522

519523
You can test your masquerade configuration by starting Chrome with a special flag (to force QUIC):
520524

docs/docs/advanced/Full-Server-Config.zh.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,14 @@ outbounds:
450450
bindIPv4: 2.4.6.8 # (2)!
451451
bindIPv6: 0:0:0:0:0:ffff:0204:0608 # (3)!
452452
bindDevice: eth233 # (4)!
453+
fastOpen: false # (5)!
453454
```
454455

455456
1. 详细解释见下文。
456457
2. 要绑定的本地 IPv4 地址。
457458
3. 要绑定的本地 IPv6 地址。
458459
4. 要绑定的本地网卡。
460+
5. 启用 TCP 快速打开。
459461

460462
支持的 `mode` 值包括:
461463

@@ -500,21 +502,23 @@ masquerade:
500502
proxy:
501503
url: https://some.site.net # (2)!
502504
rewriteHost: true # (3)!
505+
insecure: false # (4)!
503506
string:
504-
content: hello stupid world # (4)!
505-
headers: # (5)!
507+
content: hello stupid world # (5)!
508+
headers: # (6)!
506509
content-type: text/plain
507510
custom-stuff: ice cream so good
508-
statusCode: 200 # (6)!
511+
statusCode: 200 # (7)!
509512
```
510513

511514
1. 用于提供文件的目录。
512515
2. 要代理的网站的 URL。
513516
3. 是否重写 `Host` 头以匹配被代理的网站。如果目标网站通过 `Host` 识别请求的网站,这个选项是必须的。
514-
4. 要返回的字符串。
515-
5. 可选。要返回的 HTTP 头列表。
516-
6. 可选。要返回的 HTTP 状态码。默认为 200。
517-
7. 伪装类型。 请阅读页面最上方关于 "类型选择" 配置格式的说明。
517+
4. 禁用对代理网站的 TLS 验证。
518+
5. 要返回的字符串。
519+
6. 可选。要返回的 HTTP 头列表。
520+
7. 可选。要返回的 HTTP 状态码。默认为 200。
521+
8. 伪装类型。 请阅读页面最上方关于 "类型选择" 配置格式的说明。
518522

519523
可以通过特定参数启动 Chrome 以强制使用 QUIC,测试你的伪装配置:
520524

docs/docs/getting-started/Server-Installation-Script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bash <(curl -fsSL https://get.hy2.sh/)
4848
Install or upgrade to a specified version.
4949

5050
```sh
51-
bash <(curl -fsSL https://get.hy2.sh/) --version v2.6.0
51+
bash <(curl -fsSL https://get.hy2.sh/) --version v2.6.1
5252
```
5353

5454
### Uninstall

docs/docs/getting-started/Server-Installation-Script.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bash <(curl -fsSL https://get.hy2.sh/)
4848
安装或升级为指定版本,不进行版本检查。
4949

5050
```sh
51-
bash <(curl -fsSL https://get.hy2.sh/) --version v2.6.0
51+
bash <(curl -fsSL https://get.hy2.sh/) --version v2.6.1
5252
```
5353

5454
### 卸载

0 commit comments

Comments
 (0)