Tracerouteをインストールしようとしています。
$ sudo apt-get install inetutils-traceroute
$ traceroute --version
traceroute (GNU inetutils) 1.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
Ubuntu 19.10ではTCPを介して作業しますが、以下を提供します。
$ traceroute -T google.com
traceroute: invalid option -- 'T'
Try 'traceroute --help' or 'traceroute --usage' for more information.
この投稿以来奇妙です:
これが有効なオプションでなければならないと言いました。
しかし、私は見つけられませんでした。-ティー私のバージョンのsystem / tracerouteから:
$ traceroute --help
Usage: traceroute [OPTION...] HOST
Print the route packets trace to network host.
-f, --first-hop=NUM set initial hop distance, i.e., time-to-live
-g, --gateways=GATES list of gateways for loose source routing
-I, --icmp use ICMP ECHO as probe
-m, --max-hop=NUM set maximal hop count (default: 64)
-M, --type=METHOD use METHOD (`icmp' or `udp') for traceroute
operations, defaulting to `udp'
-p, --port=PORT use destination PORT port (default: 33434)
-q, --tries=NUM send NUM probe packets per hop (default: 3)
--resolve-hostnames resolve hostnames
-t, --tos=NUM set type of service (TOS) to NUM
-w, --wait=NUM wait NUM seconds for response (default: 3)
-?, --help give this help list
--usage give a short usage message
-V, --version print program version
うまくいくいいえ -ティー
$ traceroute google.com
traceroute to google.com (216.58.213.206), 64 hops max
1 x.x.x.x 8.310ms 8.447ms 8.461ms
...
10 x.x.x.x 22.349ms 18.459ms 21.743ms
どんな提案がありますか? ?
ベストアンサー1
traceroute
最新のコマンドを提供するパッケージをインストールする必要がありますtraceroute
。
sudo apt install traceroute
sudo apt remove inetutils-traceroute
または、削除せずにバージョン間の切り替えinetutils-traceroute
に使用できます。sudo update-alternatives --config traceroute
traceroute