Skip to content

Commit

Permalink
cfst: Auto-update port/ip.txt on 2025-03-06 19:19:48
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 6, 2025
1 parent 5a768bb commit d185668
Show file tree
Hide file tree
Showing 12 changed files with 142 additions and 163 deletions.
2 changes: 1 addition & 1 deletion csv/ip/NRT.csv → csv/ip/SIN.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
IP 地址,已发送,已接收,丢包率,平均延迟,下载速度 (MB/s),地区码(Colo)
172.65.90.13,4,4,0.00,158.93,77.72,NRT
172.65.90.29,4,4,0.00,271.59,185.22,SIN
1 change: 1 addition & 0 deletions ddns/ip/ip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
188.114.98.84:443 -> us.616049.xyz
108.162.192.132:443 -> us.616049.xyz
172.65.90.13:443 -> jp.616049.xyz
172.65.90.29:443 -> sg.616049.xyz
1 change: 1 addition & 0 deletions delay/ip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
188.114.98.84#🇺🇸US2┃260.85ms
108.162.192.132#🇺🇸US3┃262.18ms
172.65.90.13#🇯🇵JP1┃158.93ms
172.65.90.29#🇸🇬SG1┃271.59ms
21 changes: 0 additions & 21 deletions logs/cfstip_20250305_182552.log

This file was deleted.

16 changes: 16 additions & 0 deletions logs/cfstip_20250306_191905.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 csv 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 logs 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 port 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 cfip 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 speed 存在。
2025-03-06 19:19:05,535 - INFO - 清理旧CSV文件...
2025-03-06 19:19:05,535 - INFO - 已删除旧CSV文件:csv/ip/NRT.csv
2025-03-06 19:19:05,535 - INFO - 自定义运行区域: ['SIN']
2025-03-06 19:19:05,536 - INFO - 正在测试区域: SIN,模式: HTTPing
2025-03-06 19:19:23,761 - INFO - csv/resultip.csv 文件已存在,无需新建。
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29#🇸🇬SG1┃271.59ms
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29:443#🇸🇬SG1
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29:443#🇸🇬SG1┃⚡185.22MB/s
2025-03-06 19:19:23,763 - INFO - 正在调用 checker.py 检查 IP 列表...
2025-03-06 19:19:31,824 - INFO - checker.py 执行完成。
2025-03-06 19:19:31,824 - INFO - 正在 GitHub Actions 环境中运行,跳过提交代码到github
16 changes: 0 additions & 16 deletions logs/checker_20250305_182628.log

This file was deleted.

18 changes: 18 additions & 0 deletions logs/checker_20250306_191923.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
2025-03-06 19:19:23,794 - INFO - 加载 8 个 IP 地址
2025-03-06 19:19:23,794 - INFO - GitHub Actions 环境检测: 启用
2025-03-06 19:19:23,794 - INFO - 检测 IP: 104.16.68.38:443
2025-03-06 19:19:23,794 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:24,797 - INFO - 检测 IP: 104.17.163.123:443
2025-03-06 19:19:24,797 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:25,800 - INFO - 检测 IP: 172.64.146.173:443
2025-03-06 19:19:25,800 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:26,803 - INFO - 检测 IP: 108.162.193.47:443
2025-03-06 19:19:26,804 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:27,807 - INFO - 检测 IP: 188.114.98.84:443
2025-03-06 19:19:27,807 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:28,810 - INFO - 检测 IP: 108.162.192.132:443
2025-03-06 19:19:28,810 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:29,813 - INFO - 检测 IP: 172.65.90.13:443
2025-03-06 19:19:29,813 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
2025-03-06 19:19:30,816 - INFO - 检测 IP: 172.65.90.29:443
2025-03-06 19:19:30,816 - INFO - 跳过 Ping 检测(GitHub Actions 环境)
125 changes: 0 additions & 125 deletions logs/ip_check_20250305_182547.log

This file was deleted.

103 changes: 103 additions & 0 deletions logs/ip_check_20250306_191900.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
2025-03-06 19:19:00,790 - INFO - 日志文件已创建: logs/ip_check_20250306_191900.log
2025-03-06 19:19:00,797 - INFO - [HKG] 域名解析 hk.616049.xyz =>
- 172.64.146.173
- 104.17.163.123
- 104.16.68.38
2025-03-06 19:19:00,802 - INFO - [LAX] 域名解析 us.616049.xyz =>
- 188.114.98.84
- 108.162.192.132
- 108.162.193.47
2025-03-06 19:19:00,807 - INFO - [FRA] 域名解析 de.616049.xyz =>
- 141.101.90.102
- 141.101.90.101
- 141.101.90.100
2025-03-06 19:19:00,840 - ERROR - DNS解析失败 sg.616049.xyz: [Errno -5] No address associated with hostname
2025-03-06 19:19:00,840 - INFO - [SIN] 域名解析 sg.616049.xyz =>
- 无IP地址
2025-03-06 19:19:00,846 - INFO - [NRT] 域名解析 jp.616049.xyz =>
- 172.65.90.13
2025-03-06 19:19:00,856 - INFO - [ICN] 域名解析 kr.616049.xyz =>
- 172.65.90.33
2025-03-06 19:19:00,868 - INFO - [HKG] ✅ hk.616049.xyz:443 连接成功
2025-03-06 19:19:01,397 - INFO - [NRT] ✅ jp.616049.xyz:443 连接成功
2025-03-06 19:19:01,875 - INFO - [FRA] ✅ de.616049.xyz:443 连接成功
2025-03-06 19:19:02,370 - INFO - [LAX] ✅ us.616049.xyz:443 连接成功
2025-03-06 19:19:02,880 - INFO - [ICN] ✅ kr.616049.xyz:443 连接成功
2025-03-06 19:19:03,422 - ERROR - [SIN] ❌ sg.616049.xyz:443 检测失败
解析IP:
- 无IP地址
错误原因: gaierror: [Errno -5] No address associated with hostname
2025-03-06 19:19:03,422 - INFO -
========================================
2025-03-06 19:19:03,422 - INFO - 总检测节点: 6
2025-03-06 19:19:04,016 - INFO - ✅ 成功节点: 5
2025-03-06 19:19:04,526 - ERROR - ❌ 失败节点: 1
2025-03-06 19:19:05,496 - INFO -
========================================
2025-03-06 19:19:05,496 - INFO - 触发更新: SIN
2025-03-06 19:19:32,351 - INFO - 🔄 更新成功
输出结果:


____ _ __ _ _ __ _____ _ __ ___
/ ___| | ___/ _| | __ _| / _|___ / __ _| |_/ /_ / _ \ _ __ ___
| | | |/ / |_| |/ _` | | |_ |_ \ / _` | __| '_ \ | | | | '_ ` _ \
| |___| <| _| | (_| | | _|__) | (_| | |_| | | || |_| | | | | | |
\____|_|\_\_| |_|\__,_|_|_| |____/ \__,_|\__|_| |_(_)___/|_| |_| |_|



🚀 开始执行 Cloudflare 优选IP自动化脚本

已删除旧日志文件: logs/cfstip_20250305_182552.log
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 csv 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 logs 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 port 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 cfip 存在。
2025-03-06 19:19:05,535 - INFO - 已创建或确认目录 speed 存在。
2025-03-06 19:19:05,535 - INFO - 清理旧CSV文件...
2025-03-06 19:19:05,535 - INFO - 已删除旧CSV文件:csv/ip/NRT.csv

▶ 请选择测试模式:
1) 批量测试(所有区域)
2) 逐个测试(分区域)
⏳ 5秒内未选择将自动使用逐个测试模式
✓ 已选择逐个测试模式
2025-03-06 19:19:05,535 - INFO - 自定义运行区域: ['SIN']
▶ 请选择测速模式:
 1) HTTPing (推荐测试网站响应)
 2) TCPing (仅测试TCP握手)
⏳ 5秒内未选择将自动使用 HTTPing
✓ 已选择 HTTPing 模式

🔧 正在处理区域 (1/1):🇸🇬 SIN
2025-03-06 19:19:05,536 - INFO - 正在测试区域: SIN,模式: HTTPing
# XIU2/CloudflareSpeedTest v2.2.6

开始延迟测速(模式:HTTP, 端口:443, 线程数:500, 范围:10 ~ 288 ms, 丢包:0.20)
开始下载测速(下限:0.00 MB/s, 数量:1, 队列:1)
IP 地址 已发送 已接收 丢包率 平均延迟 下载速度 (MB/s) 地区码(Colo)
172.65.90.29 4 4 0.00 271.59 185.22 SIN

完整测速结果已写入 csv/resultip.csv 文件,可使用记事本/表格软件查看。
2025-03-06 19:19:23,761 - INFO - csv/resultip.csv 文件已存在,无需新建。
🧹 清理 SIN 的旧记录...
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29#🇸🇬SG1┃271.59ms
✓ 已写入 1 条IP到 delay/ip.txt
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29:443#🇸🇬SG1
✓ 已写入 1 条端口到 port/ip.txt
2025-03-06 19:19:23,762 - INFO - 写入: 172.65.90.29:443#🇸🇬SG1┃⚡185.22MB/s
✓ 已写入 1 条高速IP到 speed/ip.txt
📦 结果已归档到 csv/ip/SIN.csv
2025-03-06 19:19:23,763 - INFO - 正在调用 checker.py 检查 IP 列表...
Deleted old log file: logs/checker_20250305_182628.log
2025-03-06 19:19:31,824 - INFO - checker.py 执行完成。
2025-03-06 19:19:31,824 - INFO - 正在 GitHub Actions 环境中运行,跳过提交代码到github

2025-03-06 19:19:32,352 - INFO -
========================================
2025-03-06 19:19:32,352 - INFO - 检测到有效CSV文件,触发DDNS更新
✅ SIN.csv 包含有效数据 (129字节)
2025-03-06 19:19:48,762 - INFO - 🔄 DDNS更新成功
输出结果:

1 change: 1 addition & 0 deletions port/ip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
188.114.98.84:443#🇺🇸US2
108.162.192.132:443#🇺🇸US3
172.65.90.13:443#🇯🇵JP1
172.65.90.29:443#🇸🇬SG1
Binary file modified py/__pycache__/colo_emojis.cpython-310.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions speed/ip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
141.101.90.100:443#🇩🇪DE┃⚡132.39MB/s
172.65.90.14:443#🇯🇵JP1┃⚡97.44MB/s
172.65.90.13:443#🇯🇵JP1┃⚡77.72MB/s
172.65.90.29:443#🇸🇬SG1┃⚡185.22MB/s

0 comments on commit d185668

Please sign in to comment.