Re: [OPSAWG] Benjamin Kaduk's Discuss on draft-ietf-opsawg-finding-geofeeds-12: (with DISCUSS and COMMENT)

Russ Housley <housley@vigilsec.com> Fri, 21 May 2021 19:44 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F17163A1E97 for <opsawg@ietfa.amsl.com>; Fri, 21 May 2021 12:44:48 -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, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable 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 yvviSrosh0YL for <opsawg@ietfa.amsl.com>; Fri, 21 May 2021 12:44:47 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 208703A1E7F for <opsawg@ietf.org>; Fri, 21 May 2021 12:44:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 51D86300BEE for <opsawg@ietf.org>; Fri, 21 May 2021 15:35:55 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sxPX4J7F2Cin for <opsawg@ietf.org>; Fri, 21 May 2021 15:35:49 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id BD16B300B10; Fri, 21 May 2021 15:35:48 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <20210520234749.GP32395@kduck.mit.edu>
Date: Fri, 21 May 2021 15:35:47 -0400
Cc: Randy Bush <randy@psg.com>, IESG <iesg@ietf.org>, draft-ietf-opsawg-finding-geofeeds@ietf.org, opsawg-chairs@ietf.org, Ops Area WG <opsawg@ietf.org>, George Michaelson <ggm@algebras.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A050F613-281A-47DC-AB40-1A3AAB69C77E@vigilsec.com>
References: <162149688912.26611.7060363738222603934@ietfa.amsl.com> <64ECD2BE-79D0-41ED-A5A3-BA0741D03175@vigilsec.com> <m24kex2xj3.wl-randy@psg.com> <20210520234749.GP32395@kduck.mit.edu>
To: Ben Kaduk <kaduk@MIT.EDU>
X-Mailer: Apple Mail (2.3445.104.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/O5h-Dk5b4g_eXB_MtAcxXyZYM8Y>
Subject: Re: [OPSAWG] Benjamin Kaduk's Discuss on draft-ietf-opsawg-finding-geofeeds-12: (with DISCUSS and COMMENT)
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 May 2021 19:44:57 -0000

Ben:

>>>> 
>>>>  text.  Trailing space characters MUST NOT appear on a line of text.
>>>>  That is, the space or tab characters must not be followed by the
>>>>  <CRLF> sequence.  [...]
>>>> 
>>>> Is the restriction on Unicode characters of category "space separator"
>>>> ("space characters") or the two listed characters?  (Why just those two,
>>>> and not form feed as well?)
>>> 
>>> Looking at the ABNF in RFC 8805, It does not look like there should be
>>> any trailing whitespace, this was more for consistency with RFC 5485.
>> 
>> perhaps a clearer phrasing would be
>> 
>>    Trailing space characters MUST NOT appear on a line of text.  That
>>    is, space or tab characters must not immediately preceed a <CRLF>
>>    sequence.
> 
> Hmm, so I'm supposed to read "space characters" and think "a sequence of
> one or more 0x20 bytes"?  I guess I can maybe see that, but do kind of want
> an answer on whether we care about other unicode codepoints that are
> "whitespace" appearing immediately prior to <CRLF>.  For better or for
> worse, things get complicated and messy once we go past 7-bit ASCII.

RFC 8805 says that each feed entry is a text line of the form:

   ip_prefix,alpha2code,region,city,postal_code

The first three fields are ASCII.  The city can be UTF-8, except comma.  The postal_code is optional and deprecated, but it can be can be UTF-9, except comma.

By that description, trailing whitespace is allowed, but not helpful.

I guess we can drop that sentence.

Russ