go-ping
go-ping copied to clipboard
A simple ping library using ICMP echo requests.
go-ping
A simple ICMP Echo implementation, based on golang.org/x/net/icmp.
Some sample programs are provided in cmd/
:
-
ping-test
is a really simple ping clone -
multiping
provides an interactive TUI to ping multiple hosts -
ping-monitor
pings multiple hosts in parallel, but just prints the summary every so often -
pingnet
allows to ping every host in a CIDR range (e.g. 0.0.0.0/0 :-))
Features
- [x] IPv4 and IPv6 support
- [x] Unicast and multicast support
- [x] configurable retry amount and timeout duration
- [x] configurable payload size (and content)
- [x] round trip time measurement
Contribute
Simply fork and create a pull-request. We'll try to respond in a timely fashion.
Software using this library
Please create a pull request to get your software listed.
License
MIT License, Copyright (c) 2018 Digineo GmbH