From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33143) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAZRv-0001VT-DE for guix-patches@gnu.org; Sat, 07 Mar 2020 08:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAZRu-0006nA-CS for guix-patches@gnu.org; Sat, 07 Mar 2020 08:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40421) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAZRu-0006m6-8h for guix-patches@gnu.org; Sat, 07 Mar 2020 08:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAZRu-0002g0-4W for guix-patches@gnu.org; Sat, 07 Mar 2020 08:25:02 -0500 Subject: [bug#39961] [PATCH] gnu: Add traceroute. Resent-Message-ID: MIME-Version: 1.0 References: <20200307130918.GA3194@jasmine.lan> In-Reply-To: <20200307130918.GA3194@jasmine.lan> From: Vincent Legoll Date: Sat, 7 Mar 2020 14:23:43 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari Cc: 39961@debbugs.gnu.org On Sat, Mar 7, 2020 at 2:09 PM Leo Famulari wrote: > How does this compare to the traceroute provided by the inetutils > package? It looks like this one does not need special permissions to run: guest@guixsd ~/dev/repo/guix [env]$ /gnu/store/3h3h9qr14l7m1cwxi9598jzc3qd5pzaf-traceroute-2.1.0/bin/traceroute -n 9.9.9.9 traceroute to 9.9.9.9 (9.9.9.9), 30 hops max, 60 byte packets [...] 7 212.27.56.30 45.227 ms 41.741 ms 41.734 ms 8 212.27.56.38 48.909 ms 49.304 ms 48.599 ms 9 212.27.56.41 55.846 ms 50.545 ms 51.603 ms 10 195.66.225.238 54.105 ms 51.924 ms 56.401 ms 11 9.9.9.9 54.743 ms !X 50.748 ms !X 52.979 ms !X guest@guixsd ~/dev/repo/guix [env]$ /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4/bin/traceroute 9.9.9.9 traceroute to 9.9.9.9 (9.9.9.9), 64 hops max /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4/bin/traceroute: socket: Operation not permitted guest@guixsd ~/dev/repo/guix [env]$ sudo /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4/bin/traceroute 9.9.9.9 traceroute to 9.9.9.9 (9.9.9.9), 64 hops max [...] 7 212.27.56.30 51.092ms 38.423ms 34.532ms 8 212.27.56.38 44.764ms 41.931ms 44.963ms 9 212.27.56.41 55.887ms 50.083ms 49.295ms 10 195.66.225.238 51.184ms 62.666ms 57.945ms 11 9.9.9.9 48.800ms !* 48.870ms !* 61.399ms !* guest@guixsd ~/dev/repo/guix [env]$ ls -lh /gnu/store/3h3h9qr14l7m1cwxi9598jzc3qd5pzaf-traceroute-2.1.0/bin/traceroute /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4/bin/traceroute -r-xr-xr-x 8 root root 85K Jan 1 1970 /gnu/store/3h3h9qr14l7m1cwxi9598jzc3qd5pzaf-traceroute-2.1.0/bin/traceroute -r-xr-xr-x 2 root root 70K Jan 1 1970 /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4/bin/traceroute -- Vincent Legoll