← 返回
未分类 中文

Isp Throttle Detective

Run speed tests to multiple endpoints, log results, and detect ISP throttling patterns. Use when the user mentions speed test, internet slow, ISP throttling,...
运行速度测试到多个端点,记录结果,并检测 ISP 限流模式。
newageinvestments25-byte
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 386
下载
💾 0
安装
1
版本
#latest

概述

ISP Throttle Detective

Scripts live in scripts/. Log and config default to ~/.isp-throttle-detective/. See references/setup-guide.md for full setup, scheduling, and interpretation guidance.

Workflow

Run a single test and log it

python3 scripts/speedtest.py | python3 scripts/log_result.py

Analyze patterns (needs ≥5 tests across multiple hours/days)

python3 scripts/analyze.py
python3 scripts/analyze.py --days 30 --json   # machine-readable

Generate evidence report

python3 scripts/report.py --days 30 --out ~/report.md

Scripts

ScriptPurpose
-----------------
speedtest.pyDownload from 3 endpoints + upload to Cloudflare. Outputs JSON to stdout.
log_result.pyAppend speedtest JSON to JSONL log with hour, day_of_week enrichment.
analyze.pyDetect peak vs off-peak, CDN discrimination, trend, anomalies.
report.pyGenerate markdown evidence report with tables and plain-English conclusion.

Configuration

Copy assets/config.example.json to ~/.isp-throttle-detective/config.json. All scripts auto-detect it. Key fields:

  • log_file — where the JSONL log lives
  • endpoints — add/remove test targets; set category: "cdn" vs "general" to enable CDN discrimination detection
  • peak_hours — list of hours (0–23) considered peak

Pass --config /path/to/config.json to any script to override.

Scheduling

See references/setup-guide.md for launchd (macOS) and cron (Linux) snippets. Recommended: every 30 minutes for meaningful data within a day or two.

Throttling Signals

  • Peak-hour drop >20% vs off-peak → time-based throttling
  • CDN speed <75% of general internet → destination-based throttling
  • Declining trend slope → infrastructure degradation
  • Multiple low-speed anomalies at the same hour → systematic, not random

Using the Evidence Report

report.py produces a markdown file with a peak/off-peak comparison table, per-endpoint breakdown, hourly chart, trend analysis, and a plain-English conclusion. Share it directly with ISP support or use it to evaluate whether upgrading your plan would actually help (if CDN throttling is confirmed, a faster plan won't fix it).

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 18:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Homelab Runbook

newageinvestments25-byte
扫描并记录本机所有运行中的服务 — Docker 容器、系统服务(launchd/systemd)以及开放的监听端口,生成可读的文档。
★ 0 📥 440

Status Page Gen

newageinvestments25-byte
从JSON配置生成深色主题的静态HTML状态页面,汇总自托管服务的健康检查、ping、SSL证书和运行时间
★ 0 📥 418

Workflow Crystallizer

newageinvestments25-byte
分析记忆日志,检测重复出现的模式,并建议自动化(cron 任务、技能或工作流快捷方式)。代理会逐步构建自己的快捷方式。
★ 0 📥 441