Skip to content

kazzmir/pinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ncurses UI for sending multiple pings at the same time

pinger

Build

$ make setup
$ make
$ ./pinger

Example usage

$ pinger google.com cnn.com facebook.com
$ pinger 192.168.0.0/24

Go libraries used:

go get github.com/sparrc/go-ping

go get github.com/nsf/termbox-go

This library attempts to send an "unprivileged" ping via UDP. On linux, this must be enabled by setting

sudo sysctl -w net.ipv4.ping_group_range="0   2147483647"

If you do not wish to do this, you can set pinger.SetPrivileged(true) and use setcap to allow your binary using go-ping to bind to raw sockets (or just run as super-user):

setcap cap_net_raw=+ep /bin/goping-binary

About

Console utility for pinging multiple hosts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published