itojun
fd9a3b1704
correct mistake in usage(). Chris Pinnock
2004-06-09 01:59:20 +00:00
kleink
faed9caa49
There's no point in bringing PRNG output to network byteorder prior to
...
transmission.
2004-05-13 20:27:38 +00:00
itojun
56ae6a5d4c
do not disclose endian. henning@openbsd
2004-04-22 01:39:20 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
itojun
c9ecfbe3a4
fix packet loss rate computation
2003-07-25 06:01:44 +00:00
cjep
100bffb736
Fix typo. Noted by Sean Boudreau on tech-net.
2003-06-06 14:18:40 +00:00
perry
1fbcf39738
do proper rounded packet loss calculations.
...
From Robert Elz in PR #20885
XXX This should be sent back to KAME
2003-03-27 16:15:44 +00:00
wiz
7d23ed38db
IPsec, not ipsec. From Igor Sobrado in PR 20722.
2003-03-15 22:24:18 +00:00
wiz
5dd379b9d6
address has two ds, not three; from Adrian Mrva.
2002-12-21 12:43:07 +00:00
itojun
7955954132
correct the use of sizeof() on memset(). sync w/kame
2002-12-05 02:07:03 +00:00
itojun
4606602797
use strlcpy. sync w/kame
2002-11-16 14:06:56 +00:00
itojun
3772e08b03
be more picky about numeric arg parsing. sync w/kame
2002-10-25 02:20:37 +00:00
itojun
5d481d0136
reduce diff w/ kame
2002-09-23 12:52:30 +00:00
mycroft
c7d63f201b
Touch up error/warning messages.
2002-09-21 18:33:51 +00:00
mycroft
75cf9dce87
select() -> poll()
2002-09-21 18:24:40 +00:00
itojun
4df4d0a437
ansi pedantic. sync w/kame
2002-09-08 14:31:41 +00:00
itojun
16e84a7542
clarify comment when nreceived > ntransmitted. from deraadt
2002-05-31 01:10:53 +00:00
itojun
08f5f94674
typo, from openbsd
2002-05-30 21:32:18 +00:00
thorpej
313148a4db
Fix Missing %s in format string.
2002-05-30 17:02:17 +00:00
itojun
7f0c96b84b
KNF. remove unused variable "signo". from deraadt
2002-05-26 13:21:01 +00:00
itojun
e500a07555
no need for KAME_SCOPEID
2002-05-26 13:01:21 +00:00
itojun
6cad7e9bef
s/IPSec/IPsec/
2002-05-26 12:56:57 +00:00
itojun
9e3976cdf7
Xr ping6 8 -> Nm
2002-05-26 12:07:05 +00:00
wiz
07da92e69f
Sort sections and a grammar fix.
2002-05-26 10:52:01 +00:00
itojun
d265331969
sync with kame.
...
- use bind(2) to select source.
- KNF.
- -g option to specify intermediate gateway.
2002-05-26 05:46:24 +00:00
itojun
3d6f24bae3
no \n to warnx(3). From: Mike Pechkin <mpech@prosoft.org.lv>
2002-03-11 02:06:02 +00:00
darrenr
53b688a6ee
should be using htons() to convert from a host byte order into a network
...
byte order, not ntohs().
2002-01-09 12:30:15 +00:00
wiz
6e5e605c25
Add space before ..., lose a .Pp.
2001-11-16 12:06:01 +00:00
lukem
04d5555436
fix -Wshadow warning
2001-11-02 05:33:21 +00:00
itojun
426db19de1
use bind(2) to support -S. snprintf return value audit from deraadt
2001-08-19 01:21:42 +00:00
itojun
32a3de2268
clarify -a. sync with kame
2001-07-05 06:35:08 +00:00
itojun
1d7e1a7cda
sync with latest kame.
...
- sync usage/manpage with reality.
- stop pinging on "-f -c N".
2001-06-22 13:25:03 +00:00
itojun
8306609bc4
correct -n handling.
2001-05-09 11:22:22 +00:00
itojun
219df672ab
fix signal handling on ping6 -f <nonexisting peer>. from hash@iij.ad.jp.
...
sync with kame
2001-05-09 11:19:13 +00:00
kleink
017a840cd9
getopt(3): EOF -> -1.
2001-05-07 14:51:46 +00:00
jhawk
5e3565be65
Xr icmp(6), inet(6), ip(6)
2001-04-03 14:06:31 +00:00
itojun
dc50d8510a
examples. suggested by deraadt. sync with kame
2001-03-19 06:56:56 +00:00
itojun
0a6cee32ec
-Q is not there. some comsetic sync with kame. NetBSD PR 12384.
2001-03-12 03:42:17 +00:00
itojun
ad65d3d893
correct recvmsg() validation.
2001-02-04 00:35:20 +00:00
itojun
e42b253d93
more simpler signal handling. be more friendly with 4.3BSD-ish socket API
...
(linux/USAGI folks are using the code). sync with kame.
2001-01-26 13:18:45 +00:00
itojun
b2f011d7b6
avoid signal handler race. help from deraadt
2001-01-12 19:13:41 +00:00
itojun
3a616a4855
correct use of howmany() for fd_set. commented by deraadt
2001-01-12 18:50:57 +00:00
itojun
f911e7eded
indent and pedant. from deraadt. sync with kame
2000-12-31 05:04:15 +00:00
itojun
b7b4590361
call seteuid(getuid) too
2000-12-22 05:52:21 +00:00
itojun
ef86e1e3da
revoke root privilege earlierst possible.
2000-12-22 00:34:46 +00:00
itojun
bbaa97fa45
sync with latest kame.
...
- validate strdup() error on argument parsing.
- use strlcat on complex string manipulation.
2000-12-02 02:54:21 +00:00
itojun
a21e536042
improve spec conformance of node information query (07).
...
sync with kame.
2000-11-11 00:46:36 +00:00
itojun
9df2062a31
- fix -s with small number (like < 8). kame 1.97 -> 1.99
...
- add fflush. kame 1.96 -> 1.97
- alpha friendly (printf format - %ld and others) kame 1.93 -> 1.94
sync with kame
2000-11-08 12:05:09 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
itojun
593affa94c
do not segv on too many args. sync with kame
2000-10-12 10:35:48 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
itojun
b91818e7e8
fix truncated response handling; sync with kame
2000-10-08 00:26:38 +00:00
itojun
c0de460728
repair fd_set size attack. from deraadt.
...
some of cleanups from kame (inet_ntop error check, unnecessary headers,
stddev computation like ping(8)).
$NetBSD$.
2000-10-07 06:36:50 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
itojun
940be0cfdc
- bugfix: truncated FQDN printing
...
- allow < 1 second interval on -i (root only). from openbsd
2000-08-14 02:54:43 +00:00
itojun
1b2be13d48
DNS compression support.
...
be more picky about DNS label validation.
(sync with kame)
2000-08-09 14:36:00 +00:00
itojun
ddf8cb2acb
warnx?/errx? audit. don't pass variable/function return value alone.
...
use with "%s". from openbsd.
2000-07-07 12:29:09 +00:00
itojun
07098cd363
better conformance to draft-ietf-ipngwg-icmp-name-lookups-05.
...
the old code was chimera of 03 and 05 draft.
-n by default, since IPv6 reverse lookup takes too much time.
use -H to enable reverse name lookup.
2000-06-12 16:21:02 +00:00
itojun
204ee4d791
make sure to clear ni_flags field on -w.
2000-06-08 13:56:22 +00:00
itojun
56b2a497b1
remove incorrect mention to sysexits.h. this closes PR 9707.
2000-05-18 13:21:49 +00:00
itojun
9a400bfce1
support ping6 -a c
...
(request IPv4 mapped/compatible addrs from
draft-ietf-ipngwg-icmp-name-lookups-05.txt)
2000-02-28 13:50:04 +00:00
itojun
eedce7b797
use getnameinfo(), instead inet_ntop(), as much as possible.
...
(sync with latest kame)
2000-02-16 00:37:02 +00:00
itojun
62e82d7e0c
sync with latest libipsec and kernel.
2000-01-31 14:24:23 +00:00
tron
c6a14eb15d
Remove bogus declarations of "errno", "optind" and "optarg".
2000-01-22 10:01:41 +00:00
itojun
c40b88c33c
add reference to RFC, and some more DESCRIPTION.
...
sync with latest KAME document.
1999-12-15 05:02:39 +00:00
itojun
5979fc87e0
provide -S for source address specifier.
...
enable KAME scopeid hack.
cleanups in node information query.
(sync with latest KAME)
1999-12-13 15:25:59 +00:00
jdolecek
b1e0f0ad47
usage(): wrap lines so that they don't exceed 80 characters
1999-12-05 18:14:11 +00:00
itojun
535e7106d2
rcsid police
1999-12-03 02:13:55 +00:00
itojun
5c0a411355
do not modify BINGRP as there's no reason for.
...
From: tsubai@netbsd.org
1999-07-12 19:02:04 +00:00
itojun
b7ee9c3863
add NetBSD RCS ID.
1999-07-04 02:43:39 +00:00
itojun
fab76c80cf
be friendly with non-IPsec kernel.
...
don't exit even if ipsec policy config fails.
1999-07-04 01:11:23 +00:00
itojun
c04f585990
stop using __RCSID from UCB comment.
...
Hope this fixes PR 7892.
1999-07-02 17:52:36 +00:00
thorpej
011b182801
Fix some printf format problems.
1999-07-02 00:19:44 +00:00
thorpej
e7d046463f
-D... belongs in CPPFLAGS
1999-07-02 00:04:53 +00:00
thorpej
62d68abdad
Fix LP64 printf format problem.
1999-07-01 23:59:11 +00:00
itojun
bad54b26c6
enable -DIPSEC.
1999-07-01 20:19:35 +00:00
itojun
68ad03fe5d
ping for IPv6. try
...
ping6 ::1
on you node.
1999-07-01 19:59:59 +00:00