summaryrefslogtreecommitdiffstats
path: root/sbin/ping6
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-2/+2
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | error: variable 'origextlen' set but not used Approved by: dim MFC after: 3 days
* Spelling fixes for sbin/uqs2012-01-071-1/+1
|
* Add __unused. Ansi prototypes.charnier2010-12-191-66/+34
|
* Remove the advertising clause from UCB copyrighted files in sbin. Thisjoel2010-12-121-4/+0
| | | | | is in accordance with the information at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
* Fix typos and spelling mistakes.joel2010-08-061-1/+1
|
* Call free and freeaddrinfo before exiting.brucec2010-06-161-14/+35
| | | | | | | | PR: bin/144730 PR: bin/144974 Submitted by: Earl R. Lapus <earl.lapus at gmail.com> Approved by: rrs (mentor) MFC after: 1 month
* o Add do-not-fragment option support to ping6(8).maxim2010-04-202-6/+16
| | | | | | PR: bin/145759 Submitted by: pluknet MFC after: 1 month
* Implement -R support, similar to ping(8)'s -A.matteo2008-08-272-14/+34
| | | | | | | | | | ping(8)'s -a was mapped to -e, but -E was already taken in ping6 (old option) so rename -e to -r. Now: ping -a => ping6 -r ping -A => ping6 -R MFC after: 2 days
* Add -e to usage()matteo2008-08-271-1/+1
| | | | MFC after: 2 days
* Implement audible support similar to ping(8) -a option. Since -a was already ↵matteo2008-08-262-3/+16
| | | | | | | taken, I chose -e (no real argument for this) but I'm willing to change to a different character if needed/desired. PR: bin/123752 (inspired by) MFC after: 2 days
* Change the exit status for 0 and 2 to be the same as with ping(1)bz2008-05-272-4/+9
| | | | | | | | | | and be usable in scripts, etc. This also changes the semantics in case when we lose one of n packets. In that case, before we exited by SIG, now we exit with return(0). Submitted by: Gert Doering (gert space.net) MFC after: 10 days
* Decrease ping6's minimum allowed intervalsilby2008-02-251-3/+3
| | | | | | | | | | from .01 to .000001. Note that due to the architecture of ping6, you are still limited to kern.hz pings per second. MFC after: 2 weeks
* Add -o option to match ping(8)dd2007-11-202-5/+12
| | | | | Reviewed by: dwmalone, maxim MFC after: 2 weeks
* Remove the -DFAST_IPSEC from Makefiles again.bz2007-07-051-1/+1
| | | | | | | | | This was needed during the IPSEC->FAST_IPSEC->IPSEC transition period to not break the build after picking up netipsec header files. Now that the FAST_IPSEC kernel option is gone and the default is IPSEC again those defines are superfluous. Approved by: re (rwatson)
* Commit IPv6 support for FAST_IPSEC to the tree.gnn2007-07-012-3/+3
| | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re
* Correct two issues in ping6:mtm2007-04-191-19/+68
| | | | | | | | | | | | | | | | | | | | 1. The static buffer that ping6(8) uses to hold the control data it gets from recvmsg(2) is too small in some cases. 2. When it prints the extra header information it doesn't do any checking to make sure the data it's printing is within the bounds of the supplied buffer. Fix this by: o Increasing the buffer to hold extra headers to 10240 bytes (the minimum according to RFC3542 sec. 20.1) and allocate it dynamically. o In verbose mode, specify a warning if any control data from recvmsg(2) was truncated because the buffer was too small. o When printing the extra headers make sure not to overrun the buffer boundaries. Reviewed By: mlaier PR: kern/99425 MFC After: 1 month
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-102-15/+20
|
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+1
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Fix build on all (hopefully) 64 bit architectures.trhodes2005-01-091-1/+1
| | | | | Noticed by: tinderbox Tested on: panther
* Use static const char and bump WARNS.trhodes2005-01-082-2/+2
|
* re-enabled Rev 1.15 (lost during KAME merge at Rev 1.25, due to a KAME bug...)suz2004-07-261-1/+1
| | | | Obtained from: KAME
* Reapply local changes that got simply axed by the latest KAME merge.ru2004-05-171-21/+42
| | | | Fixed some more markup.
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542ume2003-10-243-256/+263
| | | | | | | | | | (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. Obtained from: KAME
* stop use of NI_WITHSCOPEID. it was deprecated.ume2003-10-211-6/+1
| | | | Obtained from: KAME
* Quote from a Problem Report:maxim2003-07-211-1/+1
| | | | | | | | | | | | The output format specifier for the round-trip time in ping6 should be changed to %.3f instead of %g since %g doesn't accurately represent the precision of the number being output. In particular, %g truncates trailing zeroes. 0.01 ms does not mean the same thing as 0.010 ms. Although they are numerically identical, they do not have the same precision. PR: bin/52324, bin/52750 Submitted by: dg MFC after: 1 week
* corrected buffer lengths for memset()suz2002-12-061-2/+2
| | | | | obtained from: KAME MFC after: 3 days
* Back out previous commit. I was a bit overzealous: the fd_set size isnectar2002-09-091-2/+0
| | | | calculated dynamically here.
* Check for FD_SET overrun.nectar2002-09-091-0/+2
|
* Don't explicit kill of the process' own pid.ume2002-07-071-5/+4
| | | | | | PR: bin/38862 Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification MFC after: 1 week
* The .Nm utilitycharnier2002-07-061-5/+8
|
* o remove __Pimp2002-03-211-31/+30
| | | | o remove main prototype
* Remove 'register' keyword.obrien2002-03-201-3/+3
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* Show standard deviation.ume2002-03-013-10/+11
| | | | | | | PR: bin/35433 Submitted by: Morten Rodal <morten@rodal.no>, Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
* Document ping6(8) reaction to SIGINFO.maxim2002-02-071-2/+14
| | | | | | | PR: doc/33639 Reviewed by: ru Approved by: ru MFC after: 1 week
* First ping after a preload (-l) was sent undelayed.ru2002-01-151-1/+2
| | | | | PR: bin/32354 Obtained from: ping.c,v 1.61
* spellingcharnier2001-12-112-21/+15
| | | | | | move some err() calls to errx() when message explains the pb enough do not set errno just before exiting the program lowercase errx() strings
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Handle snprintf() returning < 0 (not just -1)brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Handle snprintf() returning -1.brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', whichkris2001-08-111-2/+0
| | | | | | is the wrong value on FreeBSD). MFC after: 1 week
* mdoc(7) police:ru2001-08-071-14/+14
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* mdoc(7) police: don't xref to itself.ru2001-07-041-3/+2
|
* - fixed typoume2001-06-291-4/+4
| | | | | | | - a wording improvement in BUGS (ping vs ping6 issue) Obtained from: KAME MFC after: 1 week
* sync usage/description with reality.ume2001-06-292-3/+7
| | | | | Obtained from: KAME MFC after: 1 week
* stop sending echo packets whenever the upper limit is specified by the -cume2001-06-291-7/+10
| | | | | | | | option, regardless of the -f option. based on a comment from Tomohide Nagashima <tomohide@japan-telecom.co.jp>. Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud