Skip to content

A simple ping library using ICMP echo requests.

License

Notifications You must be signed in to change notification settings

digineo/go-ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9d7152f · Apr 6, 2024
Feb 25, 2023
Dec 12, 2020
Dec 12, 2018
Aug 18, 2020
Mar 13, 2018
Aug 18, 2020
Feb 21, 2018
Aug 18, 2020
Jun 17, 2018
Apr 6, 2024
Apr 6, 2024
Feb 25, 2023
Apr 6, 2024
Jan 23, 2019
Apr 6, 2024
Dec 31, 2020
Apr 6, 2024

Repository files navigation

go-ping

GoDoc Build Status Codecov Go Report Card

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

  • IPv4 and IPv6 support
  • Unicast and multicast support
  • configurable retry amount and timeout duration
  • configurable payload size (and content)
  • 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

https://www.digineo.de