Giter Site home page Giter Site logo

cdntest's Introduction

功能

通过批量HTTP请求,对同URL的不同IP进行可用性测试,可用于检查多节点、CDNIP、后端IP、源站IP等可用性状态检查的场景

安装

git clone https://github.com/BlueSkyXN/cdntest.git

注意直接复制、下载可能导致错误

net.ip 文件需要保存源站IP信息,一行一个IP

运行

cd本程序目录,比如说 cd /root/cdntest

然后运行 bash cdntest.sh 或者其他子文件即可,其他根据中文提示操作

支持Linux和Windows(需要Git For Windows)

Source与修改

原版来自 https://cloud.tencent.com/developer/article/1458328

主要修改了源站IP判断的BUG(不知道哪来的)以及HEAD请求换成带UA的GET请求

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.