Skip to content

Commit dbf4660

Browse files
author
V2RaySSR综合网
committed
更新README和GitHub Actions:添加示例图片,修改RealiTLScanner线程数,优化文档说明
1 parent f4f7306 commit dbf4660

File tree

4 files changed

+34
-59
lines changed

4 files changed

+34
-59
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
**推荐工作流程:**
101101
1. 使用 [RealiTLScanner](https://github.com/XTLS/RealiTLScanner) 扫描VPS IP:
102102
```bash
103-
./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv
103+
./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv
104104
```
105105
2. 使用本工具检测生成的CSV文件:
106106
```bash

README.md

Lines changed: 29 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
* **Linux VPS** - 主要针对VPS环境使用
2424
* **Windows、macOS** - 等自行编译
25-
* **Go 1.21+** - 用于本地编译(可选
25+
* **Go 1.21+** - 用于本地编译(Windows、macOS可选
2626

2727
### 安装步骤
2828

@@ -93,7 +93,7 @@ go build -o reality-checker
9393

9494
**1. 使用RealiTLScanner扫描VPS IP:**
9595
```bash
96-
./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv
96+
./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv
9797
```
9898

9999
**2. 使用本工具检测生成的CSV文件:**
@@ -111,78 +111,53 @@ go build -o reality-checker
111111
./reality-checker version
112112
```
113113

114-
## ⚡ 性能特性
115-
116-
* **多线程架构** - Worker Pool模式,高效任务分发
117-
* **连接池管理** - 复用TLS和HTTP连接
118-
* **DNS缓存** - 缓存DNS解析结果
119-
* **自适应速率限制** - 根据服务器响应动态调整
120-
* **内存监控** - 实时监控内存使用
121-
* **自适应并发控制** - 根据系统性能动态调整并发数
122-
123-
## 🔧 故障排除
124-
125-
### 常见问题
114+
## 🔧常见问题
126115

127116
**1. 数据文件下载失败**
128117

129-
程序启动时会自动下载必要的数据文件,如果下载失败,请检查网络连接:
130-
131-
```bash
132-
# 检查网络连接
133-
curl -I https://github.com/Loyalsoldier/geoip/releases/latest/download/Country.mmdb
134-
curl -I https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt
135-
curl -I https://raw.githubusercontent.com/V2RaySSR/RealityChecker/main/data/cdn_keywords.txt
136-
curl -I https://raw.githubusercontent.com/V2RaySSR/RealityChecker/main/data/hot_websites.txt
137-
```
138-
139-
**手动下载数据文件**
140-
141118
如果自动下载失败,请手动下载以下文件到 `data/` 目录:
142119

143120
- [Country.mmdb](https://github.com/Loyalsoldier/geoip/releases/latest/download/Country.mmdb)
144121
- [gfwlist.conf](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt)
145122
- [cdn_keywords.txt](https://raw.githubusercontent.com/V2RaySSR/RealityChecker/main/data/cdn_keywords.txt)
146123
- [hot_websites.txt](https://raw.githubusercontent.com/V2RaySSR/RealityChecker/main/data/hot_websites.txt)
147124

148-
## 📝 检测标准
149125

150-
### 推荐使用的网站特征
126+
## 📊 检测结果说明
127+
128+
### 检测结果示例
129+
130+
以下是一个批量检测的实际输出示例:
131+
132+
```bash
133+
./reality-checker batch apple.com tesla.com microsoft.com
134+
```
151135

152-
* ✅ 海外网站(非国内IP)
153-
* ✅ 支持TLS 1.3协议
154-
* ✅ 支持X25519加密算法
155-
* ✅ 证书SNI匹配正确
156-
* ✅ 未使用CDN
157-
* ✅ 非热门网站
158-
* ✅ 未被墙
136+
**实际运行效果:**
159137

160-
### 不推荐使用的网站特征
138+
![RealityChecker检测结果示例](RealityChecker.png)
161139

162-
* ❌ 国内网站
163-
* ❌ 不支持TLS 1.3
164-
* ❌ 不支持X25519
165-
* ❌ 证书SNI不匹配
166-
* ❌ 使用CDN
167-
* ❌ 热门网站
168-
* ❌ 被墙网站
140+
**只有满足Reality目标域名硬性条件的(TLS1.3、X25519、H2、SNI匹配、证书有效),才会在列表中显示**
169141

170-
## 🤝 贡献指南
142+
### CDN检测等级说明
171143

172-
欢迎提交Issue和Pull Request!
144+
| 等级 | 含义 | 影响 |
145+
|------|------|------|
146+
| **** | 明确使用CDN | 可以使用,但不推荐 |
147+
| **** | 疑似使用CDN | 可以使用,但不推荐 |
148+
| **** | 轻微CDN特征 | 可以使用,但不推荐 |
149+
| **-** | 未检测到CDN | 可以使用,强烈推荐 |
173150

174-
### 贡献方式
151+
### 热门网站说明
175152

176-
1. Fork 项目
177-
2. 创建特性分支 (`git checkout -b feature/AmazingFeature`)
178-
3. 提交更改 (`git commit -m 'Add some AmazingFeature'`)
179-
4. 推送到分支 (`git push origin feature/AmazingFeature`)
180-
5. 开启 Pull Request
153+
热门网站(如 apple.com、tesla.com、microsoft.com 等)由于使用人群多,容易被识别和封禁,因此不太推荐作为 Reality 协议的目标域名。
181154

182-
## 📞 支持与反馈
155+
**结果分析:**
156+
- 所有三个域名都支持TLS 1.3、X25519、HTTP/2和SNI匹配
157+
- 握手时间都很快(10-67ms),证书有效期充足
158+
- 都使用了CDN且为热门网站,推荐度中等(***
159+
- 虽然技术指标优秀,但由于CDN和热门网站特性,推荐度有所降低
183160

184-
* **GitHub Issues**: [提交问题](https://github.com/V2RaySSR/RealityChecker/issues)
185-
* **讨论区**: [GitHub Discussions](https://github.com/V2RaySSR/RealityChecker/discussions)
186161

187162
## 🏆 致谢
188163

RealityChecker.png

205 KB
Loading

internal/cmd/csv.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func (r *RootCmd) executeCSV(csvFile string) {
1616
ui.PrintErrorWithDetails(
1717
fmt.Sprintf("错误:CSV文件不存在 '%s'", csvFile),
1818
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
19-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv",
19+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
2020
"(提示:RealiTLScanner 不要在VPS上面运行)",
2121
)
2222
return
@@ -37,7 +37,7 @@ func (r *RootCmd) executeCSV(csvFile string) {
3737
ui.PrintErrorWithDetails(
3838
fmt.Sprintf("错误:解析CSV文件失败: %v", err),
3939
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
40-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv",
40+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
4141
)
4242
return
4343
}
@@ -46,7 +46,7 @@ func (r *RootCmd) executeCSV(csvFile string) {
4646
ui.PrintErrorWithDetails(
4747
"错误:CSV文件格式错误或为空",
4848
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
49-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv",
49+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
5050
)
5151
return
5252
}
@@ -57,7 +57,7 @@ func (r *RootCmd) executeCSV(csvFile string) {
5757
ui.PrintErrorWithDetails(
5858
"错误:未找到有效的域名",
5959
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
60-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 50 -timeout 5 -out file.csv",
60+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
6161
)
6262
return
6363
}

0 commit comments

Comments
 (0)