All Projects β†’ laixintao β†’ Pingtop

laixintao / Pingtop

Licence: mit
πŸ“Ping multiple servers and show results in a top-like terminal UI.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pingtop

pexpo
πŸ’» Terminal sending ping tool written in Go.
Stars: ✭ 89 (-72.87%)
Mutual labels:  ping, icmp, tui
Go Ping
A simple ping library using ICMP echo requests.
Stars: ✭ 158 (-51.83%)
Mutual labels:  ping, icmp
Ping exporter
Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
Stars: ✭ 134 (-59.15%)
Mutual labels:  ping, icmp
ICMP-server
simple web app that use icmp protocol to check some devices if there are up or not
Stars: ✭ 16 (-95.12%)
Mutual labels:  ping, icmp
Icmplib
Easily forge ICMP packets and make your own ping and traceroute.
Stars: ✭ 58 (-82.32%)
Mutual labels:  ping, icmp
Pingtunnel
ping tunnel is a tool that advertises tcp/udp/socks5 traffic as icmp traffic for forwarding.
Stars: ✭ 1,904 (+480.49%)
Mutual labels:  ping, icmp
kping
Large Scale, High Performance flood ping.
Stars: ✭ 16 (-95.12%)
Mutual labels:  ping, icmp
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+295.12%)
Mutual labels:  ping, icmp
icmpmon
A simple ICMP monitor with web interface.
Stars: ✭ 33 (-89.94%)
Mutual labels:  ping, icmp
gen icmp
ICMP protocol implementation for Erlang without NIFs
Stars: ✭ 26 (-92.07%)
Mutual labels:  ping, icmp
BackToTheFuture
Respond to pings before they even arrive at the server
Stars: ✭ 18 (-94.51%)
Mutual labels:  ping, icmp
Fping
High performance ping tool
Stars: ✭ 652 (+98.78%)
Mutual labels:  ping, icmp
Pingg
Ping latency graphing CLI
Stars: ✭ 33 (-89.94%)
Mutual labels:  tui, ping
pingo
Ping library for Golang with multi-host support
Stars: ✭ 36 (-89.02%)
Mutual labels:  ping, icmp
ComputerNetworks-unipd2018
Tips and resources to easily pass the "Computer Networks" practical exam ("Reti di calcolatori") in Padua
Stars: ✭ 21 (-93.6%)
Mutual labels:  ping, icmp
ddos
Simple dos attack utility
Stars: ✭ 36 (-89.02%)
Mutual labels:  ping, icmp
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (-21.34%)
Mutual labels:  tui
Realreachability
We need to observe the REAL reachability of network. That's what RealReachability do.
Stars: ✭ 3,042 (+827.44%)
Mutual labels:  ping
MusicSharp
MusicSharp is a lightweight, cross-platform TUI music player written in C#.
Stars: ✭ 41 (-87.5%)
Mutual labels:  tui
mushu
Mushu is a minimalist MPD client with a TUI and an incremental fuzzy finder for your music library
Stars: ✭ 30 (-90.85%)
Mutual labels:  tui

pingtop

|CircleCI|

Ping multiple servers and show the result in a top like terminal UI.

|asciicast|

Install

::

pip install pingtop

Usage

Then ping mutiple server:

::

pingtop baidu.com google.com twitter.com

This project is using click <https://click.palletsprojects.com/en/7.x/>__. Check help info with pingtop -h.

::

~ pingtop --help Usage: pingtop [OPTIONS] [HOST]...

Options: -s, --packetsize INTEGER specify the number of data bytes to be sent. The default is 56, which translates into 64 ICMP data bytes when combined with the 8 bytes of ICMP header data. This option cannot be used with ping sweeps. [default: 56] -l, --logto PATH -v, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL] --help Show this message and exit.

Why do I get Permission denied ?

We use ICMP socket to send ping packet without sudo (See this post <https://blog.lilydjwg.me/2013/10/29/non-privileged-icmp-ping.41390.html>__ by lilydjwg(in Chinese)), however, who(which group) can use this feature is controled by a kernel parameter: net.ipv4.ping_group_range.

::

cat /proc/sys/net/ipv4/ping_group_range

1 0

The default value is 1 0, this means the whose group number from 1 to 0 can use this feature(which means nobody can use this), so you get a Permission denied .

To fix this, change this variable to a proper range include your group id, like this:

::

[[email protected] pingtop]$ id uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

[[email protected] pingtop]$ sudo sysctl -w net.ipv4.ping_group_range='0 1001' net.ipv4.ping_group_range = 0 1001

Credits

  • For the credits of ping.py’s implementation please refer ping.py <./ping.py>__.
  • The UI was built on panwid <https://github.com/tonycpsu/panwid>__ thanks to @tonycpsu.
  • @\ gzxultra <https://github.com/gzxultra>__ helped to solve the permission issues.

.. |CircleCI| image:: https://circleci.com/gh/laixintao/pingtop.svg?style=svg :target: https://circleci.com/gh/laixintao/pingtop .. |asciicast| image:: https://asciinema.org/a/onbBCmHzhltau7iqButUGx6yu.svg :target: https://asciinema.org/a/onbBCmHzhltau7iqButUGx6yu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].