suz
034f320d20
corrected buffer lengths for memset()
...
obtained from: KAME
MFC after: 3 days
2002-12-06 02:11:31 +00:00
nectar
f005a7d8a0
Back out previous commit. I was a bit overzealous: the fd_set size is
...
calculated dynamically here.
2002-09-09 16:43:18 +00:00
nectar
dd9ba6e842
Check for FD_SET overrun.
2002-09-09 16:06:41 +00:00
ume
3a7ffc70d9
Don't explicit kill of the process' own pid.
...
PR: bin/38862
Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification
MFC after: 1 week
2002-07-07 18:19:48 +00:00
charnier
a2accd01f0
The .Nm utility
2002-07-06 19:34:18 +00:00
imp
ec2a00af74
o remove __P
...
o remove main prototype
2002-03-21 13:20:49 +00:00
obrien
73c6870b18
Remove 'register' keyword.
...
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?)
2002-03-20 17:55:10 +00:00
ume
ff42cf3e07
Show standard deviation.
...
PR: bin/35433
Submitted by: Morten Rodal <morten@rodal.no>,
Maxim Konovalov <maxim@macomnet.ru>
MFC after: 1 week
2002-03-01 09:49:48 +00:00
maxim
4901a46a99
Document ping6(8) reaction to SIGINFO.
...
PR: doc/33639
Reviewed by: ru
Approved by: ru
MFC after: 1 week
2002-02-07 16:50:02 +00:00
ru
c12a24b71b
First ping after a preload (-l) was sent undelayed.
...
PR: bin/32354
Obtained from: ping.c,v 1.61
2002-01-15 15:10:52 +00:00
charnier
cb43fb607e
spelling
...
move some err() calls to errx() when message explains the pb enough
do not set errno just before exiting the program
lowercase errx() strings
2001-12-11 18:36:29 +00:00
obrien
9baf2f1b03
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
ru
bc205d4152
Set BINOWN=root explicitly for setuid root binaries.
...
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.
2001-09-13 06:48:18 +00:00
brian
6820e8fb2d
Handle snprintf() returning < 0 (not just -1)
...
MFC after: 2 weeks
2001-08-20 14:53:05 +00:00
brian
016b1a255a
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 12:56:45 +00:00
kris
463ec9f58f
Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', which
...
is the wrong value on FreeBSD).
MFC after: 1 week
2001-08-11 07:11:14 +00:00
ru
4345758876
mdoc(7) police:
...
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.
2001-08-07 15:48:51 +00:00
ru
233a8afeb8
mdoc(7) police: don't xref to itself.
2001-07-04 14:04:16 +00:00
ume
c64f5cc5a8
- fixed typo
...
- a wording improvement in BUGS (ping vs ping6 issue)
Obtained from: KAME
MFC after: 1 week
2001-06-29 20:51:00 +00:00
ume
9652e04d5f
sync usage/description with reality.
...
Obtained from: KAME
MFC after: 1 week
2001-06-29 20:26:38 +00:00
ume
07bc06593e
stop sending echo packets whenever the upper limit is specified by the -c
...
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
2001-06-29 20:05:48 +00:00
ume
832f8d2249
Sync with recent KAME.
...
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
2001-06-11 12:39:29 +00:00
ru
86642a4ab4
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
ume
aba557bd7c
some reasoning why we separated ping(8) and ping6(8)
...
comments/additions/corrections are welcome.
Obtained from: KAME
2001-02-22 19:00:51 +00:00
ru
7fe8bd2b88
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
ume
77dd285b04
test strdup() failures.
...
from: Chris Faulhaber <jedgar@fxp.org>
Obtained from: KAME
2000-12-04 13:38:59 +00:00
ru
ea31070695
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
kris
2873286b56
Don't overflow our fd_set. This is not a full sync with KAME because there
...
are a whole lot of other changes which may not be suitable for us.
Obtained from: KAME
2000-10-08 08:02:35 +00:00
kris
7f5ac0f107
Don't call errx() without a format string, to protect against possible
...
% characters in localized error messages from ipsec_strerror().
Obtained from: OpenBSD
2000-08-05 06:24:41 +00:00
kris
a643686d34
Correct style bugs in previous commit
2000-07-06 01:55:21 +00:00
kris
c8b7610f71
Sync with KAME
...
Obtained from: KAME
2000-07-05 09:37:52 +00:00
kris
cedfd0750b
Sync with latest KAME code.
...
Obtained from: KAME
2000-07-05 09:34:10 +00:00
phantom
e5599bc952
Fix typo
...
Noticed by: hoek
2000-05-06 14:20:07 +00:00
phantom
70194b6f11
. clean `.Os' macro value since this tool is not KAME-only tools anymore
...
. sort Xr's in SEE ALSO section
. add integration note
2000-05-04 17:29:14 +00:00
shin
88d80a54ba
Update icmp node info query message bit order of query types,
...
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
2000-03-09 14:47:21 +00:00
sheldonh
244b8ead7d
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
sheldonh
ff1f324516
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
shin
1c7bbb579d
Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)
...
-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>
2000-02-24 19:06:05 +00:00
shin
21448b4627
Small bug fix and improvements
...
(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.
1999-12-28 05:37:39 +00:00
shin
8c2ccb59ca
Getaddrinfo(), getnameinfo(), and etc support in libc/net.
...
Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00