From owner-freebsd-net@FreeBSD.ORG Sat Jan 11 13:19:57 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28456280; Sat, 11 Jan 2014 13:19:57 +0000 (UTC) Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F38B2123A; Sat, 11 Jan 2014 13:19:55 +0000 (UTC) Received: from [172.16.25.100] (69-77-129-4.static.skybest.com [69.77.129.4]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id 45179BC3; Sat, 11 Jan 2014 08:14:17 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Merge ping+ping6 and traceroue+traceroute6 to single utilities? From: Tom Pusateri In-Reply-To: <52D14140.3090003@gibfest.dk> Date: Sat, 11 Jan 2014 08:14:18 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <1879F103-99ED-479C-8B2F-4970A79A9573@bangj.com> References: <1063008459.20140111160525@serebryakov.spb.ru> <52D14140.3090003@gibfest.dk> To: Thomas Steen Rasmussen X-Mailer: Apple Mail (2.1827) Cc: lev@FreeBSD.org, net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jan 2014 13:19:57 -0000 On Jan 11, 2014, at 8:04 AM, Thomas Steen Rasmussen = wrote: > On 11-01-2014 13:05, Lev Serebryakov wrote: >> Hello, Net. >>=20 >> Is here any project to merge ping/ping6 into ping and >> traceroute/traceroute6 into treaceroute? As IPv6 becomes more common = these >> days, it is very inconvenient to have these utilities separated. >>=20 > Hello, >=20 > I hope not, these should remain seperate, allow me to explain: >=20 > There is a good reason these utilities are seperated into v4 and > v6 specific versions, while other tools support both. The reason > is that ping and traceroute are network troubleshooting utilities > that are only used for verifying/testing network connectivity. >=20 > When testing network connectivity you are usually thinking about a > specific protocol. Having seperate versions of the tools removes the > ambiguity for hostnames with both A and AAAA records. If you want > to test v4, use ping, if you want to test v6, use ping6. >=20 > Normal network enabled utilities like telnet or ftp or nc support > both because when using those you usually don't care about the > address family used, you just want to connect. This is a significant > difference from using ping or traceroute where you almost always > want a specific address family, depending on what you are testing. >=20 >=20 > Make sense ? >=20 >=20 > Best regards >=20 > Thomas Steen Rasmussen I believe it does make sense to merge ping6 functionality into ping. You = don't have to stop shipping a ping6 command for those who are used to = it. But there's little difference between ping6 and 'ping -6' in my = opinion. The trickier part is at what point do you transition the = default from 'ping -4' to 'ping -6'. But that doesn't have to happen = right away. Tom