<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/traceroute, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-02-08T16:52:42Z</updated>
<entry>
<title>traceroute: move from contrib to usr.sbin</title>
<updated>2024-02-08T16:52:42Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-02-03T13:10:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b7a920a12a9377b9c8227f72748ab32fbbb4822'/>
<id>urn:sha1:9b7a920a12a9377b9c8227f72748ab32fbbb4822</id>
<content type='text'>
traceroute hasn't had a vendor import since 2002, while since then it's
had several significant FreeBSD-specific commits.  Since it's unlikely
another vendor import will happen, and to make the merge of traceroute6
into traceroute easier, import traceroute into usr.sbin.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1100
</content>
</entry>
<entry>
<title>traceroute: Remove $FreeBSD$ rcsid tags</title>
<updated>2024-02-03T03:14:09Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-11-17T18:36:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=864780bca09dc022e985b54c17ef1606217a8f2b'/>
<id>urn:sha1:864780bca09dc022e985b54c17ef1606217a8f2b</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901
</content>
</entry>
<entry>
<title>traceroute: Lint manuals</title>
<updated>2024-02-03T03:14:09Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-11-17T16:41:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5eb1aebf8d80ccdd34f5680618c3c958af5606cb'/>
<id>urn:sha1:5eb1aebf8d80ccdd34f5680618c3c958af5606cb</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>traceroute: Standardize usage</title>
<updated>2024-02-03T03:14:09Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-11-05T18:35:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba09352b73238bb4f1ca8586aab95cb2d9544bdc'/>
<id>urn:sha1:ba09352b73238bb4f1ca8586aab95cb2d9544bdc</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901
</content>
</entry>
<entry>
<title>traceroute: Update values in examples</title>
<updated>2024-02-03T03:14:09Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-11-05T17:57:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=00aa6353374c7a343e54e07894b018cd755f8bec'/>
<id>urn:sha1:00aa6353374c7a343e54e07894b018cd755f8bec</id>
<content type='text'>
Standardize the documentation and update it to reflect the current
values.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901
</content>
</entry>
<entry>
<title>traceroute: Silence compiler warning</title>
<updated>2024-02-03T03:14:09Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-11-17T16:15:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af87ba65223f05e14590a2564e8c7b4eec7b53a7'/>
<id>urn:sha1:af87ba65223f05e14590a2564e8c7b4eec7b53a7</id>
<content type='text'>
Silence the warning:

argument to 'sizeof' in 'strncpy' call is the same expression as the
source; did you mean to use the size of the destination?"

by using strlcpy() and the size of the destination (device).

No functional change intended.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/901
</content>
</entry>
<entry>
<title>traceroute: Implement ECN bleaching detection</title>
<updated>2024-01-03T17:57:54Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-10-28T00:28:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8aafae66394fe64489d6371c22da5a5fb7ee7c81'/>
<id>urn:sha1:8aafae66394fe64489d6371c22da5a5fb7ee7c81</id>
<content type='text'>
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 traceroute 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
</content>
</entry>
<entry>
<title>traceroute: style(9) fixes</title>
<updated>2024-01-03T17:56:10Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-10-28T00:13:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=943a9f4e470c3d45e4e93e3c91449b8c369c27ab'/>
<id>urn:sha1:943a9f4e470c3d45e4e93e3c91449b8c369c27ab</id>
<content type='text'>
No functional change intended.

Reviewed by:	imp, markj
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/879
</content>
</entry>
<entry>
<title>traceroute: Remove the $FreeBSD$ pattern</title>
<updated>2024-01-03T17:54:18Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-10-28T00:20:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b023e965dc0576c3254510e47abc8565800d1ab5'/>
<id>urn:sha1:b023e965dc0576c3254510e47abc8565800d1ab5</id>
<content type='text'>
Reviewed by:	imp, markj
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/879
</content>
</entry>
<entry>
<title>traceroute: Remove stray __P</title>
<updated>2023-11-18T04:05:00Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-18T03:48:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ac3cfa939e458560705713335764ae64c1b8a7f'/>
<id>urn:sha1:4ac3cfa939e458560705713335764ae64c1b8a7f</id>
<content type='text'>
Remove stray __P(). It's no longer needed, and since the whole rest of
the file lacks them, it's not very useful.

Sponsored by:		Netflix
</content>
</entry>
</feed>
