ALS - Web 网路测试工具

博客

https://songxwn.com/

简介

ALS 是一个在线工具集合。

项目地址:https://github.com/wikihost-opensource/als

Demo:http://lg.hk1-bgp.hkg.50network.com/

注:目前只支持Docker 部署

支持以下功能

[x] Ping - IPv4[x] HTML 5 在线速度测试(支持内网)[x] 文件下载测试[x] 获取访问客户IP地址(可内网使用)[x] iPerf3 服务器[x] 服务器流量图[x] Speedtest.net 客户端(可指定服务器ID)[x] 在线Web shell (有限命令 - ping - traceroute - mtr - nexttrace)

图例

安装(需要提前安装好Docker环境)

docker run -d --name looking-glass --restart always --network host wikihostinc/looking-glass-server

安装注意

默认占用80端口作为Web访问,IPerf3 默认端口范围为30000-31000。

默认使用主机网络。

Docker 变量

Key示例默认说明LISTEN_IP127.0.0.1默认使用所有IP监听IPHTTP_PORT8080Web 访问端口SPEEDTEST_FILE_LIST100MB 1GB1MB 10MB 100MB 1GB静态测试文件的大小,以空格分隔LOCATION"this is location"(from maxmind database, ip via PUBLIC_IPV4 or PUBLIC_IPV6)位置字符串MAXMIND_KEYTHE_KEY(empty)about more https://dev.maxmind.com/geoip/geolite2-free-geolocation-dataPUBLIC_IPV41.1.1.1(fetch from http://ifconfig.co)The IPv4 address of the serverPUBLIC_IPV6fe80::1(fetch from http://ifconfig.co)The IPv6 address of the serverDISPLAY_TRAFFICtruetrueToggle the streaming traffic graphENABLE_SPEEDTESTtruetrueToggle the speedtest featureUTILITIES_PINGtruetrueToggle the ping featureUTILITIES_SPEEDTESTDOTNETtruetrueToggle the speedtest.net featureUTILITIES_FAKESHELLtruetrueToggle the HTML Shell featureUTILITIES_IPERF3truetrueToggle the iperf3 featureUTILITIES_IPERF3_PORT_MIN3000030000iperf3 监听端口范围 - 开始UTILITIES_IPERF3_PORT_MAX3100031000iperf3 监听端口范围 - 结束SPONSOR_MESSAGE"Test message" or "/tmp/als_readme.md" or "http://some_host/114514.md"''显示服务器赞助商消息(支持Markdown文件,需要映射文件到容器)

关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章