Re: Does anyone care about IPcomp with IKE? (IPcomp=IP compression)

"Steven M. Bellovin" <smb@research.att.com> Mon, 29 October 2001 03:28 UTC

Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9T3S6828944; Sun, 28 Oct 2001 19:28:06 -0800 (PST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA04828 Sun, 28 Oct 2001 21:42:56 -0500 (EST)
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
From: "Steven M. Bellovin" <smb@research.att.com>
To: Radia Perlman - Boston Center for Networking <Radia.Perlman@sun.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: Does anyone care about IPcomp with IKE? (IPcomp=IP compression)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Oct 2001 21:50:40 -0500
Message-Id: <20011029025040.97DB87B55@berkshire.research.att.com>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

In message <200110290247.VAA18598@bcn.East.Sun.COM>, Radia Perlman - Boston Cen
ter for Networking writes:
>"Steven M. Bellovin" <smb@research.att.com> writes:
>>The problem is that link-layer encryption -- the most common form below 
>>the application -- doesn't work on IPsec packets, and the upper layers 
>>may not be aware of, say, gateway-to-gateway IPsec.  The IPsec layer, 
>>in other words, is the first to know for sure that a lower layer can't 
>>do the encryption that might be desired.
>>	
>>There's no other negotiation mechanism for IPcomp because compression 
>>is circuit-like, and there are no other circuits at the IP layer.  (For 
>>discussion on how to negotiate compression at the TCP layer, see
>>http://www.research.att.com/~smb/papers/draft-bellovin-tcpfilt-00.txt 
>>and http://www.research.att.com/~smb/papers/draft-bellovin-tcpcomp-00.txt.
>
>[I assume you mean "link-layer compression" above, not "link-layer encryption"
>]. 

I did indeed.

>Thanks! What I needed was a pointer to RFC 2393, which I got from your
>paper pointed to above.
>
>It does seem as though doing it end-to-end independently of IPsec (as
>is done in the internet draft you pointed me to) would
>be a better thing. Though I suppose doing it in IKE means that it works
>for UDP also. So I guess I can't assume a TCP mechanism for negotiating
>compression will replace the IKE mechanism.

Right, though of course most traffic by volume is TCP.  TCP compression 
is better because it retains state, rather than having to compress each 
packet individually; we have some numbers that demonstrate this very clearly.


		--Steve Bellovin, http://www.research.att.com/~smb
		Full text of "Firewalls" book now at http://www.wilyhacker.com