aboutsummaryrefslogtreecommitdiff
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...)SUZUKI Shinsuke2004-07-261-1/+1
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=132656
* Reapply local changes that got simply axed by the latest KAME merge.Ruslan Ermilov2004-05-171-21/+42
| | | | | | | Fixed some more markup. Notes: svn path=/head/; revision=129326
* style.Makefile(5):Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS=. Notes: svn path=/head/; revision=126178
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542Hajimu UMEMOTO2003-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 Notes: svn path=/head/; revision=121472
* stop use of NI_WITHSCOPEID. it was deprecated.Hajimu UMEMOTO2003-10-211-6/+1
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=121316
* Quote from a Problem Report:Maxim Konovalov2003-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 Notes: svn path=/head/; revision=117824
* corrected buffer lengths for memset()SUZUKI Shinsuke2002-12-061-2/+2
| | | | | | | | obtained from: KAME MFC after: 3 days Notes: svn path=/head/; revision=107652
* Back out previous commit. I was a bit overzealous: the fd_set size isJacques Vidrine2002-09-091-2/+0
| | | | | | | calculated dynamically here. Notes: svn path=/head/; revision=103133
* Check for FD_SET overrun.Jacques Vidrine2002-09-091-0/+2
| | | | Notes: svn path=/head/; revision=103130
* Don't explicit kill of the process' own pid.Hajimu UMEMOTO2002-07-071-5/+4
| | | | | | | | | PR: bin/38862 Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification MFC after: 1 week Notes: svn path=/head/; revision=99540
* The .Nm utilityPhilippe Charnier2002-07-061-5/+8
| | | | Notes: svn path=/head/; revision=99501
* o remove __PWarner Losh2002-03-211-31/+30
| | | | | | | o remove main prototype Notes: svn path=/head/; revision=92883
* Remove 'register' keyword.David E. O'Brien2002-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?) Notes: svn path=/head/; revision=92806
* Show standard deviation.Hajimu UMEMOTO2002-03-013-10/+11
| | | | | | | | | | PR: bin/35433 Submitted by: Morten Rodal <morten@rodal.no>, Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week Notes: svn path=/head/; revision=91523
* Document ping6(8) reaction to SIGINFO.Maxim Konovalov2002-02-071-2/+14
| | | | | | | | | | PR: doc/33639 Reviewed by: ru Approved by: ru MFC after: 1 week Notes: svn path=/head/; revision=90352
* First ping after a preload (-l) was sent undelayed.Ruslan Ermilov2002-01-151-1/+2
| | | | | | | | PR: bin/32354 Obtained from: ping.c,v 1.61 Notes: svn path=/head/; revision=89394
* spellingPhilippe Charnier2001-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 Notes: svn path=/head/; revision=87668
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Set BINOWN=root explicitly for setuid root binaries.Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=83391
* Handle snprintf() returning < 0 (not just -1)Brian Somers2001-08-201-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81980
* Handle snprintf() returning -1.Brian Somers2001-08-201-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81976
* Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', whichKris Kennaway2001-08-111-2/+0
| | | | | | | | | is the wrong value on FreeBSD). MFC after: 1 week Notes: svn path=/head/; revision=81525
* mdoc(7) police:Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=81251
* mdoc(7) police: don't xref to itself.Ruslan Ermilov2001-07-041-3/+2
| | | | Notes: svn path=/head/; revision=79214
* - fixed typoHajimu UMEMOTO2001-06-291-4/+4
| | | | | | | | | | - a wording improvement in BUGS (ping vs ping6 issue) Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=78995
* sync usage/description with reality.Hajimu UMEMOTO2001-06-292-3/+7
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=78990
* stop sending echo packets whenever the upper limit is specified by the -cHajimu UMEMOTO2001-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 Notes: svn path=/head/; revision=78984
* Sync with recent KAME.Hajimu UMEMOTO2001-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 Notes: svn path=/head/; revision=78064
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74531
* some reasoning why we separated ping(8) and ping6(8)Hajimu UMEMOTO2001-02-221-0/+29
| | | | | | | | | comments/additions/corrections are welcome. Obtained from: KAME Notes: svn path=/head/; revision=72914
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-181-2/+2
| | | | Notes: svn path=/head/; revision=70152
* test strdup() failures.Hajimu UMEMOTO2000-12-041-5/+7
| | | | | | | | | from: Chris Faulhaber <jedgar@fxp.org> Obtained from: KAME Notes: svn path=/head/; revision=69571
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68960
* Don't overflow our fd_set. This is not a full sync with KAME because thereKris Kennaway2000-10-081-9/+11
| | | | | | | | | are a whole lot of other changes which may not be suitable for us. Obtained from: KAME Notes: svn path=/head/; revision=66811
* Don't call errx() without a format string, to protect against possibleKris Kennaway2000-08-051-4/+4
| | | | | | | | | % characters in localized error messages from ipsec_strerror(). Obtained from: OpenBSD Notes: svn path=/head/; revision=64277
* Correct style bugs in previous commitKris Kennaway2000-07-061-2/+2
| | | | Notes: svn path=/head/; revision=62666
* Sync with KAMEKris Kennaway2000-07-051-54/+135
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=62628
* Sync with latest KAME code.Kris Kennaway2000-07-052-234/+635
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=62627
* Fix typoAlexey Zelkin2000-05-061-1/+1
| | | | | | | Noticed by: hoek Notes: svn path=/head/; revision=60096
* . clean `.Os' macro value since this tool is not KAME-only tools anymoreAlexey Zelkin2000-05-041-5/+8
| | | | | | | | . sort Xr's in SEE ALSO section . add integration note Notes: svn path=/head/; revision=59964
* Update icmp node info query message bit order of query types,Yoshinobu Inoue2000-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 Notes: svn path=/head/; revision=57851
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-2/+4
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-4/+8
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57668
* Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)Yoshinobu Inoue2000-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> Notes: svn path=/head/; revision=57439
* Small bug fix and improvementsYoshinobu Inoue1999-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. Notes: svn path=/head/; revision=55167
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.Yoshinobu Inoue1999-12-283-0/+1906
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55163