Re: [Gen-art] gen-art review of draft-ietf-dprive-dnsodtls-12

"jouni.nospam" <jouni.nospam@gmail.com> Mon, 28 November 2016 17:42 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBB1C129F53; Mon, 28 Nov 2016 09:42:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 TYUqsBsTPtSv; Mon, 28 Nov 2016 09:42:19 -0800 (PST)
Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com [IPv6:2607:f8b0:400e:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DAA9129EC1; Mon, 28 Nov 2016 09:42:19 -0800 (PST)
Received: by mail-pg0-x22f.google.com with SMTP id 3so59203564pgd.0; Mon, 28 Nov 2016 09:42:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bbRuWudfWV59Q1gsWY8gvGKX6ioYaarXOjQV9wY81XM=; b=mVWZw+XNjkWK7JG8C3ARNRtuAfsi2G4AD+rH0qQ+5Li40WHO2fct2ombfJBYVFVlQV 0kW3ziHT8VBZceDa00uZ7MP4Q1QCvFVu4uNdH5JmcN4QD/9jm3uJFhexua4lhAraDga4 qh4UkFmLuEa8es8wp6ddvswPWClJN2VOHvWlMPtk6vyAoXgWjS0u68lPmQ7+lEZ1MlL5 Xf2cjpa03OQ3Io5cNBfiTARmQSzHfWM41FlYvkhinyDv4rsWCCbhccwt5GFDwyeD4O7P YE083QKY/0mZ83LjdElAoMcI0L28RG0N37s1HRkRY9cmQl+BOJ2hEX0DKbUQuhfoZtkL xe0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bbRuWudfWV59Q1gsWY8gvGKX6ioYaarXOjQV9wY81XM=; b=XTRg8X7XU4bLBDNWMnm6ti5ci9DUa1shNokJRbRWfE00V3m5OJU69L8NH0lGnR7XC6 IgAlWfrYHyev6NveTiOFOcBeYgmNnSb9BP+WX145kF8iPVXtGupb1UzTFM+jX9MEtZlN aMQU3/Ke1laKRUrUkXX8ho6Bv3id8y8sy6ydjwTx2rCYKEOQRzSkPP6AIuqPmG+AZfuA YaTQHhbWKc3v76gpLsvnsvnDUadzKCwwAbvBAtMbfBFKoGqLRvYyRBQQ17AcPp0iED1G RBTPWQ04xivGCrAOaV+SWu+aFt42VXPHX0fEdOaJK9UqlwfxcxApgnnWQOmoRf5pO0M7 yZzg==
X-Gm-Message-State: AKaTC03KM3UJ28WwaFZPOqRZto9bGMtlDu/O1ZekmLuO/KNSFrCBcGpZkK+Dhajdt8xydg==
X-Received: by 10.99.104.68 with SMTP id d65mr41225569pgc.52.1480354938442; Mon, 28 Nov 2016 09:42:18 -0800 (PST)
Received: from dhcpw5-sj1-42.sj.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id y6sm6826092pge.16.2016.11.28.09.42.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 09:42:17 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: "jouni.nospam" <jouni.nospam@gmail.com>
In-Reply-To: <f1ac6f3b179a4027b7742659e6dbe6a3@XCH-RCD-017.cisco.com>
Date: Mon, 28 Nov 2016 09:42:11 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <4271EA70-1010-4596-9D48-DB2EA1CB0491@gmail.com>
References: <B1F5F8A7-0D09-49BC-9544-27EB32D84BEB@gmail.com> <f1ac6f3b179a4027b7742659e6dbe6a3@XCH-RCD-017.cisco.com>
To: "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
X-Mailer: Apple Mail (2.3251)
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/sf1xoq2CkI4IHQLKYFVyGM5ve9E>
Cc: "gen-art@ietf.org" <gen-art@ietf.org>, "draft-ietf-dprive-dnsodtls.all@ietf.org" <draft-ietf-dprive-dnsodtls.all@ietf.org>
Subject: Re: [Gen-art] gen-art review of draft-ietf-dprive-dnsodtls-12
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Nov 2016 17:42:22 -0000

Hi,

Sorry for being under the radar. See my comments below.


> On Nov 18, 2016, at 8:40 AM, Tirumaleswar Reddy (tireddy) <tireddy@cisco.com> wrote:
> 
>> -----Original Message-----
>> From: jouni.nospam [mailto:jouni.nospam@gmail.com]
>> Sent: Thursday, November 17, 2016 3:33 PM
>> To: gen-art@ietf.org
>> Cc: draft-ietf-dprive-dnsodtls.all@ietf.org
>> Subject: gen-art review of draft-ietf-dprive-dnsodtls-12
>> 
>> I am the assigned Gen-ART reviewer for this draft. The General Area Review
>> Team (Gen-ART) reviews all IETF documents being processed by the IESG for
>> the IETF Chair.  Please treat these comments just like any other last call
>> comments.
>> 
>> For more information, please see the FAQ at
>> 
>> <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
>> 
>> Document: draft-ietf-dprive-dnsodtls-12
>> Reviewer: Jouni Korhonen
>> Review Date: 2016-11-17
>> IETF LC End Date: 2016-11-16
>> IESG Telechat date: 2016-12-15
>> 
>> Summary:
>> 
>> The document is ready for publication.
>> 
>> Comments/questions:
>> 
>> o Section 3.1. has “first-come, first-served” port range. What port range this
>>  actually is? Does it refer to ephemeral port range (rfc6335).
> 
> User Ports, range is 1024-49151; assigned based on first come and first served policy.

Ok. Thanks. Could you state that in the document (with a reference)?


>> o Section 6 describes a case where an anycasted DTLS packet reaches a DNS
>> server
>>  that does not have an existing security association with the client. A DTLS
>>  session resumption should initiated as a result. Is it possible that the next
>>  DTLS message again reaches another DNS server without security
>> association, which
>>  would cause a new fatal alert to be returned.. etc?? If this is the case there
>> should
>>  be some text pointing at this case. If I am just confused the current text is
>> fine.
> 
> It's the same problem as DNS-over-TCP (see https://tools.ietf.org/html/rfc7766#appendix-A), routing changes can disrupt TCP, DNS-over-TLS and DNS-over-DTLS session. 
> 
> Please suggest additional text you would like us to add.

Easiest way here would be saying something along the lines:

OLD:
   context from the DNS-over-DTLS handshake.  But when the network
   configuration changes, a DNS-over-DTLS packet can be received by a
   server that does not have the necessary cryptographic context.  To
   encourage the client to initiate a new DTLS handshake, DNS servers
   SHOULD generate a DTLS fatal alert message in response to receiving a
   DTLS packet for which the server does not have any cryptographic
   context.  Upon receipt of an un-authenicated DTLS fatal alert, the

NEW:
   context from the DNS-over-DTLS handshake.  But when the network
   configuration or routing changes, a DNS-over-DTLS packet can be
   received by a server that does not have the necessary cryptographic
   context. Clients using DNS-over-DTLS need to always be prepared
   to re-initiate DTLS handshake and in the worst case this could even
   happen immediately after re-initiating a new handshake. To encourage
   the client to initiate a new DTLS handshake, DNS servers SHOULD
   generate a DTLS fatal alert message in response to receiving a DTLS
   packet for which the server does not have any cryptographic context.
   Upon receipt of an un-authenticated DTLS fatal alert, the ...

- Jouni

> 
> -Tiru