Re: [TLS] Forged RST (was: About encrypting SNI)

Bill Frantz <frantz@pwpconsult.com> Sat, 19 April 2014 17:14 UTC

Return-Path: <frantz@pwpconsult.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 11CA91A004C for <tls@ietfa.amsl.com>; Sat, 19 Apr 2014 10:14:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 j0kwkwLyBHr5 for <tls@ietfa.amsl.com>; Sat, 19 Apr 2014 10:14:04 -0700 (PDT)
Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by ietfa.amsl.com (Postfix) with ESMTP id 11A621A0041 for <tls@ietf.org>; Sat, 19 Apr 2014 10:14:03 -0700 (PDT)
Received: from [174.236.38.99] (helo=Williams-MacBook-Pro.local) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <frantz@pwpconsult.com>) id 1WbYpy-00067m-EI; Sat, 19 Apr 2014 13:13:58 -0400
Date: Sat, 19 Apr 2014 10:13:58 -0700
From: Bill Frantz <frantz@pwpconsult.com>
To: Yoav Nir <ynir.ietf@gmail.com>
X-Priority: 3
In-Reply-To: <72CC862F-0CEA-4A4D-9AA3-7613F926472F@gmail.com>
Message-ID: <r422Ps-1075i-03C7AAC6FDC34259BEF176952A6042C9@Williams-MacBook-Pro.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mailsmith 2.3.1 (422)
X-ELNK-Trace: 3a5e54fa03f1b3e21aa676d7e74259b7b3291a7d08dfec791ed746939a5351a472d87f8842134530350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 174.236.38.99
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/TmZ-yAviKwYoJRjCJZCzthyZCp8
Cc: tls@ietf.org
Subject: Re: [TLS] Forged RST (was: About encrypting SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Apr 2014 17:14:07 -0000

On 4/19/14 at 9:33 AM, ynir.ietf@gmail.com (Yoav Nir) wrote:

>>However, one could set up a DTLS session and then initialize the TCP protocol within that session.
>
>You mean a security layer between the IP layer and the 
>transport layer?
>>I don't think anyone has considered this inversion before. It may not be useful, but…
>
>Except people who have implemented IPsec in transport mode. For 
>compatibility with NAT, it can use UDP with port 4500.

Indeed IPsec is proof that it can work.


>Really, the only advantage of DTLS over IPsec is that the TLS 
>handshake is easier to deploy than IPsec’s key exchange 
>(IKE), because IKE demands mutual authentication, and deploying 
>client credentials is so hard, some people would like us to 
>remove it entirely from TLS 1.3.
>
>What would work nicely (and some vendors have products that do 
>this already) is initiating IPsec in a client/server model, 
>where the client receives the details of the IPsec SA from the 
>server. That transaction could run over UDP or even over 
>HTTPS.  Of course, I think this is the wrong mailing list to 
>discuss a suggestion like this.

If we can get IPsec to be practical for the TLS use cases, we 
can all go home. :-)

One of the disadvantages of putting TCP on top of the encrypted 
layer is that when a packet is resent it is re-encrypted. My 
crypto-plumber reflexes say that re-encryption can be dangerous 
with certain systems, but I can't remember the details. 
Apparently IPsec has avoided this problem.

Cheers - Bill

-----------------------------------------------------------------------
Bill Frantz        | Truth and love must prevail  | Periwinkle
(408)356-8506      | over lies and hate.          | 16345 
Englewood Ave
www.pwpconsult.com |               - Vaclav Havel | Los Gatos, 
CA 95032