Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt

Michael Richardson <mcr@sandelman.ca> Fri, 09 July 2021 00:35 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77F183A2EF0 for <ipv6@ietfa.amsl.com>; Thu, 8 Jul 2021 17:35:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UutTaHXoxDDc for <ipv6@ietfa.amsl.com>; Thu, 8 Jul 2021 17:35:32 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79F143A2EEF for <ipv6@ietf.org>; Thu, 8 Jul 2021 17:35:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id EF46038A3D; Thu, 8 Jul 2021 20:38:05 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wwCW1jGdmoNG; Thu, 8 Jul 2021 20:38:00 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 2D8AC38A36; Thu, 8 Jul 2021 20:38:00 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 5744E1DC; Thu, 8 Jul 2021 20:35:20 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Philip Homburg <pch-ipv6-ietf-7@u-1.phicoh.com>, ipv6@ietf.org
Subject: Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt
In-Reply-To: <54c7739a-6fb6-7e20-7b9f-3c1a8b6a613b@gmail.com>
References: <162545101341.19246.8566193740265797873@ietfa.amsl.com> <95a7dbe5-e0a3-4676-9dcc-005ff53725e0@gmail.com> <CA+9kkMD3iSgo-KMM5Ed8bVnVCu_G3f2kB6zHKoOx2ta=x8QucA@mail.gmail.com> <CANMZLAbmdWHDRBPpHgy_e4_0-WUVW2gjnbXWwu2pF_xi-S0vWQ@mail.gmail.com> <87a6n13y0j.fsf@ungleich.ch> <CA+9kkMBx4F0FGZasdk11ogyCOwQZecAEkO4JbECDr4osySN-4w@mail.gmail.com> <01289d8c-a470-1867-448f-3d616647ba5f@gmail.com> <87bl7flww8.fsf@ungleich.ch> <6771.1625578366@localhost> <m1m19WD-0000EXC@stereo.hq.phicoh.net> <e90a069c-873f-6c93-29f0-b69c9430b66b@gmail.com> <m1m1Qie-0000FLC@stereo.hq.phicoh.net> <26758.1625758150@localhost> <54c7739a-6fb6-7e20-7b9f-3c1a8b6a613b@gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Thu, 08 Jul 2021 20:35:20 -0400
Message-ID: <11473.1625790920@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/kOqIJVddrMaDWH0lPJJ6FzOr4Xo>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jul 2021 00:35:38 -0000

Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    > On 09-Jul-21 03:29, Michael Richardson wrote:
    >>
    >> Philip Homburg <pch-ipv6-ietf-7@u-1.phicoh.com> wrote: > If we would
    >> introduce a command like > 'set-default-interface-for-link-local eth0'
    >> > that makes zone ID 0 available, then a URL like http://[fe80::abcd]/
    >> > could work. No change needed to browsers, no complex syntax.
    >>
    >> That an interesting option/workaround.  I suspect that the Linux
    >> networking people would accept a patch.  I understand that Windows
    >> does this already when there is a single non-loopback interface.

    > Windows just does it, no need for a pseudo-zone %0, although it does
    > work.  This is desirable behaviour, but I don't see that it has
    > anything to do with the URI syntax.

I suspect that the scope-id is simply left as 0 in the sockaddr structure
if you provide no %X, and that's how it knows that you want the magic scope 0.

    > C:\WINDOWS\system32>ping fe80::de55:83ff:fe46:cdcb%0

    > Pinging fe80::de55:83ff:fe46:cdcb with 32 bytes of data: Reply from
    > fe80::de55:83ff:fe46:cdcb: time=206ms Reply from
    > fe80::de55:83ff:fe46:cdcb: time=107ms Reply from
    > fe80::de55:83ff:fe46:cdcb: time=216ms Reply from
    > fe80::de55:83ff:fe46:cdcb: time=19ms

    > Ping statistics for fe80::de55:83ff:fe46:cdcb: Packets: Sent = 4,
    > Received = 4, Lost = 0 (0% loss), Approximate round trip times in
    > milli-seconds: Minimum = 19ms, Maximum = 216ms, Average = 137ms

So, how is working even though you have one non-loopback interface?

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [