Re: [Hipsec] Conflicting text in RFC5201 - RFC5201-bis
Tobias Heer <heer@cs.rwth-aachen.de> Wed, 26 May 2010 14:17 UTC
Return-Path: <heer@informatik.rwth-aachen.de>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6D7893A6905 for <hipsec@core3.amsl.com>; Wed, 26 May 2010 07:17:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.756
X-Spam-Level:
X-Spam-Status: No, score=-2.756 tagged_above=-999 required=5 tests=[AWL=0.555, BAYES_05=-1.11, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bu7qro5a1su0 for <hipsec@core3.amsl.com>; Wed, 26 May 2010 07:16:59 -0700 (PDT)
Received: from mta-1.ms.rz.rwth-aachen.de (mta-1.ms.rz.RWTH-Aachen.DE [134.130.7.72]) by core3.amsl.com (Postfix) with ESMTP id 1BF123A691A for <hipsec@ietf.org>; Wed, 26 May 2010 07:16:59 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset="iso-8859-1"
Received: from ironport-out-2.rz.rwth-aachen.de ([134.130.5.41]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0L31004616C16CA0@mta-1.ms.rz.RWTH-Aachen.de> for hipsec@ietf.org; Wed, 26 May 2010 16:16:49 +0200 (CEST)
X-IronPort-AV: E=Sophos;i="4.53,304,1272837600"; d="scan'208";a="31251682"
Received: from relay-auth-1.ms.rz.rwth-aachen.de (HELO relay-auth-1) ([134.130.7.78]) by ironport-in-2.rz.rwth-aachen.de with ESMTP; Wed, 26 May 2010 16:16:49 +0200
Received: from umic-137-226-154-185.nn.rwth-aachen.de ([unknown] [137.226.154.185]) by relay-auth-1.ms.rz.rwth-aachen.de (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)) with ESMTPA id <0L3100APT6C1L090@relay-auth-1.ms.rz.rwth-aachen.de> for hipsec@ietf.org; Wed, 26 May 2010 16:16:49 +0200 (CEST)
From: Tobias Heer <heer@cs.rwth-aachen.de>
In-reply-to: <279FACB2-90A1-465A-951B-7F1FC8214404@cs.rwth-aachen.de>
Date: Wed, 26 May 2010 16:16:54 +0200
Content-transfer-encoding: quoted-printable
Message-id: <ABCE26F8-B78C-46AB-908F-4CE04B02F140@cs.rwth-aachen.de>
References: <279FACB2-90A1-465A-951B-7F1FC8214404@cs.rwth-aachen.de>
To: HIP WG <hipsec@ietf.org>
X-Mailer: Apple Mail (2.1078)
Cc: René Hummen <rene.hummen@cs.rwth-aachen.de>
Subject: Re: [Hipsec] Conflicting text in RFC5201 - RFC5201-bis
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 May 2010 14:17:00 -0000
Hi, Am 26.05.2010 um 15:47 schrieb René Hummen: > On May 26, 2010, at 12:59 PM, Samu Varjonen wrote: >> Tobias Heer wrote: >>> Hello, I have a question regarding some text in RFC5201 that conflicts with the crypto agility that we envisioned. >>> >>> The new BEX will have to start the negotiations of the DH groups already in I1 to allow the Responder to pick a sensible DH group (there are simple countermeasures against downgrade attacks, too, so don't worry). >>> Therefore, the I1 becomes slightly more important than it was (although it stays unsigned and cheap). >>> In Section 4.1 RFC5201 states: >>> ... >>> 705 The Initiator first sends a trigger packet, I1, to the 706 Responder. The packet contains the HIT of the Initiator 707 and possibly the HIT of the Responder, if it is known. 708 Moreover, it contains a list of Diffie Hellman Group IDs 709 supported by the Initiator. Note 710 that in some cases it may be possible to replace this trigger 711 packet by some other form of a trigger, in which case the 712 protocol starts with the Responder sending the R1 packet. ... >>> With the DH group negotiations already starting in I1 it becomes difficult to omit the I1 (you can do it but you lose DH crypto agility). >>> Moreover, I doubt that omitting the I1 works well even without considering the DH group negotiations because some of the measures to keep the Responder stateless until I2 rely on having information from the I1 (IP address or HIT) for the puzzle/ opaque data field. >>> My questions are: Is anyone using or does anyone intent to use this omission of the I1? >> >> Check out draft-ietf-hip-hiccups-02 Section 5.3 >> " >> A host receiving a HIP DATA packet makes decision whether to process >> the packet or not. If the host, following its local policy, suspects >> that this packet could be part of a DoS attack. The host MAY respond >> with an R1 packet to the HIP DATA packet... >> " > > You could adapt draft-ietf-hip-hiccups-02 Section 5.3 as follows, in order to support the crypto agility changes introduced in RFC5201-bis: > " > ...If the host chooses to > respond to the HIP DATA with an R1 packet, it creates a new R1 or > selects a precomputed R1 according to the format described in > [RFC5201] Section 5.3.2. > " > Add: > "The host should thereby choose its preferred DH group for the DH value." > > This way, the BEX can continue as supposed by hiccups, if the two hosts agree on the DH group. Otherwise, the host, that was initially sending the HIP DATA packet, would advertise the supported DH groups by sending a corresponding I1. > That would work for me - and it could be a general procedure for extensions that use something else than an I1 as trigger. -- Dipl.-Inform. Tobias Heer, Ph.D. Student Distributed Systems Group RWTH Aachen University, Germany tel: +49 241 80 207 76 web: http://ds.cs.rwth-aachen.de/members/heer blog: http://dtobi.wordpress.com/ card: http://card.ly/dtobi
- [Hipsec] Conflicting text in RFC5201 - RFC5201-bis Tobias Heer
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Samu Varjonen
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… René Hummen
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Tobias Heer
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Ari Keranen
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Tobias Heer
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Ari Keranen
- Re: [Hipsec] Conflicting text in RFC5201 - RFC520… Tobias Heer