Skip to content

🔥 Basic option, IPv4 & IPv6 support, Save output as HTML, change percentile

License

Notifications You must be signed in to change notification settings

codenoid/cloudflare-system-internship-task-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goping

ping implementation in Go based on golang.org/x/net/icmp as part Cloudflare Internship Task

HTML Output example

Building

  1. Make sure Go already installed on your machine
  2. run go build

Usage

$ ./goping
usage: ./goping google.com
usage: ./goping -i 2 -t 3 127.0.0.1
usage: ./goping ::1
usage: ./goping -i 2 -t 3 -html google.com
  -html
    	Save HTML Output (ping statistic)
  -i int
    	request interval delay in second (default 1)
  -q	Quiet output. Nothing is displayed except summary when finished.
  -t int
    	request timeout in second (default 10)
  -ttl int
    	set IP Time To Live (default 64)

Troubleshooting

  • Q: socket: permission denied
  • A: run ./goping as sudo or sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"

About

🔥 Basic option, IPv4 & IPv6 support, Save output as HTML, change percentile

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published