From nobody Sat Feb 03 04:08:05 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TRfJ609R3z58xxp; Sat, 3 Feb 2024 04:08:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRfJ56bhjz4nV0; Sat, 3 Feb 2024 04:08:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706933285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jon4sM3xkuNx92OJE4SsXWn1zVMHks62D5c2g1nYYZ0=; b=fMSPaosmcqCWXCLo8WoO+T0uc+Vgz9whS9NxGD0B2g2RsGZW/b6bM/DlkxJkBFl8MprTbM YzP3jbLIx8Spwk7iGZV67Bv2AdZ6vRmYHzMjVRX9eYZzSqE12tipVlBBkQwYBezSnTeyIx W2nOf3BaAyidowr87htPRruCV6y0Y9vXwSwxHEfDfK+QVHg36FQSAYBH/PpxCamv1Oqzql rdKB3k0/smwqXlYo/RsogTQU4CyaiRVbL2S49UavZvQ1wPEl9QsRRCQM4wBCTYYFyANAc4 N9wfUgppQ0LrCncs2be1q/QgTBIhH7hvGNjByN25UTAEE7GflnaQT4+3KylhAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706933285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jon4sM3xkuNx92OJE4SsXWn1zVMHks62D5c2g1nYYZ0=; b=c/SB1wwjJjda9P8VVcoEbkr1g3ICDIcQIk2uFCuV2w1ZpWP3vZ+X2Ls3LwYo3XwdwdqXYp oIIQT2/rF8Suvaczjhj+llWpnomLwjpmp8wzPFR6Sma/pIuWJWevDU+f/a9K7r3HH8FJ+v M94D31pMNzWZ+cJSwjTu6hVBUNDJFRUncRy7PalRX2gxPVLjIg6T9/Jm+4svpDMF/WwigT lCtJnqUidSU5XEls6ptAckUE6MEEfNrXPpGRyoDipLfPWU+nHDyeYaSoNa+M1+im0YOoSh TZrsQSm9VFas/aANUsyohiPazGXh5TzudY4gSsEi5uwvxgQbPgK/rRACV5JJrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706933285; a=rsa-sha256; cv=none; b=xjGHWcCotmrEJiO2dh0lWgtBQaXS105I3ddl2JBhgt4mkl/0S5kbfQv7Rqw6GpXBP2BYXe mVbHcDXBpFFocofxs+hIgyeL9D9HAweRbODxi0hLejeJ6TwhwsF+/FZG6A8Xc37oxLZxzn zbwjJ8O8aPh5rWR/MS5ePqhXrPL/FsJEqm0TXgKxYuSIz1JX++H6cAv/5zUAHuqUCgzZUp CeRjo9fwoE9pE6fQLrIIkz+HNG24X0icjZrOJtc5y1PcZHVf8ksyzkXvQLbN64p9zu1tdv dA6ihACtOyATbxnYRj1NmRX/bhTGv/uvGrRcIFY/BTh0NatRpssHGujPWTHvjw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TRfJ55hL4zydZ; Sat, 3 Feb 2024 04:08:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 413485Yf065454; Sat, 3 Feb 2024 04:08:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 413485jL065452; Sat, 3 Feb 2024 04:08:05 GMT (envelope-from git) Date: Sat, 3 Feb 2024 04:08:05 GMT Message-Id: <202402030408.413485jL065452@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 00aa6353374c - main - traceroute: Update values in examples List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00aa6353374c7a343e54e07894b018cd755f8bec Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=00aa6353374c7a343e54e07894b018cd755f8bec commit 00aa6353374c7a343e54e07894b018cd755f8bec Author: Jose Luis Duran AuthorDate: 2023-11-05 17:57:25 +0000 Commit: Warner Losh CommitDate: 2024-02-03 03:14:09 +0000 traceroute: Update values in examples Standardize the documentation and update it to reflect the current values. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/901 --- contrib/traceroute/traceroute.8 | 4 ++-- contrib/traceroute/traceroute.c | 6 +++--- usr.sbin/traceroute6/traceroute6.c | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/contrib/traceroute/traceroute.8 b/contrib/traceroute/traceroute.8 index 804306a11ca6..e19fb23f43b9 100644 --- a/contrib/traceroute/traceroute.8 +++ b/contrib/traceroute/traceroute.8 @@ -241,7 +241,7 @@ flag). A sample use and output might be: .Bd -literal -offset 4n % traceroute nis.nsf.net. -traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 38 byte packet +traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 40 byte packets 1 helios.ee.lbl.gov (128.3.112.1) 19 ms 19 ms 0 ms 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms @@ -265,7 +265,7 @@ doesn't supply address-to-name translations for its NSSes. A more interesting example is: .Bd -literal -offset 4n % traceroute allspice.lcs.mit.edu. -traceroute to allspice.lcs.mit.edu (18.26.0.115), 64 hops max +traceroute to allspice.lcs.mit.edu (18.26.0.115), 64 hops max, 40 byte packets 1 helios.ee.lbl.gov (128.3.112.1) 0 ms 0 ms 0 ms 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 19 ms 19 ms 19 ms 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 19 ms 19 ms diff --git a/contrib/traceroute/traceroute.c b/contrib/traceroute/traceroute.c index 03135e39837f..144b6fd80928 100644 --- a/contrib/traceroute/traceroute.c +++ b/contrib/traceroute/traceroute.c @@ -57,7 +57,7 @@ static const char rcsid[] = * A sample use might be: * * [yak 71]% traceroute nis.nsf.net. - * traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 56 byte packet + * traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 40 byte packets * 1 helios.ee.lbl.gov (128.3.112.1) 19 ms 19 ms 0 ms * 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms * 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms @@ -77,7 +77,7 @@ static const char rcsid[] = * A more interesting example is: * * [yak 72]% traceroute allspice.lcs.mit.edu. - * traceroute to allspice.lcs.mit.edu (18.26.0.115), 64 hops max + * traceroute to allspice.lcs.mit.edu (18.26.0.115), 64 hops max, 40 byte packets * 1 helios.ee.lbl.gov (128.3.112.1) 0 ms 0 ms 0 ms * 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 19 ms 19 ms 19 ms * 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 19 ms 19 ms @@ -157,7 +157,7 @@ static const char rcsid[] = * This program requires a kernel mod that does not appear in any * system available from Berkeley: A raw ip socket using proto * IPPROTO_RAW must interpret the data sent as an ip datagram (as - * opposed to data to be wrapped in a ip datagram). See the README + * opposed to data to be wrapped in an ip datagram). See the README * file that came with the source to this program for a description * of the mods I made to /sys/netinet/raw_ip.c. Your mileage may * vary. But, again, ANY 4.x (x < 4) BSD KERNEL WILL HAVE TO BE diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 15aab51ac234..f5e5f341e19a 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -72,9 +72,9 @@ * icmp "time exceeded" reply from a gateway. We start our probes * with a ttl of one and increase by one until we get an icmp "port * unreachable" (which means we got to "host") or hit a max (which - * defaults to 30 hops & can be changed with the -m flag). Three - * probes (change with -q flag) are sent at each ttl setting and a - * line is printed showing the ttl, address of the gateway and + * defaults to net.inet.ip.ttl hops & can be changed with the -m flag). + * Three probes (change with -q flag) are sent at each ttl setting and + * a line is printed showing the ttl, address of the gateway and * round trip time of each probe. If the probe answers come from * different gateways, the address of each responding system will * be printed. If there is no response within a 5 sec. timeout @@ -89,7 +89,7 @@ * A sample use might be: * * [yak 71]% traceroute nis.nsf.net. - * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet + * traceroute to nis.nsf.net (35.1.1.48), 64 hops max, 40 byte packets * 1 helios.ee.lbl.gov (128.3.112.1) 19 ms 19 ms 0 ms * 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms * 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 39 ms 19 ms @@ -109,7 +109,7 @@ * A more interesting example is: * * [yak 72]% traceroute allspice.lcs.mit.edu. - * traceroute to allspice.lcs.mit.edu (18.26.0.115), 30 hops max + * traceroute to allspice.lcs.mit.edu (18.26.0.115), 64 hops max, 40 byte packets * 1 helios.ee.lbl.gov (128.3.112.1) 0 ms 0 ms 0 ms * 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 19 ms 19 ms 19 ms * 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 19 ms 19 ms @@ -230,7 +230,7 @@ * back to yourself. Unfortunately, SO many gateways botch source * routing, the thing is almost worthless. Maybe one day... * - * -- Van Jacobson (van@helios.ee.lbl.gov) + * -- Van Jacobson (van@ee.lbl.gov) * Tue Dec 20 03:50:13 PST 1988 */