Re: [homenet] DNCP/HNCP Revisited

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 18 September 2019 19:32 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CAEE120BBA for <homenet@ietfa.amsl.com>; Wed, 18 Sep 2019 12:32:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 w8Buqmt2GyrE for <homenet@ietfa.amsl.com>; Wed, 18 Sep 2019 12:32:36 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6981B120B77 for <homenet@ietf.org>; Wed, 18 Sep 2019 12:32:35 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 5B4D13897B for <homenet@ietf.org>; Wed, 18 Sep 2019 15:30:52 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id BC3AB560 for <homenet@ietf.org>; Wed, 18 Sep 2019 15:32:33 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: HOMENET <homenet@ietf.org>
In-Reply-To: <2737406f-c615-3963-2226-d2eadf79e846@globis.net>
References: <2737406f-c615-3963-2226-d2eadf79e846@globis.net>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.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-sha256"; protocol="application/pgp-signature"
Date: Wed, 18 Sep 2019 15:32:33 -0400
Message-ID: <25772.1568835153@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/RRiJUlOvEdnMQT_n4okwT0I5vyY>
Subject: Re: [homenet] DNCP/HNCP Revisited
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Sep 2019 19:32:39 -0000

Ray Hunter (v6ops) <v6ops@globis.net> wrote:
    > First observation: Running HNCP over L2TPv3 breaks HCNP because L2TPv3 breaks
    > UDP fragmentation (works as designed).

    > The L2TPv3 tunnel has a lower MTU than the local LAN, and does not report
    > ICMP PTB, so HNCP packets in one direction get through, but replies get
    > dropped.

    > Early drafts of HNCP stated that UDP fragmentation would not be broken in the
    > Homenet for the foreseeable future. Well I managed to break that ;)

(Why are we using a L2 tunnel?  So that a few of us, including Ray, can hack on stuff together)

    > Changing the MTU on the LAN interfaces of my routers to 1280 brought
    > everything back to normal, as expected.

I think that the right answer is for the software to assume a 1280 MTU.
Someone could write an HNCP extension to do PLPMTUD inside afterwards to
increase the size if desired.

    > Question: If Homenets are moving to flat L2 meshes over foo, as some have
    > said, will this impact HNCP?

Unlikely, in my opinion, because "good" L2 meshes will preserve the 1500 byte MTU.

    > Question: As a simple mitigation, is there any way of manually signalling to
    > the kernel that ALL UDP packets on port 8231 should assume an PMTU of 1280
    > octets?

    > That wouldn't require any specification change and would allow HNCP to work
    > reliably in the presence of tunnels and varying MTU's that don't match the
    > local interface MTU.

I think that the HNCP code can do this.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-