summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Expand)Author
2016-03-03ping(8) and ping6(8) use different types for packet counters. InFlorian Obser
2016-01-30ping, ping6: corrects -E (audible beep when no packet is received before theSebastien Marie
2015-11-29use ping6(8)'s engine; next step in unificationFlorian Obser
2015-11-29Reimplement source address selection. Inspired by the previousFlorian Obser
2015-11-29Doubles are not reals. Imprecision might lead to trying toFlorian Obser
2015-11-10Reduce diff between ping and ping6.Florian Obser
2015-11-05Reorder #includes to reduce diff between ping and ping6.Florian Obser
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-30Use double variables and sqrt(3) from libm to calculate statistics likeFlorian Obser
2015-10-29Backout chacha.Florian Obser
2015-10-27fix fallout from chacha changes.David Gwynne
2015-10-11Prefer dprintf() over snprintf()+write()Philip Guenther
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03ping is a setuid root priv-drop which holds a sockraw. we can tame itTheo de Raadt
2015-09-03Move tricky system calls up and sensitive data calculations down soFlorian Obser
2015-08-05repair buffer size checks around chacha block, spotted by Dimitris PapastamosTheo de Raadt
2015-05-02de-castify strtonum to make it consistent again.Florian Obser
2015-05-02A ttl of 0 is valid. While here use MAXTTL instead of 255.Florian Obser
2015-04-20fold the icmp seq number into the mac.David Gwynne
2015-04-19by default fill the ping payload with a chacha stream instead ofDavid Gwynne
2015-04-19add a mac to the timestamp payload and calculate it with siphash.David Gwynne
2015-03-23obfuscate the monotonic clock values we put on the wire by offsettingDavid Gwynne
2015-03-12Only read time information from the received packet if it is bigFlorian Obser
2015-03-12bump the size of the time types on the wire to 64bit, and use nsecDavid Gwynne
2015-03-11use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure theDavid Gwynne
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-07-11__dead for finish()Florian Obser
2014-07-11Silence compiler warning and build with -Wall etc.Florian Obser
2014-07-11use optval for setsockopt; sync with ping6Florian Obser
2014-07-09We do have icmp_data; no obj change.Florian Obser
2014-07-09We do have ICMP_MASKREQ & ICMP_MASKREPLY; no obj change.Florian Obser
2014-07-09notdef is notdef since the beginning of time; no obj change.Florian Obser
2014-07-09We do have SIGINFO; no obj change.Florian Obser
2014-07-09We do have IP_OPTIONS; no obj change.Florian Obser
2014-04-28Do not sleep after poll returning an error. Blindly copied over fromFlorian Obser
2014-04-23Better name for fdmaskp, reduce the scope of some variables, don't abuseJeremie Courreges-Anglas
2014-04-23Replace malloc / memset / select song and dance with poll(2) likeFlorian Obser
2014-03-24Remove "-r" option from ping(8) and traceroute{,6}(8). You've probablyMartin Pieuchot
2014-03-13no more spray(8);Jason McIntyre
2014-02-26Still a lie, the default is not 0. It is inherited from the process.Claudio Jeker
2014-01-10Fix the unitialized rtableid bug discovered and fixed in the previousFlorian Obser
2014-01-10Fix a bug found in ping6 when rebuilding with stack protector strong.Brad Smith
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-11Document that SO_DEBUG (-d flag) has no effect on OpenBSD.Jeremie Courreges-Anglas
2013-10-28use %d instead of %i in a few fprintf for clarityTheo de Raadt
2013-09-12Misc time_t tweaks. %ld / (long)tv_sec -> %lld / (long long)tv_sec.Kenneth R Westerback
2013-08-14some Bx/Ox conversion;Jason McIntyre
2013-04-16improve name of the 32-bit timeval that ping uses, and bound the useTheo de Raadt