summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
AgeCommit message (Expand)Author
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
2006-03-23sloppy style to cast the sockaddrs backwards, and then potentially wrong size...Theo de Raadt
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
2006-01-09some minor types house cleaning, ok ottoTheo de Raadt
2005-09-01Comment fix and make description of -c and -w match reality moreOtto Moerbeek
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
2005-01-19Don't ignore a provided source address, when building an own IP header.Marco Pfatschbacher
2004-09-14df is a flag, not some u_char thing with -1 value; millert okTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-05-03Use libc strtonum, not private copy. Based on a diff from tedu@.Todd C. Miller
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
2004-03-21don't leak the stack on -R; ok deraadt@Markus Friedl
2004-02-29better strtol with consistent usage, unsigned where appropriate, -Wall clean.Ted Unangst
2003-07-24make packet loss double and print using %.1lf; based on diff from jeffi@rcn.comTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-14Defer incrementing ntransmitted until we are sure sendto succeeds.Chad Loder
2003-04-14permit -s0. from Maxim KonovalovJun-ichiro itojun Hagino
2002-09-06socklen_t and various other minor tweaksTheo de Raadt
2002-07-03convert to ansi. suddenly realise that means yet another function is aTheo de Raadt
2002-06-29IPPROTO_ICMP will not change in our life; itojun okTheo de Raadt
2002-06-22document -T option, PR#2766. ok deraadt@Jakob Schlyter
2002-05-31KNFTheo de Raadt
2002-05-31kill the signal racesTheo de Raadt
2002-05-31clarify comment when nreceived > ntransmitted. from deraadtJun-ichiro itojun Hagino