Speedtest Tracker
自托管网速监控工具,支持定时测速、历史趋势和告警通知。
智能下载
前往项目主页
该项目暂未提供安装包,请直接访问源代码仓库
自己服务器上跑网速监控,自动记录并报警。
核心功能
- 定时自动测速:自定义间隔,无需手动操作
- 历史趋势图:查看日/周/月速度变化曲线
- 多指标记录:下载/上传速度、延迟、丢包等
- 告警通知:网速低于阈值时通过邮件、Telegram等推送
- 多语言支持:社区贡献的繁体中文等多国语言
避坑指南
- •需要 Docker 环境,对纯小白有一定门槛,长期运行建议挂载持久化卷,防止数据丢失,默认使用 Ookla Speedtest 服务器,部分区域可能测速不准确,多用户并发测速可能影响结果,建议单实例单任务
适用场景
- 家庭或办公室网络质量长期监测
- ISP 服务降级时获得客观证据
- 对比不同时段(晚高峰 vs 凌晨)的网络表现
详细介绍
Speedtest Tracker 是一款自托管的网络速度监控工具,能定时自动运行测速,记录下载/上传速度、延迟和丢包等详细指标,并以图表展示历史趋势。当网络性能低于设定阈值时,它会通过多种渠道发送通知。支持多语言界面(社区贡献翻译),基于 Docker 可部署在任何容器环境中。与单次测速工具不同,它长期保存数据并分析波动,同时保护隐私——所有数据存储在你自己的服务器上。
常见问题与排障 (1)
故障排除# Fixing PHP Code Injection in Speedtest Tracker (Docker)
## 1. Update the Image Immediately
The primary fix is updating to a patched release. Check the project's security advisories first ([github.com/alexjustesen/speedtest-tracker/security/advisories](https://github.com/alexjustesen/speedtest-tracker/security/advisories)) to identify the fixed version, then pull and recreate:
```bash
# With Docker Compose
docker compose pull
docker compose down
docker compose up -d
# With plain Docker
docker pull lscr.io/linuxserver/speedtest-tracker:latest
docker stop speedtest-tracker
docker rm speedtest-tracker
# recreate with your original run command/flags
```
Verify the running version:
```bash
docker exec speedtest-tracker php artisan --version
```
**Tip:** Pin to a specific version tag (e.g., `lscr.io/linuxserver/speedtest-tracker:v0.x.x`) rather than `latest` so you know exactly what you're running.
## 2. If No Patch Is Available Yet — Mitigate Exposure
Until an official fix lands, reduce the attack surface:
- **Don't expose the app to the internet.** Bind to localhost or LAN only:
```yaml
ports:
- "127.0.0.1:8080:80"
```
- **Put it behind an authenticating reverse proxy** (Authelia, Authentik, or at minimum HTTP basic auth via nginx/Traefik).
- **Restrict to VPN access** (WireGuard, Tailscale).
## 3. Harden the Container
Add these to your compose file to limit damage if code execution occurs:
```yaml
services:
speedtest-tracker:
image: lscr.io/linuxserver/speedtest-tracker:latest
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
```
You can also disable dangerous PHP functions by mounting a custom `php.ini` override with:
```ini
disable_functions = exec,shell_exec,system,passthru,proc_open,popen,eval
```
(Test first — some Laravel features may depend on these.)
## 4. If You Suspect Exploitation
A code injection flaw may already have been abused if the instance was publicly accessible:
1. **Stop and destroy the container** — never just restart it:
```bash
docker compose down
docker compose up -d --force-recreate
```
2. **Inspect the persistent volume** (`/config` mount) for unexpected `.php` files, webshells, or recently modified files you didn't create.
3. **Rotate all secrets:** `APP_KEY`, database credentials, API tokens, and any notification service tokens (Telegram, Discord, etc.) in your `.env`.
4. **Review logs** for suspicious requests:
```bash
docker logs speedtest-tracker 2>&1 | grep -iE "php|eval|base64|cmd"
```
5. Check the database for unauthorized admin users or changed settings.
## 5. Stay Updated Going Forward
- Enable notifications on the GitHub repo (Watch → Custom → Releases + Security alerts).
- Consider a container update tool like Diun or WUD to alert on new image versions.
- Subscribe to LinuxServer.io's Discord/announcements if you use their image.
If you can share the specific CVE or advisory ID you're referencing, I can give more targeted remediation steps.
将 Docker 镜像更新到 linuxserver/docker-speedtest-tracker 的 v1.15.0-ls176 或更高版本,该版本包含已修复的 PHP 版本。对于 Docker Compose,请运行:
docker compose pull
docker compose up -d
Speedtest Tracker 镜像基于 LinuxServer.io (LSIO) 基础镜像,因此 PHP 安全补丁依赖于 LSIO 的发布。请在 https://github.com/linuxserver/docker-speedtest-tracker/releases 查看已修复的版本,并在更新后验证正在运行的镜像标签。
标签
快速上手
安装软件
双击下载的安装程序,按提示完成安装
步骤1:确保已安装 Docker 和 Docker Compose
步骤2:创建 docker-compose.yml,配置端口映射和持久化路径
步骤3:启动容器 `docker-compose up -d`
- 步骤1:确保已安装 Docker 和 Docker Compose
- 步骤2:创建 docker-compose.yml,配置端口映射和持久化路径
- 步骤3:启动容器 `docker-compose up -d`
暂未获取到校验码
该项目暂未在 GitHub Release 页面提供 SHA-256 校验码
SHA256 校验码
暂无校验码
建议从 GitHub Releases 页面直接下载,并自行核对文件完整性
本平台所有 SHA-256 校验码均提取自项目在 GitHub 官方 Release 页面发布的文件,未做任何修改。你可以通过 GitHub Releases 页面自行验证。
开源透明
查看 GitHub 源码卸载说明
停止容器并删除数据卷:`docker-compose down -v`,再删除相关目录即可完全卸载。
无额外依赖
下载后即可直接使用,无需安装其他运行环境
遇到问题?查看下方 FAQ
1 FAQ