OpenBSD CVS

CVS log for src/usr.sbin/traceroute6/Attic/traceroute6.c


[BACK] Up to [local] / src / usr.sbin / traceroute6

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.100, Tue Apr 29 15:03:07 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.99: +1 -1 lines
FILE REMOVED

Move traceroute6 to the attic, fully merged into traceroute.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Apr 23 09:24:36 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

Prepare for merge: s/hops/ttl/ in struct packetdata
OK benno@

Revision 1.98 / (download) - annotate - [select for diffs], Wed Apr 23 09:23:30 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.97: +8 -6 lines
Diff to previous 1.97 (colored)

Prepare for merge: no more useicmp
OK benno@

Revision 1.97 / (download) - annotate - [select for diffs], Wed Apr 23 09:22:34 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.96: +9 -9 lines
Diff to previous 1.96 (colored)

KNF
OK benno@

Revision 1.96 / (download) - annotate - [select for diffs], Wed Apr 23 09:20:15 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

bzero -> memset
OK benno@

Revision 1.95 / (download) - annotate - [select for diffs], Wed Apr 23 09:19:23 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 (colored)

s/lastaddr/lastaddr6/
OK benno@

Revision 1.94 / (download) - annotate - [select for diffs], Wed Apr 23 09:18:27 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.93: +106 -81 lines
Diff to previous 1.93 (colored)

Prepare merge: check AF
OK benno@

Revision 1.93 / (download) - annotate - [select for diffs], Wed Apr 23 09:17:10 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored)

missing break; not reachable
OK benno@

Revision 1.92 / (download) - annotate - [select for diffs], Wed Apr 23 09:16:11 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

No need to set protocol in hints.
OK benno@

Revision 1.91 / (download) - annotate - [select for diffs], Wed Apr 23 09:13:00 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.90: +12 -11 lines
Diff to previous 1.90 (colored)

move AF independet setsockopts down
OK benno@

Revision 1.90 / (download) - annotate - [select for diffs], Wed Apr 23 09:11:35 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored)

s/Nxt/nxt/
OK benno@

Revision 1.89 / (download) - annotate - [select for diffs], Wed Apr 23 09:10:53 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored)

Add error checking to sysctl. While there pass in an int otherwise
it failes with ENOMEM in traceroute.
OK benno@

Revision 1.88 / (download) - annotate - [select for diffs], Wed Apr 23 09:09:28 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.87: +9 -9 lines
Diff to previous 1.87 (colored)

sync to traceroute: move sndsock creation up.
OK benno@

Revision 1.87 / (download) - annotate - [select for diffs], Wed Apr 23 08:59:35 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.86: +16 -2 lines
Diff to previous 1.86 (colored)

Prepare for merge: introduce icmp_code for the AF switch.
OK benno@

Revision 1.86 / (download) - annotate - [select for diffs], Wed Apr 23 08:56:31 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.85: +19 -4 lines
Diff to previous 1.85 (colored)

Prepare for merge: s/packet_ok/packet_ok6/ and use packet_ok
for the AF switch.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 23 08:53:49 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.84: +13 -10 lines
Diff to previous 1.84 (colored)

Prepare merge: introduce struct sockaddr *from, *to to be used in
AF independet places.
OK benno@

Revision 1.84 / (download) - annotate - [select for diffs], Wed Apr 23 08:51:32 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.83: +21 -21 lines
Diff to previous 1.83 (colored)

Prepare merge: s/to/to6/; s/from/from6/
OK benno@

Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 23 08:44:50 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.82: +4 -8 lines
Diff to previous 1.82 (colored)

Make this compile with -Wall et al.
OK benno@

Revision 1.82 / (download) - annotate - [select for diffs], Fri Apr 18 16:58:02 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.81: +6 -10 lines
Diff to previous 1.81 (colored)

Declare socklen_t len in main, it's used in two places, no need
to declare it twice. We can get rid of a { } block.
OK benno@

Revision 1.81 / (download) - annotate - [select for diffs], Fri Apr 18 16:56:25 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.80: +18 -38 lines
Diff to previous 1.80 (colored)

Replace fprintf(stderr, ..); exit() with errx() and fprintf(stderr, ...)
with warnx()
OK lteo@, benno@

Revision 1.80 / (download) - annotate - [select for diffs], Fri Apr 18 16:48:19 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.79: +3 -44 lines
Diff to previous 1.79 (colored)

Drop rh0 support (-g), it doesn't work anyway.
OK benno@

Revision 1.79 / (download) - annotate - [select for diffs], Fri Apr 18 16:33:21 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored)

We do have SO_SNDBUF.
OK benno@

Revision 1.78 / (download) - annotate - [select for diffs], Fri Apr 18 16:30:00 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.77: +18 -33 lines
Diff to previous 1.77 (colored)

replace perror(3) with err(3)/warn(3)
OK lteo@, benno@

Revision 1.77 / (download) - annotate - [select for diffs], Fri Apr 18 16:26:47 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.76: +22 -23 lines
Diff to previous 1.76 (colored)

Structure wait_for_reply() loop like traceroute, thereby moving the
loop body one indent layer up.
OK benno@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Apr 18 16:23:00 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.75: +36 -29 lines
Diff to previous 1.75 (colored)

move ICMP6 code parsing to function
OK benno@

Revision 1.75 / (download) - annotate - [select for diffs], Fri Apr 18 16:20:56 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.74: +21 -22 lines
Diff to previous 1.74 (colored)

sync to traceroute:
* s/Dst/to/
* s/Src/from/
* drop Rcv
OK benno@

Revision 1.74 / (download) - annotate - [select for diffs], Fri Apr 18 16:11:36 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.73: +2 -8 lines
Diff to previous 1.73 (colored)

Sync to tracroute: don't print source IP if -s is not given
OK benno@ (who wants it back in some form after the merge)

Revision 1.73 / (download) - annotate - [select for diffs], Fri Apr 18 16:07:54 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.72: +9 -1 lines
Diff to previous 1.72 (colored)

Sync to tracroute: handle "time exceeded in transit" before the
switch and add a default case.
OK benno@

Revision 1.72 / (download) - annotate - [select for diffs], Fri Apr 18 16:02:08 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.71: +7 -7 lines
Diff to previous 1.71 (colored)

sync to traceroute: s/opacket/packetdata/
OK lteo@, benno@

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 18 16:00:38 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.70: +14 -22 lines
Diff to previous 1.70 (colored)

Embed struct tv32 into struct opacket like traceroute.
This changes the data part of an icmp6 paket, before it only
contained the timestamp, now it contains a whole struct opacket.
Shouldn't be an issue as nobody looks at this data anyway.
OK benno@

Revision 1.70 / (download) - annotate - [select for diffs], Fri Apr 18 15:58:43 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.69: +31 -13 lines
Diff to previous 1.69 (colored)

Factor out build_probe{4,6} from send_probe; now send_probe is
AF independent. While there define outpacket as u_char and
cast as needed in traceroute6.
OK benno@

Revision 1.69 / (download) - annotate - [select for diffs], Thu Mar 27 09:32:18 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.68: +1 -5 lines
Diff to previous 1.68 (colored)

zap dead code; OK lteo@

Revision 1.68 / (download) - annotate - [select for diffs], Mon Mar 24 11:11:49 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.67: +3 -12 lines
Diff to previous 1.67 (colored)

Remove "-r" option from ping(8) and traceroute{,6}(8).  You've probably
never heard about it, it was to bypass the routing tables, not available
for IPv6 and we're going to always use the routing tables soon.

ok florian@, man pages ok jmc@

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 18 10:11:36 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.66: +13 -13 lines
Diff to previous 1.66 (colored)

Make print AF independet and use it in traceroute and traceroute6.
OK benno

Revision 1.66 / (download) - annotate - [select for diffs], Tue Mar 18 10:11:00 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.65: +11 -18 lines
Diff to previous 1.65 (colored)

Sync inetname from traceroute6 and thereby make it AF independent.
While there drop the !nflag check as it's never called with nflag set,
simplify the code a bit and adapt style from traceroute.
OK benno

Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 18 10:10:17 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.64: +44 -24 lines
Diff to previous 1.64 (colored)

AF independent print_asn
OK benno

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 18 10:09:37 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.63: +5 -6 lines
Diff to previous 1.63 (colored)

Stop if the sum of unreachables and timeouts are >= number of probes, but
only if we have at least one unreachable; from traceroute
OK benno

Revision 1.63 / (download) - annotate - [select for diffs], Tue Mar 18 10:08:24 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.62: +2 -7 lines
Diff to previous 1.62 (colored)

Remove #if 0; after nearly 14 years it's probably the right thing to
set rcvhlim to zero.
OK lteo, benno

Revision 1.62 / (download) - annotate - [select for diffs], Tue Mar 18 10:06:39 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.61: +7 -7 lines
Diff to previous 1.61 (colored)

Free -l flag, by default print hostnames and numeric addresses, like
traceroute does.
Immediatly reclaim -l flag to print hop limit of received pkg like
traceroute does.
OK benno

Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 10 19:58:43 2014 UTC (10 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.60: +15 -23 lines
Diff to previous 1.60 (colored)

13_datalen.msg

Revision 1.60 / (download) - annotate - [select for diffs], Mon Mar 10 19:57:24 2014 UTC (10 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.59: +6 -13 lines
Diff to previous 1.59 (colored)

11_w_flag.msg

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 10 19:56:58 2014 UTC (10 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.58: +2 -6 lines
Diff to previous 1.58 (colored)

10_setvbuf.msg

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 24 15:28:03 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.57: +14 -8 lines
Diff to previous 1.57 (colored)

Implement -S; from traceroute; reduces diff to traceroute.
OK benno@

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 24 15:26:32 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.56: +25 -3 lines
Diff to previous 1.56 (colored)

Implement -D; from traceroute; reduces diff to traceroute.
While here add dump() prototype in traceroute
OK benno@

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 24 15:22:10 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.55: +20 -11 lines
Diff to previous 1.55 (colored)

Implement -c flag; from traceroute; reduces diff to traceroute
OK benno@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 24 15:16:13 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.54: +6 -14 lines
Diff to previous 1.54 (colored)

Sync "port" handling to traceroute; reduces diff to traceroute
OK benno@

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jan 24 15:14:31 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.53: +9 -16 lines
Diff to previous 1.53 (colored)

Sync "nprobes" handling to traceroute; reduces diff to traceroute
OK benno@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 24 15:12:29 2014 UTC (10 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.52: +23 -29 lines
Diff to previous 1.52 (colored)

Sync max_hops and first_hop to same type as the corosponding
variables max_ttl / first_ttl in traceroute have.
Also parse -f/-m the same as traceroute.
Does not technically reduce the diff to traceroute, but if/when
we merge we can decide which variable naming wins and search/replace
the other.
OK benno@

Revision 1.52 / (download) - annotate - [select for diffs], Tue Nov 12 19:36:30 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

prototypes, some pleasing of gcc, and cleanup an unused variable

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 26 21:21:45 2013 UTC (10 years, 7 months ago) by sthen
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Only use setsockopt(..SO_RTABLE..) if an alternative rtable is specified
on the command line, this repairs traceroute6 if the -V flag is not given.

ok matthieu@ deraadt@

(Note that traceroute6's source address selection is not yet rdomain-aware,
for now to use another domain with "traceroute -V" requires manually setting
the source address with -s.)

Revision 1.50 / (download) - annotate - [select for diffs], Mon Oct 21 08:47:10 2013 UTC (10 years, 7 months ago) by phessler
Branch: MAIN
Changes since 1.49: +20 -4 lines
Diff to previous 1.49 (colored)

More rdomain / rtable support for useful diagnostic tools


OK claudio@ bluhm@

Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 6 17:43:03 2012 UTC (12 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

unlike the previous century, the malloc argument now has an accurate type
rather than just "(unsigned)"

Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 15 08:22:02 2012 UTC (12 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

add -A to usage();

Revision 1.47 / (download) - annotate - [select for diffs], Fri Feb 10 22:50:48 2012 UTC (12 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.46: +52 -2 lines
Diff to previous 1.46 (colored)

Add ASN printing support to traceroute6, mostly the same as code in
traceroute with a few string changes. Help/ok deraadt@

Revision 1.46 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:57 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.45: +1 -11 lines
Diff to previous 1.45 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 24 16:11:06 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.44: +4 -6 lines
Diff to previous 1.44 (colored)

msg_controllen has to be CMSG_SPACE so that the kernel can account for
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 15 16:43:59 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.43: +7 -4 lines
Diff to previous 1.43 (colored)

space allocated is sum of CMSG_SPACE()'s.  length given to the kernel
is the sum of all the CMSG_SPACE()'s, except for the last element use
CMSG_LEN().  Insane, right?
ok kettenis hshoexer

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 19 14:47:45 2006 UTC (17 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.42: +1 -29 lines
Diff to previous 1.42 (colored)

eliminate #ifdef OLDRAWSOCKET
-DHAVE_POLL is no longer needed

Revision 1.42 / (download) - annotate - [select for diffs], Fri Dec 15 06:00:12 2006 UTC (17 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.41: +1 -150 lines
Diff to previous 1.41 (colored)

reduce RFC2292/3542 #ifdefs.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Nov 16 02:20:50 2006 UTC (17 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (colored)

make RFC2292 -> 3542 transition to automagically happen.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 10 20:11:02 2006 UTC (17 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

sync usage();

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 3 01:01:14 2005 UTC (19 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.38: +5 -3 lines
Diff to previous 1.38 (colored)

more setres[ug]id; ok deraadt@

Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 1 18:32:21 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

ansi cleanup; khalek@linuxgamers.net

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jan 25 03:25:49 2004 UTC (20 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.36: +34 -54 lines
Diff to previous 1.36 (colored)

knf and cleanup.  as well avoid sending out packet information which
contains byte-order, alignment, or padding information about the src
host.  while at it, fix unaligned access operations.  ok itojun

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 11 23:33:30 2003 UTC (21 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.35: +16 -34 lines
Diff to previous 1.35 (colored)

some ansification, some de-register

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:55 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.34: +2 -6 lines
Diff to previous 1.34 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 21 08:55:14 2003 UTC (21 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.33: +4 -3 lines
Diff to previous 1.33 (colored)

SO_SNDBUF needs int, not u_long

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jan 21 08:51:22 2003 UTC (21 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

getting sysctl(net.inet6.ip6.def_hlim) need int variable, not u_long

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 21 08:00:08 2003 UTC (21 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

correct arg size for IPV6_UNICAST_HOPS socket option.  Hiroki Sato

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 24 12:58:45 2002 UTC (21 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.30: +21 -21 lines
Diff to previous 1.30 (colored)

be more picky about arg parsing.  check ERANGE on strtoul.  sync w/kame.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 23 06:45:13 2002 UTC (21 years, 7 months ago) by mark
Branch: MAIN
Changes since 1.29: +16 -14 lines
Diff to previous 1.29 (colored)

integer overflow cleanup - convert to u_long so strtoul can handle comparisons

itojun@ ok

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 8 01:31:46 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored)

socklen_t audit.  from deraadt, sync w/kame

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 30 07:23:50 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.27: +77 -30 lines
Diff to previous 1.27 (colored)

have -I option, which causes traceroute6 to use ICMPv6 echo request for probing
(instead of udp).

Revision 1.27 / (download) - annotate - [select for diffs], Tue Aug 27 00:39:36 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.26: +9 -2 lines
Diff to previous 1.26 (colored)

warn if multiple addresses are returned from DNS (traceroute(8) should do it too)
sync w/kame

Revision 1.26 / (download) - annotate - [select for diffs], Thu Aug 8 23:53:21 2002 UTC (21 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.25: +4 -6 lines
Diff to previous 1.25 (colored)

remove unused struct timezone; ok itojun@

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 29 07:46:11 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.24: +8 -6 lines
Diff to previous 1.24 (colored)

check -p out of range.  sync w/kame, hint from deraadt

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 9 02:39:17 2002 UTC (22 years ago) by itojun
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

strlcpy fix, PR 2727

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 9 02:15:54 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

strchr() instead of index()

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 2 06:42:29 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

minor KNF

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 26 13:24:54 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.20: +7 -1 lines
Diff to previous 1.20 (colored)

use sysctl to get ttl from the kernel; itojun ok

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 26 13:15:18 2002 UTC (22 years ago) by itojun
Branch: MAIN
Changes since 1.19: +19 -31 lines
Diff to previous 1.19 (colored)

sync with latest kame.  KNF, port number simplification, and such

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 21 19:11:08 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.18: +119 -138 lines
Diff to previous 1.18 (colored)

KNF; itojun ok

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 19 02:34:10 2002 UTC (22 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

sizeof pedant.
From: Mike Pechkin <mpech@prosoft.org.lv>

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:10 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.16: +14 -14 lines
Diff to previous 1.16 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 26 06:23:02 2001 UTC (22 years, 7 months ago) by mpech
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

getopt(3) returns -1 when out of args, not EOF.

itojun@ ok

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 12 19:10:48 2001 UTC (23 years, 5 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

typo, enhough -> enough

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 22 15:17:25 2000 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.13: +65 -26 lines
Diff to previous 1.13 (colored)

revoke root priv earlier.  use strl*.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 7 21:47:31 2000 UTC (23 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.12: +23 -2 lines
Diff to previous 1.12 (colored)

sync with kame, to make future upgrade easier

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 7 16:05:45 2000 UTC (23 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

use poll to avoid fd_set overflow

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Oct 6 21:24:22 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull in patch from current:
Fix (millert):
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 30 16:00:29 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)

warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 12 16:37:10 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.9: +89 -67 lines
Diff to previous 1.9 (colored)

sync with latest kame traceroute6.  print src address.  -g (source route).
dont choke with unexpected icmp6 packet.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 5 12:58:42 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

correct option parser typo.  -f, not -b.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 20 17:43:46 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.7: +11 -11 lines
Diff to previous 1.7 (colored)

Change -b to -f, similar to Solaris.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 20 07:57:41 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Yet more typos...I should quit while I'm ahead.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 20 07:52:18 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Also forgot to update usage()

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 20 07:50:54 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Forgot trailing newline in message.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 20 07:49:47 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
Changes since 1.3: +17 -5 lines
Diff to previous 1.3 (colored)

Same as the traceroute commit just now; add an option for skipping
nodes at the beginning of the trace.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 12 03:56:44 2000 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.2: +77 -28 lines
Diff to previous 1.2 (colored)

correct use of perror().  improve src addr selection. (sync with kame)

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 2 07:44:08 2000 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

typo fix.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 16 06:04:27 2000 UTC (24 years, 3 months ago) by itojun
Branch: MAIN

add traceroute6 (oops, forgot to bring it in)

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.