Re: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-04.txt
Ole Troan <otroan@employees.org> Sun, 25 April 2021 11:06 UTC
Return-Path: <otroan@employees.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0AD073A163E; Sun, 25 Apr 2021 04:06:17 -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 lbIKFeHj6ls5; Sun, 25 Apr 2021 04:06:14 -0700 (PDT)
Received: from clarinet.employees.org (clarinet.employees.org [198.137.202.74]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76B643A163D; Sun, 25 Apr 2021 04:06:14 -0700 (PDT)
Received: from [192.168.10.78] (dhcp193287181.blix.com [193.28.7.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id 5F4234E11D08; Sun, 25 Apr 2021 11:06:13 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Ole Troan <otroan@employees.org>
Mime-Version: 1.0 (1.0)
Date: Sun, 25 Apr 2021 13:06:10 +0200
Message-Id: <C3A4A868-4B39-4428-93AA-D0B88F79B9BD@employees.org>
References: <12496.1619216560@localhost>
Cc: cbor@ietf.org, 6man@ietf.org
In-Reply-To: <12496.1619216560@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: iPhone Mail (18D70)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Ru36HQXnrJeTawVv-OtVNhanypQ>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-04.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 25 Apr 2021 11:06:17 -0000
Thanks Michael, Top posting. - for 261 I would at least include those arguments and make it clear when to use or the other - so you don’t want to support the commonly used shortcut of specifying both and address and a prefix in one? - in ip agnostic code I often find I just need an IP address instead of having to care if it’s 4 or 6. It would therefore be nice with a general IP address and ip prefix type too. Cheers Ole > On 25 Apr 2021, at 12:40, Michael Richardson <mcr+ietf@sandelman.ca> wrote: > > > otroan@employees.org wrote: >> Do you want to say anthing about tag 261 or perhaps subsume tag 261 >> into this? > > Hi, I wasn't happy with tag 260/261. > In addition to not distinguishing between v4 and v6 explicitely, tag 260 also > confused 6-byte ethernet into the definition, and did not accomodate 8-byte > ethernet. > Tag 261 (on prefixes), I did not understand, which is why I wrote the document. > >> Why do you have "Trailing zero bytes MUST be omitted." as it seems the >> decoder would happily deal with trailing zeros? > > Yes, well Postel rule definitely applies here. > > For prefixes, a concern was expressed that irrelvant bits could be included > and could form some kind of intentional convert channel. Worse, they could > be a non-intentional leak of private information (a la Heartbleed). > So, it might be good to be able to make sure that encoders were more conservative. > > -- > Michael Richardson <mcr+IETF@sandelman.ca> . o O ( IPv6 IøT consulting ) > Sandelman Software Works Inc, Ottawa and Worldwide > > > >
- [Cbor] I-D Action: draft-ietf-cbor-network-addres… internet-drafts
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… otroan
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Ole Troan
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Carsten Bormann
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Brian E Carpenter
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Carsten Bormann
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Carsten Bormann
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… otroan
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Carsten Bormann
- Re: [Cbor] I-D Action: draft-ietf-cbor-network-ad… Michael Richardson