diff --git a/usr.sbin/traceroute6/traceroute6.8 b/usr.sbin/traceroute6/traceroute6.8 --- a/usr.sbin/traceroute6/traceroute6.8 +++ b/usr.sbin/traceroute6/traceroute6.8 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd February 2, 2024 +.Dd November 12, 2024 .Dt TRACEROUTE6 8 .Os .\" @@ -75,7 +75,7 @@ .Sh DESCRIPTION The .Nm -utility uses the IPv6 protocol hop limit field to elicit an ICMPv6 +utility uses the IPv6 protocol hop limit field to elicit an ICMP6 TIME_EXCEEDED response from each gateway along the path to some host. .Pp The only mandatory parameter is the destination host name or IPv6 address. @@ -191,6 +191,10 @@ Destination Unreachable - Address Unreachable. .It !H Parameter Problem - Unrecognized Next Header Type. +.It !R +Destination Unreachable - Route to Destination Network Rejected. +.It ! +ICMP6 unreachable code . .It !\& This is printed if the hop limit is <= 1 on a port unreachable message. This means that the packet got to the destination, but that the reply had a hop diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1009,6 +1009,10 @@ printf(" !"); ++got_there; break; + default: + ++unreachable; + printf(" !<%d>", code & 0xff); + break; } } else if (type == ICMP6_PARAM_PROB && code == ICMP6_PARAMPROB_NEXTHEADER) {