summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
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-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-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-04-16improve name of the 32-bit timeval that ping uses, and bound the useTheo de Raadt
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
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-15Let ping handle truncated echo replies.Marco Pfatschbacher
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-05Fix usage.Claudio Jeker
2009-06-05Allow ping to use an alternate routing domain by using the -V flag.Claudio Jeker
2009-06-01tweak previous;Jason McIntyre
2009-05-31add audible output to ping and ping6: -e beeps when pings are replied, -E bee...Chris Kuethe
2009-04-23ping -v can segfault when displaying received icmp packets that aren'tStuart Henderson
2007-02-06remove -j from usage();Jason McIntyre
2006-04-13fix more signal races; ok moritzTheo de Raadt
2006-04-10minimal cleanups prompted by lint; ok ottoTheo de Raadt