Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fristonio/ping
Ping is a clone of GNUs ping utility in Golang
https://github.com/fristonio/ping
Last synced: 7 days ago
JSON representation
Ping is a clone of GNUs ping utility in Golang
- Host: GitHub
- URL: https://github.com/fristonio/ping
- Owner: fristonio
- Created: 2020-04-16T02:54:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T14:03:41.000Z (over 4 years ago)
- Last Synced: 2024-06-19T05:20:40.440Z (5 months ago)
- Language: Go
- Homepage:
- Size: 1.07 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ping
Ping is a simple go implementation of linux ping utility. This project is done as a part of
cloudflare systems internship assignment.The implemented version of ping supports both IPv4 and IPv6 along with configurable option for
setting TTL of the packets.To run the project follow the below setps.
```sh
$ git clone https://github.com/fristonio/ping$ make build
[*] Building ping
[*] Setting capabilities for the binary
[*] Build Complete.$ ./ping -h google.com
INFO[0001] 72 bytes from 216.58.200.174: icmp_seq=0 ttl=53 time=6.706585ms
INFO[0002] 72 bytes from 216.58.200.174: icmp_seq=1 ttl=53 time=6.649031ms
INFO[0003] 72 bytes from 216.58.200.174: icmp_seq=2 ttl=53 time=6.856074ms
INFO[0003] Signal recieved, shutting down pinger instance.
INFO[0003] --- google.com ping statistics ---
INFO[0003] 3 packets transmitted, 3 recieved, 0 percent packet loss, time 20.21169ms
INFO[0003] rtt min/avg/max = 6.649031ms/6.666667ms/6.856074ms
```