Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
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 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 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 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 62d68abdad Fix LP64 printf format problem. 1999-07-01 23:59:11 +00:00
itojun 68ad03fe5d ping for IPv6. try
ping6 ::1
on you node.
1999-07-01 19:59:59 +00:00