Home | History | Annotate | Download | only in traceroute6
History log of /src/usr.sbin/traceroute6/traceroute6.c
RevisionDateAuthorComments
 1.52  03-Feb-2021  roy traceroute6: Remove __packed
 1.51  23-Apr-2018  maxv Clean up the IPsec ifdefs, same as ping6.
 1.50  23-Apr-2018  maxv ... another occurrence of OLDRAWSOCKET ...
 1.49  23-Apr-2018  maxv Remove dead code.
 1.48  23-Apr-2018  maxv Remove dead/broken code. We want to favor RFC3542 over RFC2292. No
functional change.
 1.47  23-Apr-2018  maxv Remove dead code.
 1.46  23-Apr-2018  maxv Remove now unused code.
 1.45  23-Apr-2018  maxv Remove the "-g" option, it uses RH0, which is deprecated by RFC5095, and
doesn't work on modern networks anymore.
 1.44  17-Nov-2016  shm branches: 1.44.12;
CID 978587: Removed unnecessary check against NULL.
 1.43  10-Dec-2012  christos branches: 1.43.12;
PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
work because the wrong variable is used.
XXX: Pullup to 6.
 1.42  04-Jan-2012  drochner branches: 1.42.2; 1.42.6;
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))
 1.41  15-May-2011  wiz branches: 1.41.4;
Sync usage with manpage.
 1.40  10-May-2011  christos AS additions from Zafer Aydogan to print the AS path. Minor cleanups to compile
without WARNS=1 hackery.
 1.39  13-May-2010  christos PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian
the expression is not truncated to 16 bits, thus sending to port 65536 makes
the == 0 test fail and the packet ends up being sent.
 1.38  16-Feb-2009  is synchronize error flags with own comment and with traceroute, as discussed
on tech-net.
 1.37  07-Oct-2006  elad branches: 1.37.24; 1.37.26;
PR/19069: Jun-ichiro itojun Hagino: traceroute(8) and traceroute6(8) can
send packet to udp port 0, which is illegal
 1.36  05-May-2006  rpaulo 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.
 1.35  22-Apr-2004  itojun do not disclose endian/pid. henning@openbsd
 1.34  25-Jan-2004  itojun do not disclose endian/alignment by probe packet. from dreaadt@openbsd
via kame
 1.33  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.
 1.32  21-Jan-2003  itojun sysctl/setsockopt takes int, not u_long.
 1.31  21-Jan-2003  itojun fix arg size to IPV6_UNICAST_HOPS socket option. Hiroki Sato
 1.30  24-Oct-2002  itojun be more picky about argument parsing (check ERANGE from strtoul). sync w/kame
 1.29  23-Oct-2002  itojun make args u_long not to lose accuracy due to conversion/overflow.
from mark@openbsd
 1.28  08-Sep-2002  itojun socklen_t audit. from deraadt, sync w/kame
 1.27  30-Aug-2002  onoe Fixed trivial bugs in previous commit:
unnecessary socket is opened, and non-root user failed to execute...
 1.26  30-Aug-2002  onoe Add -I (use icmp) option as traceroute.
sync w/kame
 1.25  27-Aug-2002  itojun warn if multiple addresses are returned from DNS, like traceroute(8) does.
sync w/kame
 1.24  09-Aug-2002  itojun no need for struct timezone. From: Kevin Steves <kevin@atomicgears.com>
 1.23  29-Jun-2002  itojun check port number range. sync w/kame, pointed out by deraadt
 1.22  09-Jun-2002  itojun use strchr not index
 1.21  26-May-2002  itojun grab max hlim/ttl from kernel via sysctl. sync w/openbsd
 1.20  26-May-2002  itojun typo in port number setting
 1.19  26-May-2002  itojun KNF and other cleanups. from openbsd via kame
 1.18  19-Feb-2002  itojun sizeof pedant
 1.17  07-May-2001  kleink getopt(3): EOF -> -1.
 1.16  12-Jan-2001  itojun correct fd_set allocation. from deraadt
 1.15  22-Dec-2000  itojun use strlcpy/at throughout the code. more strct argument validation.
revoke setuid privilege earlier.

sync with kame.
 1.14  07-Oct-2000  itojun avoid fd_set size overflow. from deraadt@openbsd, sync with kame.
 1.13  07-Jul-2000  itojun warnx?/errx? audit (don't pass variable alone). from openbsd.
 1.12  30-Jun-2000  itojun be more careful about arg to errx?/warnx? (do not pass variable directly,
it may contain "%"). from openbsd, via kame.
 1.11  12-Jun-2000  itojun branches: 1.11.2;
print source address of query. support -f (skip first N hops).
do not choke on unexpected ND messages.
 1.10  12-Mar-2000  itojun branches: 1.10.2;
correct use of perror().
 1.9  02-Mar-2000  itojun typo fix (s/Ridirect/Redirect/)
 1.8  28-Feb-2000  itojun do not assume CMSG_xx are constant. (sync with latest kame)
 1.7  16-Feb-2000  itojun use getnameinfo(), not inet_ntop(), as much as possible.
(sync with recent kame)
 1.6  31-Jan-2000  itojun sync with latest libipsec/kernel.
 1.5  03-Sep-1999  itojun do not bark even if IPsec is turned off in kernel.
 1.4  30-Jul-1999  itojun allow "traceroute6 -q1 foo".

KAME PR: 135
 1.3  04-Jul-1999  itojun add NetBSD RCS ID.
 1.2  02-Jul-1999  thorpej Squash some NULL printf format warnings, providing better error messages
to the user in the process.
 1.1  01-Jul-1999  itojun traceroute6: traceroute for IPv6.

TODO: better to be separate, or merged?
 1.10.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.11.2.3  18-Oct-2000  tv Pullup 1.14 [itojun]:
avoid fd_set size overflow. from deraadt@openbsd, sync with kame.
 1.11.2.2  27-Jul-2000  itojun pullup (approved by releng-1-5)
printf-like format pedant. do not pass string variable alone. use "%s".
from openbsd.

/cvsroot/basesrc/usr.sbin/netgroup_mkdb/netgroup_mkdb.c 1.9 -> 1.10
/cvsroot/basesrc/usr.sbin/pwd_mkdb/pwd_mkdb.c 1.17 -> 1.18
/cvsroot/basesrc/usr.sbin/quotaon/quotaon.c 1.14 -> 1.15
/cvsroot/basesrc/usr.sbin/rdate/rdate.c 1.10 -> 1.11
/cvsroot/basesrc/usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c 1.5 -> 1.6
/cvsroot/basesrc/usr.sbin/traceroute6/traceroute6.c 1.12 -> 1.13
/cvsroot/basesrc/usr.sbin/wsconscfg/wsconscfg.c 1.6 -> 1.7
/cvsroot/basesrc/usr.sbin/ypserv/revnetgroup/revnetgroup.c 1.7 -> 1.8
/cvsroot/basesrc/usr.sbin/ypserv/ypserv/ypserv.c 1.10 -> 1.11
 1.11.2.1  03-Jul-2000  thorpej Pull up rev. 1.12:
be more careful about arg to errx?/warnx? (do not pass variable directly,
it may contain "%"). from openbsd, via kame.
 1.37.26.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.37.24.1  24-Feb-2009  snj Pull up following revision(s) (requested by is in ticket #469):
usr.sbin/traceroute6/traceroute6.c: revision 1.38
synchronize error flags with own comment and with traceroute, as discussed
on tech-net.
 1.41.4.2  16-Jan-2013  yamt sync with (a bit old) head
 1.41.4.1  17-Apr-2012  yamt sync with head
 1.42.6.1  25-Feb-2013  tls resync with head
 1.42.2.1  06-Jul-2017  snj Pull up following revision(s) (requested by is in ticket #1427):
usr.sbin/traceroute6/traceroute6.c: revision 1.43
PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
work because the wrong variable is used.
 1.43.12.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.44.12.1  02-May-2018  pgoyette Synch with HEAD

RSS XML Feed