summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Collapse)Author
2008-05-07Remove references to routed.Claudio Jeker
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-06remove -j from usage();Jason McIntyre
2006-07-18better explanation of return values;Jason McIntyre
originally from david christiansen, but (re)worded by otto; ok otto
2006-07-11+.Xr ping6 8,Jason McIntyre
2006-07-11stop a madman armed with .Tn from rampaging;Jason McIntyre
various other fixes up whilst here;
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 ↵Theo de Raadt
size; ok cloder
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
ok henning@
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
closely. ok millert@ deraadt@
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@
2005-04-14arg to -I is an address, not if_name;Jason McIntyre
ok hshoexer@
2005-01-19Don't ignore a provided source address, when building an own IP header.Marco Pfatschbacher
This makes the -I option work together with -D, -T and -t. OK deraadt@, hshoexer@, markus@
2004-11-10Use ${STATIC} rather than -static (dont hardcode). ok miod@Dale Rahn
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
OK otto@
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
handler below. millert@ ok
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
with some help and ok tdeval@
2003-11-25- document interaction with SIGINFO, as observed by Franciszek Holop on misc@Jason McIntyre
- add some .Pp - typo
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-03- section reorderJason McIntyre
- some mdoc fixes
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-14Defer incrementing ntransmitted until we are sure sendto succeeds.Chad Loder
2003-04-14permit -s0. from Maxim KonovalovJun-ichiro itojun Hagino
2003-02-11typos;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
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
signal handler in some cases, and make it cope with the termination race.
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-05-12These small setuid programs allocate a resvport, and then immediately revokeTheo de Raadt
privs. Link them static, so that even less code is run before main does that job.
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
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-28Request enough buffer space to fit the maximum size of a packet.Hugh Graham
Problem noticed by Art, and fix checked by Markus and Niels.
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-04trim warnx outputJakob Schlyter
2001-10-03try to increase receive buffer size, <ft@pi.se>. ok deraadt@Jakob Schlyter
2001-06-23add missing -D to SYNOPSIS linePeter Valchev
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-09-26Some corrections from cd@sentia.nl.Aaron Campbell