Re: [OPSAWG] draft-ietf-opsawg-tacacs-06 ASCII

t.petch <ietfc@btconnect.com> Sun, 21 May 2017 20:37 UTC

Return-Path: <ietfc@btconnect.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 6A9B0129494 for <opsawg@ietfa.amsl.com>; Sun, 21 May 2017 13:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.912
X-Spam-Level:
X-Spam-Status: No, score=-2.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 09rJg6ZC-X5f for <opsawg@ietfa.amsl.com>; Sun, 21 May 2017 13:37:18 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40121.outbound.protection.outlook.com [40.107.4.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7F69129489 for <opsawg@ietf.org>; Sun, 21 May 2017 13:37:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/4zsxomXuRJOTPwz3ixa7MP21nEQR4cKgIKfa4KgRv8=; b=VAp0iuskXaoeXHU1B6liFRXd4IrSRCkbVHO6NZAdS1UTn0cPfD/HvYz5QVFwEF4Ud+8KJjYJdhV7hxCZJluI+hhbLag/ymxyjgn1yvszhBkdEuQbCKMFbQG+8rkSQWsb8WC/3rWAATbvbeXSXN4R4BpoQwYa52qEkmPnVTREYUw=
Authentication-Results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=btconnect.com;
Received: from pc6 (86.169.157.161) by VI1PR0701MB3007.eurprd07.prod.outlook.com (2603:10a6:800:87::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.5; Sun, 21 May 2017 20:37:14 +0000
Message-ID: <00cd01d2d271$9fce4ac0$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: "Douglas Gash (dcmgash)" <dcmgash@cisco.com>, Alan DeKok <aland@deployingradius.com>, Eliot Lear <lear@cisco.com>
CC: IETF OOPSAWG <opsawg@ietf.org>
References: <D53BBCC7.22ECC8%dcmgash@cisco.com> <61D9FC7A-6F10-44E6-8400-578C4FEE1988@deployingradius.com> <D53C62F4.22F82E%dcmgash@cisco.com> <E7D62944-46B9-4091-BF16-0AF8CA47626D@deployingradius.com> <fc8a1ff5-db6f-d463-8ff7-77ec03f1f25f@gmail.com> <006101d2cd9c$e8c0afe0$4001a8c0@gateway.2wire.net> <D53FAB1A.23396E%dcmgash@cisco.com> <010d01d2ce79$477ceda0$4001a8c0@gateway.2wire.net> <D5411107.2340EF%dcmgash@cisco.com> <632EB4D0-15C0-4BF7-9187-9AFCD7EDE306@ll.mit.edu> <D54116DA.23412A%dcmgash@cisco.com> <6B9DFA23-41BD-4896-B80C-EC0EAB51D5FD@deployingradius.com> <017f01d2d08c$7096de20$4001a8c0@gateway.2wire.net> <61BFF2A7-680E-433F-8D7E-E0F0B95A2DC6@deployingradius.com> <D544ECD9.2353FB%dcmgash@cisco.com> <5210a082-6c5d-c7fc-b55d-abe11689c090@cisco.com>
Date: Sun, 21 May 2017 21:34:09 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.169.157.161]
X-ClientProxiedBy: AM5PR0201CA0002.eurprd02.prod.outlook.com (2603:10a6:203:3d::12) To VI1PR0701MB3007.eurprd07.prod.outlook.com (2603:10a6:800:87::21)
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: VI1PR0701MB3007:
X-MS-Office365-Filtering-Correlation-Id: efdda06c-1153-4451-cc0c-08d4a0892abb
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:VI1PR0701MB3007;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB3007; 3:HSI5pWg78oLR5J/ScBCCdZJxZKz5KtTPwz/UqQUjzIayXPN9KAd6PP5jRoqu5drFjzyV6piQlYqWi2z6Nr56tu4M1xBjSPDJpyzcua6cgqVKgbUUH0QArSOEajCUGkUJksgaW9bUd/ClKfis/f3ewQjLUBO4JPLxN8D+xKkeknfTZNdprTIVNrXHgmE5WFbezxN9H2eRcEt99r1fuZkAuhP/nRFn9Lrvx792wgcKyZD0sMLdcLIskuTykoo7zmGqOhn35Thgz5aEpVPicxjMvmr88aWyPzHmVaEerNuaWHS+5E7evHN1dOsIkRv80QuRaB+RvIMV+PpPL/MVSKDYHw==; 25:opKDuMoWs4dxCvGO+fY+Zl/Knu31mlwMzFQT9fYviMLZGtQ0MmkzE1WQL9+1Tek8rdTyKGsiPEX68vHPdd+9vHhBAyfVXEBbR2uNDevHpYEJ5NfZqwvofqCOTv2va95HI+BoHhC8bsqHEN+A0md3ZEfGKCixq7S0bITndD/xstckfkXQOXY8wgIgfea6sHMW0AdyBECAk2cwHE6swgA/ynRi5X+tY62Kk2a1Yo5bT5bhwmTdRIGgwbiMIteckLndxDmMbViTHResi6Zd3dbN3G1671vtBv29q6xbHjjkJDk0i4WEG9IM8h7MQw9nEiGGIFfE6Ob/e2ZEZP7uiMz669GBW3Nvav7DbOqNaioAXrShprce4Pro4oc5DMLB07AffP4XhGx4M56REW+Ty73tvhFnMitepR0lTI3MG+/GmIMU3u6vVrrmPRmlAE6fMiqRo7/7xukxt4ukA68g59zLyecYGUS5In8p8nTEU++Hr7U=
X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB3007; 31:p3v0jw/1Vr7kqdlOS7vqJ05HtwGJPtqgIPVp22b6px8JbC6kOoGyjQw9mVGRhVW9F5NZwttWVwqaANqFHJYsfIvKpYu7J0s8khLT9D9awBv1PS7cWPSy463eKtgmY6YwBOjNvwZkk68C/rZf1oJi5H8knPz4uuxMsRDccDsa3FpgisyMkC+27x2mOg4byZbx9tyM8skKoETsS2LeUEwWrmSGTUMU2FvM/6Gwyi7bztKvchXqoOJ3vcL+HBnroztbPMMbpa4/4skt3Qk0iWhkVw==; 20:Ia7PvZFLYmUu2nn/fM222HFh/iTW8d/fRX0+TEoeybsZxW7ZsKztVdygjRahvijWYW0+FeqOhEnxMGBEHQ/WFeTUTnKVbU7I0DmHtQrDu7xKf0aBJRucmYSfPOQ28mU1GdgXOZTmh2nr7uZQgoyacrJv5vxIAnEEYpNkdqXW/NA=
X-Microsoft-Antispam-PRVS: <VI1PR0701MB3007221D16B55D1A48A9EB45A0FB0@VI1PR0701MB3007.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(178726229863574)(100405760836317);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700036)(100105000095)(100000701036)(100105300095)(100000702036)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703036)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704036)(100105200095)(100000705036)(100105500095); SRVR:VI1PR0701MB3007; BCL:0; PCL:0; RULEID:(100000800036)(100110000095)(100000801036)(100110300095)(100000802036)(100110100095)(100000803036)(100110400095)(100000804036)(100110200095)(100000805036)(100110500095); SRVR:VI1PR0701MB3007;
X-Microsoft-Exchange-Diagnostics: 1;VI1PR0701MB3007;4:fKz9fYno63qYqNM22KiLpqegm7abv4l0JdYpqJ15loLpcK9Y+LMCQBerZgcmZEDRZozcSJwzHQu0LeUkiUYcHkn1WgAIHuOc2AewGH4oxJtGxoyFWgrWl4E4i8qwgeiXSmPHVU3HtjkSw8eFmC0pyD2noSSQCM61wr3aCEIRXA01U6bxa79lfpUS1TEndV3Kk+zk0v2DwvSE8MFaTfmoga/d4JnibP5oXVc2Rs81Ws4dVMd9KdRU7OR8nMp2WYr+texwIKxZb/Wc3dEOf+Kg8jtX99L1lnsJHx1zqqUkRqirvqa0415swiucOcxiBcRXd2GqX9FdzGdWbGmBSY5WbbNeiP5PpN1f0zhtM3Mm31aAAxLbscxl+gfMKDAis1aL8xmHc3ngOmWVEdQdAC/dW0NpADD3r75wKLO/xnVtq/jRSBsU5IilUuRIz3YO4owGp5doNbZnxhl6WSKQSUVjkwhMu3rGOoTuphULS1CYpP+VYPTUoxzFG+x+jEgIu6ZS7lRsEz2injS+u8P+nkDCJHm6mktQt4Z5xErL+cFfEUwsMrY3y/JM4LIJSCkX0UNuNUriByfsGKjfjGy5CYk+KUaeZEwZJa0ZGaSemDFzC9Q0mWfB/ohnroNBmxY6fKl16qweOL1fYZkZKAm5od+bGS/qU50Ie9HJXPNhbQzWX7BRsjJ2rxJkiDZvgaXEFE7VCrxXUyG0/B95/Kcc6exhlFl9H8lQYn/bpQuIAnhHHxq1LwywhgSVeri3kMsi33ZY/nOGAGZ1F3nVKTe5gviNks6oKpsnkfkD44pkpUghU3zh6H+AbColCbZGj0S07gjCQKR4naHIWtD48pTDLKP5uumvjx7pUNo9pbhTk2WGYbnERdJAUQTe6SYJGb+zd4WTPR2dJ6oOMegdlmljsD0AnHCDpfksM+jLkisy1h7RW4sfN8P2se8AODpcrdZ/44PrCRK6JoNAlPiC6Bh0zj+RvLgaSiRCcEc+lhx4DiAGkwyNpjUhLYbFLKbjb6M+IBZJzHCOX1Yx4aftvRgcslQECNlF+OYxOqpS0rCMT+oKIN3SdzmFG2TFSe3LqyViNrV9dU9QkroPumwElvbaDI4gEPsKJjKWHa837ZesQ7QovhlXc92C8cxuprIsOLDoL8qv4Q/ox56Ceqq0jsYPiX2OT0+Ymuku7hNdIQARhWU5WQe7XfTRcx7yOLIWuFb/5ttVWXd4Fqo8VB6iGamNje1rRA==
X-Forefront-PRVS: 03142412E2
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39850400002)(39860400002)(39840400002)(39400400002)(39410400002)(39450400003)(13464003)(377454003)(24454002)(51444003)(6486002)(25786009)(23676002)(93886004)(575784001)(53546009)(4326008)(6116002)(53936002)(50986999)(76176999)(551544002)(81816999)(3846002)(38730400002)(86362001)(4720700003)(6666003)(42186005)(61296003)(44736005)(6246003)(6306002)(9686003)(305945005)(2906002)(66066001)(7736002)(81686999)(50466002)(966005)(189998001)(62236002)(44716002)(478600001)(2870700001)(47776003)(230783001)(50226002)(5660300001)(116806002)(8676002)(5820100001)(229853002)(33646002)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB3007; H:pc6; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1;VI1PR0701MB3007;23:ZGuGyStATVZ0SddFqHSFY3tHHNqcxWKsR4Q3H+6kDqA9wPS9HCfUn3ySpO9Hkqg8xXEtzMY/Pb2lg5aj7avXz9Ia4/QMvpAAR0dKNmbrpxojvS8p98xPqc18c1mQkRinswTw5WxlweXADxQV5QTi4iU6+OI7Y/Y+DMTNMtjMkQrCI6ICO3jy4vDs9vY+tn7av9glATBAkhPP9Kpn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A4BQIqlVNF0Oj02+6DEofS7FwV9Jy/AhSPlpQ57TQDBwiVxDNEFlNn475Lwp3Ma9M8shvbQQ6nLc5IOzWlo9pI/YXxsD5yL/DW0hnxjdJKwi2bNsLWeKw0+6Uw+szh2j9gxdb+zNMAUx1VWruWrwXtX6as7Z93hz9NZd0dTT9pvBHoKbt7s; 24:eR2OwNcwSJre6zql6KYFt3aeomteSmkvVaaJ6RRCajr714tNz2CXVWcxCyJKeB7u4/9Rv3y5B6F2y1XXwI2xhoIRrgTu/BZGEj30iCj2G1A=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB3007; 7:YsN00V5H1qeVv6dO/L8/PDKnTdd4G4KeTbltHSwW03rv6okofCHn5CXgVYh04Fk+Kv6FCEm7vhbGbqffE2+ec8oHzqwZwvw3Zwn0qurKZsNp31Z46EdPAibI3K30I23BmG0pDfWjcPxy6XYnsW/rorhPDpHGIwnk3F08wIcHg9rAa9fPfpsx6yG569HrJFqkw+KpUBgcDO0NIjrBvl09oOY68BApTlQ50TCyWt8tw4InCzp3RrL4Pwk6K6S795dgxK385XeaS2KJsn71xFysoYbrNh4uYgd3ew5h9P1GkStVoFS8iQ2YI3TFZHavmkD/v5bGVwo6lBbu0cJlTeC5MA==
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2017 20:37:14.8771 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB3007
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/Gmbl7g1L3Ks6glo1MlBxnqJfkjs>
Subject: Re: [OPSAWG] draft-ietf-opsawg-tacacs-06 ASCII
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.22
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: Sun, 21 May 2017 20:37:21 -0000

----- Original Message -----
Sent: Friday, May 19, 2017 7:06 PM

Isn't this handled by RFC 20?

<tp>
Eliot

RFC20, AFACT, does not define Boolean, or Numeric or Printable (albeit
something which the current I-D does not currently use) while its
definition of 'text' (which the I-D does use) is based on starting with
STX so IMHO, no.

RFC20 is just a list of 128 characters with a numeric code.  Every other
protocol specification I can think of places restrictions thereon; DC3
in a username, anyone?

RFC4234 is to me a good example of an RFC that starts with RFC20 (or the
equivalent thereof) and produces something more usable.

Tom Petch

On 5/19/17 7:51 PM, Douglas Gash (dcmgash) wrote:
>
> On 19/05/2017 18:11, "Alan DeKok" <aland@deployingradius.com> wrote:
>
>> On May 19, 2017, at 6:38 AM, t.petch <ietfc@btconnect.com> wrote:
>>> Another fresh topic, so a slight change in the Subject:
>>>
>>> I think that the use of the term ASCII needs more thought.
>>  Speaking only as an opinionated WG member... yes.
>>
>>> d) in some places, I think that the term ASCII is being used too
>>> loosely.  ASCII is a character set and an encoding.  If you simply
say
>>> US-ASCII, then you are including DC3 and FF, for example, which are
>>> unlikely to be valid.  Some use US-ASCII to mean printable ASCII,
some
>>> to mean alphameric plus a few others such as hyphen-minus and
period.
>>> This needs defining.  I don't know how many different character sets
you
>>> have - I was surprised that '&£#' (or some such) is a valid
identifier
>>> in places where an equal sign is not - so this needs more work.
>>  I agree.
> Will align the ASCII references for sure, and tie down. I propose to
> restrict to printable. Though, to add to complexity: it is common
> practice, for example, to include newline in banners.
>
>>> e) this leads into data types, which Alan raised.  Boolean is used
as a
>>> data type. (I have seen it as a character string of 'true'/'false'
of
>>> '0'/'1' with zero meaning either true or false or vice versa or as a
>>> binary integer of some number of bits or ....)  As Alan implied,
section
>>> 7 and others are full of data types but on the one hand, what type
it is
>>> is usually omitted and on the other hand, the data types are not
>>> defined.
>>  The main issue with data types is that TACACS+ is a protocol based
on
>> printable strings.  So "data types" really means "printed versions of
>> data types", which is a lot more problematic than "32-bit integer".
> I agree. Will put a section in regarding at a types, specifically for
> attributes (As Alan pointed out).
>
>>> You need to define datatypes; from the current I-D, I do not know
how
>>> many there would be; probably not many.  Look for example at TLS
>>> (RFC5246) or YANG (RFC6020) which nail down the datatypes, semantic
and
>>> encoding, before they define data structures.  This is what I think
that
>>> you should do, on a smaller scale.  Since YANG is being so widely
>>> deployed, you would get brownie points IMO for being in line with
YANG
>>> wherever possible
>>  That's good, tho there are inconsistencies.  e.g. Yang "string"
doesn't
>> exactly map to TACACS+ "US-ASCII thing".  Yang "boolean" is
"true/false",
>> while TACACS+ has used "yes/no".
>>
>>  We added data types to RADIUS, because it had (roughly) data types
from
>> day one, 32-bit integers, and all of the implementors had already
agreed
>> on meanings / encodings for them.  So RFC8044 was just a codification
of
>> existing practices, and not any change to implementations.
>>
>>  Then there's the additional issue of trying to define data types for
a
>> protocol that's entirely string based, and has 18 years of
implementation
>> practice.
>>
>>  i.e. before defining data types, it would be good to know what
>> implementors have done, and then define types that match that.
>>
>>  However, implementors are largely silent about all possible TACACS+
>> issues.  Which makes me think that the draft should name the data
types,
>> but be a bit vague about what they contain.
> Agreed, but try to be explicit about the vagueness.
>
>
>>> I see a need for boolean, character string/text, IPv4 address, IPv6
>>> address, time interval, integer (positive ?negative).  I would like
a
>>> section on datatypes at the front, section 1 or 2.
>>  I'd agree, subject to the caveats raised above.  i.e. "boolean is
>> boolean, typically yes/no, but maybe also true/false, we really don't
>> know..."
>>
>>> f) in a similar vein, you use what I take to be hexadecimal
>>> representation but are inconsistent with it. I see
>>> OX0D 0x0D 0x1 0x01
>>> This should be consistent and is also worth defining, as a
>>> representation.
>>  I agree, subject to the same caveats.  It would also be nice to know
>> what implementations do...
>>
>>> g) and then there is i18n, which gets an implicit mention with UTF8
but
>>> harks back to d).  How much of UTF8 is allowed and where; it
encompasses
>>> over 65k characters these day:-(
>
> Well, the approach we had in mind is printable US-ASCII for all
fields,
> apart form username and passwords, which are the hard points in
> interfacing to identity provides which support. For these fields, to
allow
> UTF-8 on top of the byte streams.
>
>
>>  IMHO, the draft should just mention 18n, and run away screaming. :(
>>
>>  As in, "we know about it, we don't know how to fix it, we don't know
>> what implementations do, the fields are defined to be US-ASCII, if
they
>> contain anything else, that's bad."
>>
>>> This amounts to a lot of potential detailed change, but I would like
to
>>> see consensus on the approach first before edits are proposed or
made.
>>  I think this is the right approach.
>>
>>  Alan DeKok.
>>
> _______________________________________________
> OPSAWG mailing list
> OPSAWG@ietf.org
> https://www.ietf.org/mailman/listinfo/opsawg
>