summaryrefslogtreecommitdiffstats
path: root/sbin/ping6
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Sync with recent KAME.ume2001-06-112-450/+1216
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-2/+0
|
* some reasoning why we separated ping(8) and ping6(8)ume2001-02-221-0/+29
| | | | | | comments/additions/corrections are welcome. Obtained from: KAME
* Prepare for mdoc(7)NG.ru2000-12-181-2/+2
|
* test strdup() failures.ume2000-12-041-5/+7
| | | | | | from: Chris Faulhaber <jedgar@fxp.org> Obtained from: KAME
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Don't overflow our fd_set. This is not a full sync with KAME because therekris2000-10-081-9/+11
| | | | | | are a whole lot of other changes which may not be suitable for us. Obtained from: KAME
* Don't call errx() without a format string, to protect against possiblekris2000-08-051-4/+4
| | | | | | % characters in localized error messages from ipsec_strerror(). Obtained from: OpenBSD
* Correct style bugs in previous commitkris2000-07-061-2/+2
|
* Sync with KAMEkris2000-07-051-54/+135
| | | | Obtained from: KAME
* Sync with latest KAME code.kris2000-07-052-234/+635
| | | | Obtained from: KAME
* Fix typophantom2000-05-061-1/+1
| | | | Noticed by: hoek
* . clean `.Os' macro value since this tool is not KAME-only tools anymorephantom2000-05-041-5/+8
| | | | | . sort Xr's in SEE ALSO section . add integration note
* Update icmp node info query message bit order of query types,shin2000-03-091-1/+5
| | | | | | | | | | | | | according to draft-ietf-ipngwg-icmp-name-lookups-04 to 05 change. This is necessary before 4.0, because, -This change is non backword compatible -Other KAME derived platforms applied 05 -Author of the draft said he never do backword imcompatible changes again. Approved by: jkh Obtained from: KAME project
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-2/+4
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-4/+8
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)shin2000-02-241-3/+8
| | | | | | | | | -Open socket() at first and then setuid() to actual user. -Allow ping6 preload option only for root. Approved by: jkh Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
* Small bug fix and improvementsshin1999-12-281-2/+8
| | | | | | | | (1)added error check of if_nameindex() return value at getaddrinfo(). (2)print out more detailed information when getaddrinfo() error value is EAI_SYSTEM.(in this case system error num is kept in errno) (1) is Discovered by: jinmei@kame.net in KAME environment.
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-283-0/+1906
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud