summaryrefslogtreecommitdiff
path: root/sbin/ping6
AgeCommit message (Collapse)Author
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
2002-09-08ansi pedantic. sync w/kameJun-ichiro itojun Hagino
2002-05-31clarify comment when nreceived > ntransmitted. from deraadtJun-ichiro itojun Hagino
2002-05-30missing "%s". from netbsdJun-ichiro itojun Hagino
2002-05-30typoTheo de Raadt
2002-05-26KNF. remove unneeded variable. from deraadtJun-ichiro itojun Hagino
2002-05-26re-integrate a grammar fixTheo de Raadt
2002-05-26sync with latest KAME tree. -S option uses bind(2), -g option, KNFJun-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-03-11no \n to warnx(3). From: Mike Pechkin <mpech@prosoft.org.lv>Jun-ichiro itojun Hagino