Re: [radext] Extended IDs

Alan DeKok <aland@deployingradius.com> Wed, 13 December 2017 13:05 UTC

Return-Path: <aland@deployingradius.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 000AF126CD8 for <radext@ietfa.amsl.com>; Wed, 13 Dec 2017 05:05:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-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 ixDR-Tz65yAq for <radext@ietfa.amsl.com>; Wed, 13 Dec 2017 05:05:25 -0800 (PST)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) by ietfa.amsl.com (Postfix) with ESMTP id DB11B124319 for <radext@ietf.org>; Wed, 13 Dec 2017 05:05:24 -0800 (PST)
Received: from [192.168.2.25] (198-84-205-59.cpe.teksavvy.com [198.84.205.59]) by mail.networkradius.com (Postfix) with ESMTPSA id D82FE16B; Wed, 13 Dec 2017 13:05:23 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <677f41484d9f413aab126b623141d729@XCH-ALN-014.cisco.com>
Date: Wed, 13 Dec 2017 08:05:22 -0500
Cc: "radext@ietf.org" <radext@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <924BF9DB-CE34-46F9-A8D1-CA6601BB7FFF@deployingradius.com>
References: <fef698a5-9802-c9be-04d7-1e869651c988@restena.lu> <dfd0ff02-c9e8-7253-4fb4-1e6def3e93b2@restena.lu> <933E6F70-A7C1-4168-9AC9-F925EF78D9E2@jisc.ac.uk> <AE2036D0-1294-45B5-A0D7-16F91E0B4248@cisco.com> <alpine.WNT.2.21.1.1712121615090.2252@smurf> <EE3BB1A7-EAD9-4BE1-9EA2-B780580E5C95@cisco.com> <alpine.WNT.2.21.1.1712121704430.2252@smurf> <B41EF4CD-309C-4E0F-BE7A-B77A244DA421@cisco.com> <alpine.WNT.2.21.1.1712121824110.2252@smurf> <313FEFCE-FD61-4394-804D-91BAE98CA687@cisco.com> <alpine.WNT.2.21.1.1712121947300.2252@smurf> <38A550CE-C1E5-441E-B25E-7E87D266F627@cisco.com> <677f41484d9f413aab126b623141d729@XCH-ALN-014.cisco.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/Ybj7iXeX_zFX8BpMJSKfpV8RvN0>
Subject: Re: [radext] Extended IDs
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Dec 2017 13:05:27 -0000

> On Dec 13, 2017, at 1:34 AM, Jakob Heitz (jheitz) <jheitz@cisco.com> wrote:
> 
> Once we are arguing "It doesn't work when there's bugs or misconfigs",
> then we've sunk pretty low.

  Insults aren't appropriate.

  Discussing how the proposal behaves in the event of misconfiguration is entirely appropriate.  In fact, that discussion can strongly influence the design of a solution.

> But now that we're there, here is a more
> likely bug: Retransmission with a new request-authenticator.
> draft-dekok will interpret that as an entirely new request.

  That's not how RADIUS works. 

  Quoting RFC 2059, from 1997:

      ... For retransmissions where the
      contents are identical, the Identifier MUST remain unchanged.

      Note that if Acct-Delay-Time is included in the attributes of an
      Accounting-Request then the Acct-Delay-Time value will be updated
      when the packet is retransmitted, changing the content of the
      Attributes field and requiring a new Identifier and Request
      Authenticator.

  See also RFC 5080, as I suggested in an earlier response.

  If a packet is a *retransmission*, then all of it's contents are the same.  Including the header.  So both drafts will see the packet as a duplicate, as per RFC 5080 Section 2.2.2.

  If the packet contents are not the same, then it's not a retransmission.  And going back to 20 year-old standards, the Request Authenticator (among other fields) also changes.

> That is why keeping the id and authenticator separate is cleaner.

  Both drafts behave identically in the situation when a duplicate packet is retransmitted.  Both drafts behave identically when the packet contents change.

  And in both situations, both drafts follow the existing RADIUS standards.

  Please go back and read the standards to see how RADIUS works.

  Alan DeKok.