Re: [P2PSIP] HIP performance concerns (was HIP pros and cons)

Eric Rescorla <ekr@networkresonance.com> Fri, 21 December 2007 15:51 UTC

Return-path: <p2psip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1J5kAI-0001ei-6i; Fri, 21 Dec 2007 10:51:58 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1J5kAG-0001bC-0z for p2psip@ietf.org; Fri, 21 Dec 2007 10:51:56 -0500
Received: from [74.95.2.173] (helo=romeo.rtfm.com) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1J5kAF-0004TM-KV for p2psip@ietf.org; Fri, 21 Dec 2007 10:51:55 -0500
Received: from romeo.rtfm.com (localhost.rtfm.com [127.0.0.1]) by romeo.rtfm.com (Postfix) with ESMTP id 95E505081A; Fri, 21 Dec 2007 07:51:32 -0800 (PST)
Date: Fri, 21 Dec 2007 07:51:32 -0800
From: Eric Rescorla <ekr@networkresonance.com>
To: Miika Komu <miika@iki.fi>
Subject: Re: [P2PSIP] HIP performance concerns (was HIP pros and cons)
In-Reply-To: <Pine.SOL.4.64.0712211112410.12362@kekkonen.cs.hut.fi>
References: <001201c83fd6$58430e80$da07740a@dellwei> <24CCCC428EFEA2469BF046DB3C7A8D223AE412@namail5.corp.adobe.com> <000001c84058$fabe14c0$da07740a@dellwei> <FB26C309-7AC0-4E0D-B39A-4FA58D96EDA9@magma.ca> <4766A124.4080906@uni-tuebingen.de> <Pine.SOL.4.64.0712211112410.12362@kekkonen.cs.hut.fi>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20071221155132.95E505081A@romeo.rtfm.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: P2PSIP Mailing List <p2psip@ietf.org>
X-BeenThere: p2psip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Peer-to-Peer SIP working group discussion list <p2psip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/p2psip>
List-Post: <mailto:p2psip@ietf.org>
List-Help: <mailto:p2psip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=subscribe>
Errors-To: p2psip-bounces@ietf.org

At Fri, 21 Dec 2007 11:38:12 +0200 (EET),
Miika Komu wrote:
> 
> On Mon, 17 Dec 2007, Ali Fessi wrote:
> 
> > Hi all,
> >
> > some questions for the HIP experts among us:
> >
> > - HIP uses a Base Exchange (BEX) with 4 messages, and the BEX contains a 
> > diffie hellman key exchange. (as you know, diffie hellman might cause some 
> > performance problems on small devices)
> 
> I gave already a reference to this list with measurement results with HIP 
> on small devices. Did you read it?
> 
> Also, I am having trouble in following your argumentation. First you say 
> that TLS is more suitable than HIP, but TLS is also using Diffie-Hellman.

Actually, TLS is sometimes Diffie-Hellman. There are pure RSA modes,
as well as ECDH modes.


> HIP offers the performance TLS. In some cases, it might even offer better 
> performance because HIP usually makes one key exchange between a pair of 
> hosts, where as TLS can exchange may require one key exchange per 
> transport layer session.

Only if you don't implement session caching, but why wouldn't you do that?

-Ekr

_______________________________________________
P2PSIP mailing list
P2PSIP@ietf.org
https://www1.ietf.org/mailman/listinfo/p2psip