The NetBSD Project

CVS log for src/sbin/ping6/ping6.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / ping6

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.107 / (download) - annotate - [select for diffs], Fri Apr 8 10:17:53 2022 UTC (23 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored) to selected 1.42 (colored)

fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 11 18:47:56 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.105: +4 -4 lines
Diff to previous 1.105 (colored) to selected 1.42 (colored)

ping, ping6: fix comment about ID field

Since ping.c 1.76 and ping6.c 1.58 from 2004-04-22, the ID field
contains random bits instead of a process ID.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jun 7 22:13:34 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.104: +6 -2 lines
Diff to previous 1.104 (colored) to selected 1.42 (colored)

In ping6, there's no blank space in the ping packets by default.

- document that if you use -p to specify a fill pattern you need to
make the packets bigger with -s;

- warn if -p is used and there's not at least one byte of fill space.

PR 56057

Revision 1.103.8.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:08 2021 UTC (2 years, 9 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.103: +4 -4 lines
Diff to previous 1.103 (colored) next main 1.104 (colored) to selected 1.42 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Sun May 23 07:17:50 2021 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.103: +4 -4 lines
Diff to previous 1.103 (colored) to selected 1.42 (colored)

Make sure the output packet buffer and the control message buffer
are aligned.

Fixes bin/56198.

Revision 1.93.12.2 / (download) - annotate - [select for diffs], Wed May 2 07:20:02 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.93.12.1: +115 -288 lines
Diff to previous 1.93.12.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.42 (colored)

Synch with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Tue Apr 24 07:22:32 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.102: +5 -2 lines
Diff to previous 1.102 (colored) to selected 1.42 (colored)

Add code 3 of paramprob, part of RFC7112: "IPv6 First Fragment has
incomplete IPv6 Header Chain". Handle this code in ping6.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Apr 24 07:12:04 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.101: +83 -83 lines
Diff to previous 1.101 (colored) to selected 1.42 (colored)

Remove annoying (void) casts.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Apr 23 18:48:30 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.100: +2 -9 lines
Diff to previous 1.100 (colored) to selected 1.42 (colored)

Remove double include and unused macros.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Apr 23 18:44:39 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.99: +6 -35 lines
Diff to previous 1.99 (colored) to selected 1.42 (colored)

Remove the "-R" option. It uses IPV6_REACHCONF, but we've never had
this.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 23 18:37:19 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.98: +3 -9 lines
Diff to previous 1.98 (colored) to selected 1.42 (colored)

Fix usage(), A/E don't exist.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Apr 23 18:32:18 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.97: +15 -75 lines
Diff to previous 1.97 (colored) to selected 1.42 (colored)

Simplify: remove #ifdefs for constants that are always defined, and
remove their #else's (some of which can't compile, since they use values
that since got removed).

Revision 1.97 / (download) - annotate - [select for diffs], Mon Apr 23 10:35:20 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.96: +7 -38 lines
Diff to previous 1.96 (colored) to selected 1.42 (colored)

Remove dead/broken code, we want to favor RFC3542 over RFC2292. No
functional change. traceroute6 and rtadvd did the same.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Apr 23 07:25:36 2018 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.95: +18 -17 lines
Diff to previous 1.95 (colored) to selected 1.42 (colored)

Sort options. Sort option descriptions. Remove Tn.
Sync usage (more) with man page.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Apr 23 06:51:25 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.94: +4 -48 lines
Diff to previous 1.94 (colored) to selected 1.42 (colored)

Remove the "hops" parameter, it uses RH0, which is deprecated by RFC5095,
and doesn't work on modern networks anymore.

Revision 1.93.12.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:51 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.42 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.94 / (download) - annotate - [select for diffs], Sun Apr 15 08:27:21 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.42 (colored)

typo in comment

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:06 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.92: +25 -9 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.42 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.93 / (download) - annotate - [select for diffs], Sun Dec 18 01:30:54 2016 UTC (7 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.92: +25 -9 lines
Diff to previous 1.92 (colored) to selected 1.42 (colored)

Merge the PR 36997 fixes into ping6. It already didn't accept too
small or wildly too large intervals, but it did allow intervals that
failed at poll(). Since that's signed integer overflow and thus UB,
better not to.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Feb 29 16:25:06 2016 UTC (8 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.91: +6 -2 lines
Diff to previous 1.91 (colored) to selected 1.42 (colored)

#ifdef forward declaration of setpolicy like definition.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Nov 4 08:07:54 2015 UTC (8 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.90: +109 -92 lines
Diff to previous 1.90 (colored) to selected 1.42 (colored)

Fix rump.ping6 -c N (N > 1) doesn't work

2nd packet and subsequent packets are sent based on SIGALRM and
it depends on poll(2) returns with EINTR by the signal. However,
currently poll is rump-ified while signals aren't so the signal
doesn't wake up poll and ping6 doesn't work expectedly.

Rump-ifying signals is unsure (nobody does it for now) and the
combination use of signals and poll makes the logic a bit complex.
So let's fix the defect by stopping using signals for packet
transmissions. The new logic is derived from ping(8).

Bonus: ping6 -i 0.01 works as we expect now while the original
didn't work enough fast.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Nov 4 07:59:25 2015 UTC (8 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.89: +6 -3 lines
Diff to previous 1.89 (colored) to selected 1.42 (colored)

Fix exit status when -c and -X is used

It exited with status 0 when at least one packet was received
and timed out. However, when we specify -c N (while N > 0),
we expect that it fails if it times out before all sent requests
are replied.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Nov 4 01:14:02 2015 UTC (8 years, 4 months ago) by knakahara
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.42 (colored)

rump.ping6 supports "-S" option.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Aug 6 14:45:54 2015 UTC (8 years, 7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.87: +50 -44 lines
Diff to previous 1.87 (colored) to selected 1.42 (colored)

Introduce rump.ping6

We use ping6 frequently in ATF tests so let's have rump-ified one.

Revision 1.87 / (download) - annotate - [select for diffs], Fri May 15 08:02:39 2015 UTC (8 years, 10 months ago) by kefren
Branch: MAIN
Changes since 1.86: +50 -8 lines
Diff to previous 1.86 (colored) to selected 1.42 (colored)

Add options -X for deadline and -x for reply maxwait (flag names matching
FreeBSD). Unline FreeBSD, currently -x doesn't count late packets to statistics.
After discussion with, and help from ozaki-r@
Should fix PR/49896

Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 24 00:42:56 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.85: +9 -3 lines
Diff to previous 1.85 (colored) to selected 1.42 (colored)

Add the once -o option like ping

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed Feb 4 22:05:29 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.82: +7 -7 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.42 (colored)

Pull up following revision(s) (requested by chs in ticket #493):
	sbin/ping6/ping6.c: revision 1.83
Rework to avoid a conditional assignment which results in a
"maybe-uninitialized" warning

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 17 01:00:41 2014 UTC (9 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.84: +2 -4 lines
Diff to previous 1.84 (colored) to selected 1.42 (colored)

Remove out-of-date comments

Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 16 21:29:12 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.83: +11 -10 lines
Diff to previous 1.83 (colored) to selected 1.42 (colored)

PR/49206: ping6 dies with SIGINT even when it just fails to ping
When reusing the same handler for SIGALRM, make don't pretend you
got SIGINT.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Aug 22 20:54:29 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.82: +7 -7 lines
Diff to previous 1.82 (colored) to selected 1.42 (colored)

Rework to be avoid a conditional assignment which results in:
sbin/ping6/ping6.c:1879:8: error: 'cbit.skip' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    cur += ntohs(cbit.skip) * 32;

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:27 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.81: +6 -6 lines
Diff to previous 1.81 (colored) next main 1.82 (colored) to selected 1.42 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:37:31 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.78.2.2: +6 -6 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.42 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.82 / (download) - annotate - [select for diffs], Sat Oct 19 01:09:16 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.81: +6 -6 lines
Diff to previous 1.81 (colored) to selected 1.42 (colored)

avoit type punning

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:31 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.78.2.1: +3 -3 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) to selected 1.42 (colored)

sync with head

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Oct 22 19:45:46 2012 UTC (11 years, 5 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.42 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #614):
	sbin/ping6/ping6.c: revision 1.81
Accept "-s 0"

Revision 1.81 / (download) - annotate - [select for diffs], Mon Sep 10 04:32:24 2012 UTC (11 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.42 (colored)

Accept "-s 0"

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:42 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.78: +6 -6 lines
Diff to previous 1.78 (colored) to selected 1.42 (colored)

sync with head

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jan 4 16:09:42 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.42 (colored)

include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 4 15:55:36 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.78: +5 -5 lines
Diff to previous 1.78 (colored) to selected 1.42 (colored)

-consistently use "char *" for the compiled policy buffer in the
 ipsec_*_policy() functions, as it was documented and used by clients
-remove "ipsec_policy_t" which was undocumented and only present
 in the KAME version of the ipsec.h header
-misc cleanup of historical artefacts, and to remove unnecessary
 differences between KAME ans FAST_IPSEC

Revision 1.78 / (download) - annotate - [select for diffs], Fri Sep 16 16:13:18 2011 UTC (12 years, 6 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) to selected 1.42 (colored)

NULL does not need a cast, here

Revision 1.77 / (download) - annotate - [select for diffs], Wed Aug 31 22:27:26 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored) to selected 1.42 (colored)

put back the byte swapping code, and remove the double byte swapping.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 31 22:05:57 2011 UTC (12 years, 7 months ago) by riz
Branch: MAIN
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored) to selected 1.42 (colored)

Remove erroneous seq=ntohs(seq) introduced in rev. 1.74, which caused
icmp_seq numbers to increment by 256 instead of 1 on LE platforms.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Aug 27 18:43:24 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.74: +91 -92 lines
Diff to previous 1.74 (colored) to selected 1.42 (colored)

static + __dead + G/C pathmtu

Revision 1.74 / (download) - annotate - [select for diffs], Sun Aug 14 12:09:35 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.73: +14 -26 lines
Diff to previous 1.73 (colored) to selected 1.42 (colored)

fix gcc warnings and eliminate duplicate code.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Sep 20 11:49:48 2010 UTC (13 years, 6 months ago) by ahoka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.72: +10 -4 lines
Diff to previous 1.72 (colored) to selected 1.42 (colored)

Avoid NaN when calculating std-dev, which fixes a crash on VAX.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:05 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71: +12 -11 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.42 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.72 / (download) - annotate - [select for diffs], Sat Apr 11 07:45:48 2009 UTC (14 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.71: +12 -11 lines
Diff to previous 1.71 (colored) to selected 1.42 (colored)

fix sign-compare issues

Revision 1.70.18.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:48:53 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.42 (colored)

Sync with HEAD.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Fri Oct 31 23:27:52 2008 UTC (15 years, 5 months ago) by snj
Branch: netbsd-4
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.42 (colored)

Pull up following revision(s) (requested by dholland in ticket #1214):
	sbin/ping6/ping6.c: revision 1.71
Fix reversed test in connection with combining -i and -l. If some
packets have already sent because of the preload count handling, we
shouldn't start off by sending another one right away. The reversed
test causes ping6 to wait one interval before sending anything at all
if you don't use -l. PR bin/39732.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Oct 13 13:47:35 2008 UTC (15 years, 5 months ago) by dholland
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: jym-xensuspend
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) to selected 1.42 (colored)

Fix reversed test in connection with combining -i and -l. If some
packets have already sent because of the preload count handling, we
shouldn't start off by sending another one right away. The reversed
test causes ping6 to wait one interval before sending anything at all
if you don't use -l. PR bin/39732.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Sep 23 16:18:04 2006 UTC (17 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-4, mjf-devfs2
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.42 (colored)

PR/30226: Nino Dehne: ping6(8) and ping(8) are inconsistent in the output
of round-trip times.

okay rpaulo@

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 18 02:14:22 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) to selected 1.42 (colored)

Replace the way we calculate the standard deviation with the unbiased form
for non-related samples. There are several websites that explain why we
should use this form instead of the normal formula to compute the std. dev.
(Wikipedia is one of them).
Also, ping(8) (where this "new" formula came from) already does it this way
so, I'm trying to score some extra points by making both utilities behave
the same way.

Thanks to wrtstuden@ for the initial clarification.

Revision 1.68 / (download) - annotate - [select for diffs], Sun May 7 16:00:18 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.67: +2 -56 lines
Diff to previous 1.67 (colored) to selected 1.42 (colored)

Remove support support for RFC 2292.

Revision 1.67 / (download) - annotate - [select for diffs], Fri May 5 12:49:23 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.66: +4 -3 lines
Diff to previous 1.66 (colored) to selected 1.42 (colored)

len should be socklen_t, not size_t. Spotted by
Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.

Revision 1.66 / (download) - annotate - [select for diffs], Fri May 5 00:03:22 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.65: +17 -17 lines
Diff to previous 1.65 (colored) to selected 1.42 (colored)

Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Mar 17 02:31:03 2006 UTC (18 years ago) by elad
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) to selected 1.42 (colored)

Fix an off-by-one found by Coverity, CID 1456.

I haven't looked, but I suggest security-officer@ looks into it to see if
this may be exploited passively?

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jun 7 09:10:33 2005 UTC (18 years, 9 months ago) by he
Branch: MAIN
Changes since 1.63: +4 -2 lines
Diff to previous 1.63 (colored) to selected 1.42 (colored)

Add an initialization to appease -Wuninitialized.
Marked with XXXGCC for sun2 (found while building for it).

Reviewed by lukem.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jun 2 01:35:57 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.42 (colored)

appease gcc -Wuninitialized

Revision 1.62 / (download) - annotate - [select for diffs], Wed Feb 9 14:09:46 2005 UTC (19 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.61: +61 -96 lines
Diff to previous 1.61 (colored) to selected 1.42 (colored)

Kill __P(), use ANSI function declarations; WARNS=3.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Oct 29 19:20:36 2004 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.42 (colored)

Add (unsigned char) cast to ctype function

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jun 9 01:59:20 2004 UTC (19 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored) to selected 1.42 (colored)

correct mistake in usage().  Chris Pinnock

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 13 20:27:38 2004 UTC (19 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.42 (colored)

There's no point in bringing PRNG output to network byteorder prior to
transmission.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Apr 22 01:39:20 2004 UTC (19 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.42 (colored)

do not disclose endian.   henning@openbsd

Revision 1.57 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:36 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.56: +3 -7 lines
Diff to previous 1.56 (colored) to selected 1.42 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jul 25 06:01:44 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) to selected 1.42 (colored)

fix packet loss rate computation

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 6 14:18:40 2003 UTC (20 years, 9 months ago) by cjep
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) to selected 1.42 (colored)

Fix typo. Noted by Sean Boudreau on tech-net.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Mar 27 16:15:44 2003 UTC (21 years ago) by perry
Branch: MAIN
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) to selected 1.42 (colored)

do proper rounded packet loss calculations.
From Robert Elz in PR #20885
XXX This should be sent back to KAME

Revision 1.15.2.7 / (download) - annotate - [select for diffs], Sun Dec 15 16:13:07 2002 UTC (21 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.15.2.6: +4 -4 lines
Diff to previous 1.15.2.6 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.42 (colored)

Pull up revision 1.53 (requested by itojun):
  Correct the use of sizeof() on memset().

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Dec 12 23:23:48 2002 UTC (21 years, 3 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.42 (colored)

Pull up revision 1.53 (requested by itojun in ticket #1026):
  Correct the use of sizeof() in memset().

Revision 1.53 / (download) - annotate - [select for diffs], Thu Dec 5 02:07:03 2002 UTC (21 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) to selected 1.42 (colored)

correct the use of sizeof() on memset().  sync w/kame

Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 16 14:06:56 2002 UTC (21 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.51: +9 -9 lines
Diff to previous 1.51 (colored) to selected 1.42 (colored)

use strlcpy.  sync w/kame

Revision 1.51 / (download) - annotate - [select for diffs], Fri Oct 25 02:20:37 2002 UTC (21 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.50: +13 -4 lines
Diff to previous 1.50 (colored) to selected 1.42 (colored)

be more picky about numeric arg parsing.  sync w/kame

Revision 1.50 / (download) - annotate - [select for diffs], Mon Sep 23 12:52:30 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.49: +4 -3 lines
Diff to previous 1.49 (colored) to selected 1.42 (colored)

reduce diff w/ kame

Revision 1.49 / (download) - annotate - [select for diffs], Sat Sep 21 18:33:51 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.42 (colored)

Touch up error/warning messages.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Sep 21 18:30:05 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +10 -16 lines
Diff to previous 1.47 (colored) to selected 1.42 (colored)

select() -> poll()

Revision 1.47 / (download) - annotate - [select for diffs], Sun Sep 8 14:31:41 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.46: +12 -11 lines
Diff to previous 1.46 (colored) to selected 1.42 (colored)

ansi pedantic.  sync w/kame

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 31 01:10:54 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) to selected 1.42 (colored)

clarify comment when nreceived > ntransmitted.  from deraadt

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 30 21:32:18 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.42 (colored)

typo, from openbsd

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 30 17:02:17 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.42 (colored)

Fix Missing %s in format string.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 26 13:21:01 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.42: +8 -11 lines
Diff to previous 1.42 (colored)

KNF.  remove unused variable "signo".  from deraadt

Revision 1.42 / (download) - annotate - [selected], Sun May 26 12:56:57 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

s/IPSec/IPsec/

Revision 1.41 / (download) - annotate - [select for diffs], Sun May 26 05:46:24 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.40: +95 -74 lines
Diff to previous 1.40 (colored) to selected 1.42 (colored)

sync with kame.
- use bind(2) to select source.
- KNF.
- -g option to specify intermediate gateway.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Mar 11 02:06:02 2002 UTC (22 years ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) to selected 1.42 (colored)

no \n to warnx(3).  From: Mike Pechkin <mpech@prosoft.org.lv>

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 9 12:30:15 2002 UTC (22 years, 2 months ago) by darrenr
Branch: MAIN
Changes since 1.38: +7 -7 lines
Diff to previous 1.38 (colored) to selected 1.42 (colored)

should be using htons() to convert from a host byte order into a network
byte order, not ntohs().

Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 2 05:33:21 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) to selected 1.42 (colored)

fix -Wshadow warning

Revision 1.37 / (download) - annotate - [select for diffs], Sun Aug 19 01:21:42 2001 UTC (22 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.36: +40 -19 lines
Diff to previous 1.36 (colored) to selected 1.42 (colored)

use bind(2) to support -S.  snprintf return value audit from deraadt

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 22 13:25:03 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.35: +134 -14 lines
Diff to previous 1.35 (colored) to selected 1.42 (colored)

sync with latest kame.
- sync usage/manpage with reality.
- stop pinging on "-f -c N".

Revision 1.15.2.6 / (download) - annotate - [select for diffs], Wed May 9 20:24:54 2001 UTC (22 years, 10 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.15.2.5: +9 -15 lines
Diff to previous 1.15.2.5 (colored) to branchpoint 1.15 (colored) to selected 1.42 (colored)

Pull up revisions 1.33-1.35 (requested by he and itojun):
  Use -1 instead of EOF with getopt(3).
  Correct signal handling on ping6 -f <nonexisting peer>.

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 9 11:22:22 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.34: +5 -2 lines
Diff to previous 1.34 (colored) to selected 1.42 (colored)

correct -n handling.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 9 11:19:13 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.33: +7 -16 lines
Diff to previous 1.33 (colored) to selected 1.42 (colored)

fix signal handling on ping6 -f <nonexisting peer>.  from hash@iij.ad.jp.
sync with kame

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 7 14:51:46 2001 UTC (22 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) to selected 1.42 (colored)

getopt(3): EOF -> -1.

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Sun Mar 11 20:44:36 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
Changes since 1.15.2.4: +457 -207 lines
Diff to previous 1.15.2.4 (colored) to branchpoint 1.15 (colored) to selected 1.42 (colored)

Pull up revisions 1.23-1.24,1.26-1.32 (via patch, requested by itojun):
  Correct buffer management.  Fix handling of short packets.  More
  robust signal handling.  Print icmp6 name lookup packets better.
This syncs up to the current head of the trunk.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 4 00:35:20 2001 UTC (23 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored) to selected 1.42 (colored)

correct recvmsg() validation.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jan 26 13:18:45 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.30: +78 -70 lines
Diff to previous 1.30 (colored) to selected 1.42 (colored)

more simpler signal handling.  be more friendly with 4.3BSD-ish socket API
(linux/USAGI folks are using the code).  sync with kame.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 12 19:13:41 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.29: +88 -31 lines
Diff to previous 1.29 (colored) to selected 1.42 (colored)

avoid signal handler race.  help from deraadt

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 12 18:50:58 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.42 (colored)

correct use of howmany() for fd_set.  commented by deraadt

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 31 05:04:15 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.27: +143 -99 lines
Diff to previous 1.27 (colored) to selected 1.42 (colored)

indent and pedant.  from deraadt.  sync with kame

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 22 05:52:21 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored) to selected 1.42 (colored)

call seteuid(getuid) too

Revision 1.26 / (download) - annotate - [select for diffs], Fri Dec 22 00:34:46 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.25: +41 -30 lines
Diff to previous 1.25 (colored) to selected 1.42 (colored)

revoke root privilege earlierst possible.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Fri Dec 15 05:01:30 2000 UTC (23 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.15.2.3: +23 -25 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) to selected 1.42 (colored)

Pull up revision 1.25 (requested by itojun):
  Validate strdup() error on argument parsing.  Also, use strlcat()
  on complex string manipulation.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 2 02:54:21 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.24: +24 -26 lines
Diff to previous 1.24 (colored) to selected 1.42 (colored)

sync with latest kame.
- validate strdup() error on argument parsing.
- use strlcat on complex string manipulation.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 11 00:46:36 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.23: +156 -32 lines
Diff to previous 1.23 (colored) to selected 1.42 (colored)

improve spec conformance of node information query (07).
sync with kame.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 8 12:05:09 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.22: +15 -11 lines
Diff to previous 1.22 (colored) to selected 1.42 (colored)

- 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

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Wed Oct 18 17:04:38 2000 UTC (23 years, 5 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.15.2.2: +604 -281 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) to selected 1.42 (colored)

Pullup by patch (sync with HEAD) [itojun]:
Format string cleanups by Bill Sommerfeld.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Mon Oct 16 23:31:30 2000 UTC (23 years, 5 months ago) by tv
Branch: netbsd-1-5
Changes since 1.15.2.1: +13 -6 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.42 (colored)

Pullup 1.22 (with -Wunused fix) [itojun]:
do not segv on too many args. sync with kame

Revision 1.22 / (download) - annotate - [select for diffs], Thu Oct 12 10:35:48 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.21: +11 -5 lines
Diff to previous 1.21 (colored) to selected 1.42 (colored)

do not segv on too many args. sync with kame

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 10 20:24:53 2000 UTC (23 years, 5 months ago) by is
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.42 (colored)

Format string cleanups by Bill Sommerfeld.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 8 00:26:38 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.42 (colored)

fix truncated response handling; sync with kame

Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 7 06:36:50 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.18: +63 -38 lines
Diff to previous 1.18 (colored) to selected 1.42 (colored)

repair fd_set size attack.  from deraadt.
some of cleanups from kame (inet_ntop error check, unnecessary headers,
stddev computation like ping(8)).
$NetBSD$.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 14 02:54:43 2000 UTC (23 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.17: +72 -21 lines
Diff to previous 1.17 (colored) to selected 1.42 (colored)

- bugfix: truncated FQDN printing
- allow < 1 second interval on -i (root only).  from openbsd

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 9 14:36:01 2000 UTC (23 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.16: +487 -239 lines
Diff to previous 1.16 (colored) to selected 1.42 (colored)

DNS compression support.
be more picky about DNS label validation.
(sync with kame)

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Jul 27 16:12:35 2000 UTC (23 years, 8 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored) to selected 1.42 (colored)

pullup (approved by releng-1-5)
printf-like format pedant.  do not pass string variable alone.  use "%s".
from openbsd.

/cvsroot/basesrc/sbin/swapctl/swapctl.c	1.14 -> 1.15
/cvsroot/basesrc/sbin/ping6/ping6.c	1.15 -> 1.16
/cvsroot/basesrc/sbin/disklabel/disklabel.c	1.84 -> 1.85
/cvsroot/basesrc/sbin/ccdconfig/ccdconfig.c	1.30 -> 1.31

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 7 12:29:10 2000 UTC (23 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored) to selected 1.42 (colored)

warnx?/errx? audit.  don't pass variable/function return value alone.
use with "%s".  from openbsd.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:05:41 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.13: +228 -79 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.42 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 12 16:21:04 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.14: +222 -77 lines
Diff to previous 1.14 (colored) to selected 1.42 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 8 13:56:22 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.13: +8 -4 lines
Diff to previous 1.13 (colored) to selected 1.42 (colored)

make sure to clear ni_flags field on -w.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 28 13:50:04 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.12: +8 -4 lines
Diff to previous 1.12 (colored) to selected 1.42 (colored)

support ping6 -a c
(request IPv4 mapped/compatible addrs from
draft-ietf-ipngwg-icmp-name-lookups-05.txt)

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 16 00:37:02 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.11: +20 -18 lines
Diff to previous 1.11 (colored) to selected 1.42 (colored)

use getnameinfo(), instead inet_ntop(), as much as possible.
(sync with latest kame)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 31 14:24:25 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.10: +376 -106 lines
Diff to previous 1.10 (colored) to selected 1.42 (colored)

sync with latest libipsec and kernel.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 22 10:01:41 2000 UTC (24 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored) to selected 1.42 (colored)

Remove bogus declarations of "errno", "optind" and "optarg".

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:29 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.6: +101 -68 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.42 (colored)

Pull up to last week's -current.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 13 15:26:00 1999 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.8: +102 -69 lines
Diff to previous 1.8 (colored) to selected 1.42 (colored)

provide -S for source address specifier.
enable KAME scopeid hack.
cleanups in node information query.
(sync with latest KAME)

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 5 18:14:11 1999 UTC (24 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) to selected 1.42 (colored)

usage(): wrap lines so that they don't exceed 80 characters

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 3 02:13:55 1999 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.42 (colored)

rcsid police

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 4 02:46:28 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.5: +12 -6 lines
Diff to previous 1.5 (colored) to selected 1.42 (colored)

add NetBSD RCS ID.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 4 01:11:23 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) to selected 1.42 (colored)

be friendly with non-IPsec kernel.
don't exit even if ipsec policy config fails.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 2 17:52:36 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored) to selected 1.42 (colored)

stop using __RCSID from UCB comment.
Hope this fixes PR 7892.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 2 00:19:44 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.42 (colored)

Fix some printf format problems.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:59:11 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.42 (colored)

Fix LP64 printf format problem.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 1 20:00:00 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Diff to selected 1.42 (colored)

ping for IPv6.  try
	ping6 ::1
on you node.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>