SUZUKI Shinsuke
45289b43fb
corrected buffer lengths for memset()
...
obtained from: KAME
MFC after: 3 days
2002-12-06 02:11:31 +00:00
Jacques Vidrine
c3e3619908
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
Jacques Vidrine
012b8a4111
Check for FD_SET overrun.
2002-09-09 16:06:41 +00:00
Hajimu UMEMOTO
406166da3b
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
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
Warner Losh
d476a036e2
o remove __P
...
o remove main prototype
2002-03-21 13:20:49 +00:00
David E. O'Brien
3d438ad61f
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
Hajimu UMEMOTO
4adb3cea54
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 Konovalov
87c5e8ebc4
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
Ruslan Ermilov
e0e3eb757b
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
Philippe Charnier
2651db53df
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
David E. O'Brien
2d68bf45bf
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
Ruslan Ermilov
cda2a9b2f0
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 Somers
9cfe90fe1f
Handle snprintf() returning < 0 (not just -1)
...
MFC after: 2 weeks
2001-08-20 14:53:05 +00:00
Brian Somers
327e849ae1
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 12:56:45 +00:00
Kris Kennaway
12205948f1
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
Ruslan Ermilov
c4d9468ea0
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
Ruslan Ermilov
2e453a1e33
mdoc(7) police: don't xref to itself.
2001-07-04 14:04:16 +00:00
Hajimu UMEMOTO
0ce50730ee
- 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
Hajimu UMEMOTO
0209de0466
sync usage/description with reality.
...
Obtained from: KAME
MFC after: 1 week
2001-06-29 20:26:38 +00:00
Hajimu UMEMOTO
5310af8b90
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
Hajimu UMEMOTO
3384154590
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
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Hajimu UMEMOTO
650d202dbd
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
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Hajimu UMEMOTO
effd2d8296
test strdup() failures.
...
from: Chris Faulhaber <jedgar@fxp.org>
Obtained from: KAME
2000-12-04 13:38:59 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Kris Kennaway
5088aa38a3
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 Kennaway
0af87587a7
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 Kennaway
2dd1ffc97d
Correct style bugs in previous commit
2000-07-06 01:55:21 +00:00
Kris Kennaway
ccc58874e7
Sync with KAME
...
Obtained from: KAME
2000-07-05 09:37:52 +00:00
Kris Kennaway
0adc52c853
Sync with latest KAME code.
...
Obtained from: KAME
2000-07-05 09:34:10 +00:00
Alexey Zelkin
41d34b5f4f
Fix typo
...
Noticed by: hoek
2000-05-06 14:20:07 +00:00
Alexey Zelkin
808cf09329
. 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
Yoshinobu Inoue
690a43db7e
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
Sheldon Hearn
4e86fcacf6
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
Sheldon Hearn
ef8f7ac935
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
Yoshinobu Inoue
53c9088f68
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
Yoshinobu Inoue
9b59fde4e0
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
Yoshinobu Inoue
7d56d3747c
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