summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
AgeCommit message (Expand)Author
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
2002-02-17correct arithmetic brain damage; maxim@macomnet.ruTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-28Request enough buffer space to fit the maximum size of a packet.Hugh Graham
2001-11-05kill more registers;Mike Pechkin
2001-10-04trim warnx outputJakob Schlyter
2001-10-03try to increase receive buffer size, <ft@pi.se>. ok deraadt@Jakob Schlyter
2001-01-12remove extra + character in status outputTheo de Raadt
2001-01-11comment on a signal raceTheo de Raadt
2000-12-21use strlcpyTheo de Raadt
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt
1999-10-12avoid an infinite loopHugh Graham
1999-07-18support fine timing interval and calculate std devHugh Graham
1999-02-24fix default payload alignment error; hugh@Kjell Wooding
1999-02-23Fix a buffer overrun with very large ICMP packets.Kjell Wooding
1998-11-18obvious typoTheo de Raadt
1998-05-17Unroll that last patch, Theo thinks there's a better way of solvingAngelos D. Keromytis
1998-05-16Avoid the SIGALRM/ping DOS attack. From FreeBSD patch by Jason Young.Angelos D. Keromytis
1998-05-16put time in network byte order. I thought I fixed this!Theo de Raadt
1998-05-16on 64 bit architectures, tv_sec and tv_usec cause problems when weTheo de Raadt
1998-04-30certain variables are in msec not usec nowTheo de Raadt
1998-04-03handle unknown option too. All this ipoption handling needs rewriting, I now ...Theo de Raadt
1998-04-02do not run off end of option buffer for LSRR either; tqbfTheo de Raadt