Giter VIP home page Giter VIP logo

pping's Introduction

pping

Go Reference

tcp ping, tls ping, http ping, icmp ping, dns ping, quic ping.

Install

https://github.com/wzv5/pping/releases/latest

Or use Scoop:

scoop bucket add wzv5 https://github.com/wzv5/ScoopBucket
scoop install wzv5/pping

Usage

$ pping
Usage:
  pping [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  dns         dns ping
  help        Help about any command
  http        http ping
  icmp        icmp ping
  quic        quic ping
  tcp         tcp ping
  tls         tls ping

Flags:
  -c, --count int           number of requests to send (default 4)
  -h, --help                help for pping
  -t, --infinite            ping the specified target until stopped
  -i, --interval duration   delay between each request (default 1s)
  -4, --ipv4                use IPv4
  -6, --ipv6                use IPv6
  -v, --version             version for pping

Use "pping [command] --help" for more information about a command.

tls ping (dns over tls):

$ pping tls 223.5.5.5 -p 853
Ping 223.5.5.5 (223.5.5.5):
16:58:28 [1] proto = TLS 1.3, connection = 20 ms, handshake = 22 ms, time = 42 ms
16:58:29 [2] proto = TLS 1.3, connection = 18 ms, handshake = 24 ms, time = 42 ms
16:58:31 [3] proto = TLS 1.3, connection = 19 ms, handshake = 25 ms, time = 44 ms
16:58:32 [4] proto = TLS 1.3, connection = 21 ms, handshake = 26 ms, time = 47 ms

        sent = 4, ok = 4, failed = 0 (0%)
        min = 42 ms, max = 47 ms, avg = 43 ms

http ping (sni proxy):

$ pping http https://www.google.com 127.0.0.2
Ping https://www.google.com:
16:59:34 [1] proto = HTTP/2.0, status = 200, length = 211727, time = 1105 ms
16:59:36 [2] proto = HTTP/2.0, status = 200, length = 211791, time = 1246 ms
16:59:38 [3] proto = HTTP/2.0, status = 200, length = 211721, time = 1159 ms
16:59:40 [4] proto = HTTP/2.0, status = 200, length = 211717, time = 1142 ms

        sent = 4, ok = 4, failed = 0 (0%)
        min = 1105 ms, max = 1246 ms, avg = 1163 ms

pping's People

Contributors

wzv5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pping's Issues

question about dns ping

DNS PING

add some description about what server are tested. i dont we are testing DNS server which are specified inside NS records?

[建议]增加一些功能

  • 批量导入(加载IP地址列表)
  • 断线日志(避免重复类型的日志)
  • 断线触发(自定义命令)
  • 恢复触发(自定义命令)

这些功能还是不要加,重复造轮子

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.