summaryrefslogtreecommitdiff
path: root/sbin/ping6
AgeCommit message (Collapse)Author
2011-03-03This change makes ping compare minimum amount of bytes between whatMike Belopuhov
was received and what was sent out and print additional information explaining payload size differences. Issue was found by reyk, debugged by jsg and me with an input from claudio (who found out that initial version breaks -w) and bluhm (who advised to notify a user). Ok bluhm and deraadt on the previous version of the diff. Lots of history for a one-liner :)
2010-06-26allow a user to set a -c count of 0.Peter Hessler
while here, change ping6 to use strtonum instead of strtol. OK claudio@
2010-05-10Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->Kenneth R Westerback
'possibility', 'optins' -> 'options', 'resposne' -> 'response', 'unecessary' -> 'unnecessary', 'desination' -> 'destination'. Collected from various misc@ and tech@ postings, many by Brad Tilley.
2010-02-21Actually use the gints addrinfo setup for gateway lookup, instead of usingTheo de Raadt
the global one (which has a useless AI_CANONNAME and thus is slower) found by martin.pelikan
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
as neither arrayified not arrayfied exist -- sanctioned dictionaries like Merriam-Webster ones suggest a few alternatives (e.g., arrayed), however these made up words are easy to understand and we are not certain that current ones are not ok. ok jmc@
2009-11-02s/hz/Hz/ on multiples of the SI unit hertz other than MHz.Igor Sobrado
reminded by STeve Andre.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-01tweak previous;Jason McIntyre
2009-05-31add audible output to ping and ping6: -e beeps when pings are replied, -E ↵Chris Kuethe
beeps when pings are dropped. suggestion to make ping and ping6 use the same flag from deraadt & sthen. reminder to not forget about ping6 from todd and naddy. ok deraadt, sthen "well, i don't object..." from a few others.
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15Fix several CMSG-related bugs. Chaining CMSG's is tricky since you need toMark Kettenis
use CMSG_SPACE for all except the last one, which should be CMSG_LEN. This makes calculate .msg_controllen tricky. Also make sure that we can receive multiple CMSG's again. ok deraadt@, hshoexer@
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2007-12-30add missing space between argument names and ellipsisIgor Sobrado
ok jmc@
2007-06-23sync description of "-m" option to reality. mcbride@ okJun-ichiro itojun Hagino
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-19no need for -DJun-ichiro itojun Hagino
2006-12-15reduce RFC2292/3542 #ifdefs.Jun-ichiro itojun Hagino
while here, correct type mismatch (socklen_t) and adjust AH handling to OpenBSD.
2006-11-20knf: sizeof x -> sizeof(x)Jun-ichiro itojun Hagino
2006-11-16make RFC2292/3542 selection automagically happen.Jun-ichiro itojun Hagino
2006-08-10text improvements;Jason McIntyre
2006-08-10kill some .Tn;Jason McIntyre
2006-08-10kill a truckload of useless macros;Jason McIntyre
2006-08-10sync usage();Jason McIntyre
2006-08-10comment out -R:Jason McIntyre
ping6: -R is not supported in this configuration
2006-08-10oops, put -m in the right place;Jason McIntyre
2006-08-10document -m;Jason McIntyre
2006-08-10sort options;Jason McIntyre
2006-07-18clean up -a and -f descriptions;Jason McIntyre
2006-07-18better explanation of return values;Jason McIntyre
originally from david christiansen, but (re)worded by otto; ok otto
2006-04-13fix more signal races; ok moritzTheo de Raadt
2006-04-10minimal cleanups prompted by lint; ok ottoTheo de Raadt
2006-03-17Off-by-one; from NetBSD's coverity analysis; ok millert@Otto Moerbeek
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
ok henning@
2005-12-12Don't wait one time interval before sending the first packet.Jared Yanovich
Problem reported by Andreas Lundin <lunde@woopheer.mine.nu> on tech@, but fix from KAME. ok pascoe markus
2005-12-02mark signal racesTheo de Raadt
2004-11-10Use ${STATIC} rather than -static (dont hardcode). ok miod@Dale Rahn
2004-09-14remove unused variableTheo de Raadt
2004-06-09correct mistake in usage(). Chris PinnockJun-ichiro itojun Hagino
2004-01-25when dealing with structs in packets, be paranoid in case sometimeTheo de Raadt
in the future they end up being misaligned; itojun ok
2003-10-25adddress -> address; from Jared Yanovich;Jason McIntyre
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-07-25packet loss count in floating point (double). Wouter ClarieJun-ichiro itojun Hagino
2003-06-11ansificationTheo de Raadt
2003-06-11typoJun-ichiro itojun Hagino
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.
2002-12-05correct sizeof() to memset(). sync w/kameJun-ichiro itojun Hagino
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-10-25use poll(2). sync w/kame (originally from netbsd)Jun-ichiro itojun Hagino
2002-10-25be picky about arg parsing (-b). sync w/kameJun-ichiro itojun Hagino