History log of /freebsd-current/usr.sbin/traceroute6/traceroute6.8
Revision Date Author Comments
# 5eb1aebf 17-Nov-2023 Jose Luis Duran <jlduran@gmail.com>

traceroute: Lint manuals

Fix a number of warning mandoc -Tlint and igor turned up. No changes
intended.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901


# ba09352b 05-Nov-2023 Jose Luis Duran <jlduran@gmail.com>

traceroute: Standardize usage

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901


# 0a49be72 02-Feb-2024 Lexi Winter <lexi@le-Fay.ORG>

traceroute6: remove -l flag

The -l flag was used to tell traceroute6(8) to show both hostname and
address for each hop. However, traceroute(8) already does this by
default, and there's no reason for traceroute6 to behave differently.

Make this the default behaviour, and accept -l for backward
compatibility as a no-op flag.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1023


# 0c2218d1 27-Oct-2023 Jose Luis Duran <jlduran@gmail.com>

traceroute6: Implement ECN bleaching detection

Explicit Congestion Notification (ECN) is a mechanism that allows
end-to-end notification of network congestion without dropping packets
by explicitly setting the ECN code point (2 bits).

Per RFC 8087, section 3.5, network devices should not be configured to
change the ECN code point in the packets that they forward, except to
set the CE (Congestion Experienced) code point ('11') to signal
incipient congestion.

The current commit adds an -E flag to traceroute6 that crafts a packet
with an ECT(1) code point ('01').

If the packet is received back with a zero ECN code point ('00'), it
outputs that the hop in question erases or "bleaches" the ECN code point
values. Bleaching may occur for various reasons (including normalizing
packets to hide which equipment supports ECN). This policy prevents the
use of ECN by applications.

If the packet is received back with an all-ones ECN code point ('11'),
it outputs that the hop in question is experiencing "congestion".

If the packet is received back with a different ECN code point ('10'),
it outputs that the hop in question changes or "mangles" the ECN code
point values.

If the packet is received with the same ECN code point that was sent
('01'), it outputs that the hop has "passed" the ECN bits appropriately.

Inspired by: Darwin
Reviewed by: imp, markj
MFC after: 1 month
Pull Request: https://github.com/freebsd/freebsd-src/pull/879


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 01f3f354 25-Nov-2020 Alan Somers <asomers@FreeBSD.org>

ping: fix some man pages and tests after r368045

MFC-with: r368045


# 6d6d6c36 09-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

Fix a few mandoc issues

- no blank before trailing delimiter
- whitespace at end of input line
- sections out of conventional order
- normalizing date format
- AUTHORS section without An macro


# c7090651 13-Sep-2020 Michael Tuexen <tuexen@FreeBSD.org>

Add a -t option to traceroute6 to control the traffic class used when
sending probe packets.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D26410


# 1f69b3fb 15-Jul-2019 Michael Tuexen <tuexen@FreeBSD.org>

Add support for ICMPv6 messages indicating a parameter problem related
to an unrecognized next header.

MFC after: 2 weeks


# 44aaf08b 02-May-2018 Michael Tuexen <tuexen@FreeBSD.org>

Fix in the documentation that the default hop limit is not 30, but
the value of the sysctl variable net.inet6.ip6.hlim.
This is true since
https://svnweb.freebsd.org/base?view=revision&revision=122574
The default of 30 (which was correct up to r122574) was incorrectly
documented in
https://svnweb.freebsd.org/base?view=revision&revision=130268

Thanks to Timo Voelker for makeing me aware of the inconsistency
between to code and the documentation.

MFC after: 3 days


# 51eff8ef 27-Jan-2018 Michael Tuexen <tuexen@FreeBSD.org>

When using SCTP for sending probe packets, use INIT chunks for payloads
larger than or equal to 32 bytes. For smaller probe packets, keep using
SHUTDOWN-ACK chunks, possibly bundled with a PAD chunk.
Packets with INIT chunks more likely pass through firewalls. Therefore,
use them when possible.

MFC after: 1 week


# 9d8b46c8 30-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add SCTP and TCP as protocols for sending probe packets.

MFC after: 4 weeks


# aa96470c 30-Sep-2017 Michael Tuexen <tuexen@FreeBSD.org>

* Update function definitions.
* Ensure that the datalen always describes the length after the IPv6
header consistently, not matter which protocol us used for probes..
* Document that the default length is 20, not 12.
* Don't send inormation in probe packets which is not needed or
even checked when the responses are processed.
* Address CID 978587.

This is mainly a cleanup preparing the addition of SCTP and TCP
as possible probe packet protocols.

MFC after: 4 weeks


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 43ea76c9 13-Sep-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

MFC r196475:
- Add AS lookup functionality to traceroute6(8) as well.
- Support for IPv6 transport for AS lookup.
- Introduce $RA_SERVER to set whois server.
- Support for 4 byte ASN.
- ANSIfy function declaration in as.c.

Approved by: re (kib)


# d429d720 23-Aug-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

- Add AS lookup functionality to traceroute6(8) as well.
- Support for IPv6 transport for AS lookup.
- Introduce $RA_SERVER to set whois server.
- Support for 4 byte ASN.
- ANSIfy function declaration in as.c.

Tested by: IHANet folks.


# a8d316cc 06-Jan-2009 Daniel Gerzo <danger@FreeBSD.org>

- rename the RETURN VALUES section to EXIT STATUS
- not bumping a date as this is not a real content change

Approved by: ru
MFC after: 3 days


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# d7b63faf 10-Feb-2008 David Malone <dwmalone@FreeBSD.org>

Give traceroute6 the ability to traceroute with packets with no
upper layer header (IP PROTO = 59). Useful for testing firewalls.

MFC after: 2 months


# c5491668 10-Jan-2006 Pav Lucistnik <pav@FreeBSD.org>

- Fix: documentation for -m option was inserted halfway thru the text of -l
option.

PR: docs/90359
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
MFC after: 3 days


# 4c45e439 22-Dec-2005 Dima Dorfman <dd@FreeBSD.org>

Copy the description for the -r option from the traceroute(8) man
page. I'm pretty sure that this description applies the same way to
ipv6, and at least mentioning SO_DONTROUTE is better than having no
description at all.


# 6b806d21 09-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fixed the misplaced $FreeBSD$.


# 2410103c 07-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) fixes.


# 615f49ba 08-Jun-2004 David Malone <dwmalone@FreeBSD.org>

Add some more details about what traceroute6 does.

Submitted by: Orla McGann <orly@redbrick.dcu.ie>
Obtained from: KAME
MFC after: 2 weeks


# cdbc658c 05-Jun-2004 Ruslan Ermilov <ru@FreeBSD.org>

Reapply traditionally lost fixes.


# 84a1a4cf 12-Nov-2003 Hajimu UMEMOTO <ume@FreeBSD.org>

- setsockopt/sysctl takes int, not u_long.
- be more picky about argument parsing - like ERANGE.
- use u_long for args, not to lose accuracy/prevent overflow.
- socklen_t audit.
- Add -I (use icmp) option.
- warn if multiple addresses are present for dest.
- no need to pass tz.
- type pedant. check -p range.
- grab hlim from sysctl.
- typo in port number setting.

Obtained from: KAME


# 490d5836 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# c4d9468e 07-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


# 33841545 10-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.

Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks


# e97407b4 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# de68a0da 05-Jul-2000 Kris Kennaway <kris@FreeBSD.org>

Sync with latest KAME code.

Obtained from: KAME


# f167d7fb 09-May-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix miscellaneous mdoc macro argument limit infringements.

PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>


# 41d34b5f 06-May-2000 Alexey Zelkin <phantom@FreeBSD.org>

Fix typo

Noticed by: hoek


# a14efaa62 01-May-2000 Alexey Zelkin <phantom@FreeBSD.org>

. clear `.Os' macro value since this tool is not KAME only anymore
. add integration note
. avoid `.Nm' value upper case usage


# 7d56d374 27-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project