summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Expand)Author
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
2013-04-16These are already static, because of ../Makefile.incTheo de Raadt
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-10-13move the exit status stuff into an EXIT STATUS section;Jason McIntyre
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-09-20rev 1.80 added calls from the signal handler to stdio. bad bad bad!Theo de Raadt
2011-09-17Standarize the ToS option across nc/ping/traceroute so that they'llChristiano F. Haesbaert
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudioMike Belopuhov
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-06-26allow a user to set a -c count of 0.Peter Hessler
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
2009-12-15Remove an untrue statement about the packetsize beingMarco Pfatschbacher
2009-12-15Let ping handle truncated echo replies.Marco Pfatschbacher
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado