From owner-freebsd-arch@freebsd.org Wed Jul 24 16:41:08 2019 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C5960B1A7E for ; Wed, 24 Jul 2019 16:41:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id A3EB58DB8F for ; Wed, 24 Jul 2019 16:41:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: by mailman.nyi.freebsd.org (Postfix) id A3776B1A7D; Wed, 24 Jul 2019 16:41:08 +0000 (UTC) Delivered-To: arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A33AFB1A7C for ; Wed, 24 Jul 2019 16:41:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B01C8DB8E for ; Wed, 24 Jul 2019 16:41:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 6F3218D4A4E7; Wed, 24 Jul 2019 16:41:06 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 973C7E7086A; Wed, 24 Jul 2019 16:15:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id DXgGQtm_BiYG; Wed, 24 Jul 2019 16:15:56 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:2ef0:eeff:fe03:ee34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 797BBE70848; Wed, 24 Jul 2019 16:15:56 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Poul-Henning Kamp" Cc: arch@freebsd.org Subject: Re: time to finally adopt IPv6 ? Date: Wed, 24 Jul 2019 16:15:55 +0000 X-Mailer: MailMate (2.0BETAr6137) Message-ID: In-Reply-To: <14082.1563976537@critter.freebsd.dk> References: <14082.1563976537@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A3EB58DB8F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.982,0] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2019 16:41:08 -0000 On 24 Jul 2019, at 13:55, Poul-Henning Kamp wrote: > We have ping(8), and ping6(8), we need to tell route(8) if we want -4 > or -6 > and so on and so forth. > > We dont need to rehash why IPv6 is treated as a stepchild, and even > less if it is anybodys fault, at this point it is an artifact of > history and just that. > > But isnt it about time we start in earnest to integrate things from > a command line point of view? > > Even if for source code hygiene points if it amounts to no more > than ping(8) re-execing ping6(8) when given an IPv6 argument ? What is ping(8)? I don’t have it. There is a GSoC project I think going on to do the ping thing though I cannot remember seeing emails about it; my take on this remains: please don’t try to mangle ping6 into ping; the arguments are too convoluted. We lost that almost 20 years ago. netstat, sockstat, route, nc, telnet, .., or even ifconfig could be more clever, indeed. Make IPv6 the default for commands (we have sysctls which could even tell you if the users wants 4 or 6 as default). Rip IPv4 out slowly and let it die is what I am working on … slowly … I think if we want to do the “inet”/“inet6” “-4”/“-6” “foo”/“foo6” cleanup, doing the inventory of all of them first and then have a common plan to straighten them all out would be good (keeping in mind that for a lot of people IPv4 will go away during the next decade). /bz