Re: changes in draft-ietf-ippcp-protocol-04.txt

Avram Shacham <shacham@cisco.com> Wed, 17 December 1997 20:52 UTC

Return-Path: shacham@cisco.com
Received: from trix.cisco.com (trix.cisco.com [171.69.1.218]) by ftp-eng.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id MAA01731 for <ippcp-archive-file@ftp-eng.cisco.com>; Wed, 17 Dec 1997 12:52:49 -0800 (PST)
Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31]) by trix.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id MAA11286 for <extdom.ippcp@aliashost.cisco.com>; Wed, 17 Dec 1997 12:52:05 -0800 (PST)
Received: from pita.cisco.com (pita.cisco.com [161.44.132.3]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with ESMTP id MAA14867 for <ippcp@external.cisco.com>; Wed, 17 Dec 1997 12:52:03 -0800 (PST)
Received: from avram.cisco.com (avram.cisco.com [161.44.128.165]) by pita.cisco.com (8.8.5-Cisco.1/8.6.5) with SMTP id MAA13617; Wed, 17 Dec 1997 12:51:20 -0800 (PST)
Message-Id: <2.2.32.19971217205005.006bc41c@pita.cisco.com>
X-Sender: shacham@pita.cisco.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 17 Dec 1997 12:50:05 -0800
To: Naganand Doraswamy <naganand@baynetworks.com>
From: Avram Shacham <shacham@cisco.com>
Subject: Re: changes in draft-ietf-ippcp-protocol-04.txt
Cc: ippcp@external.cisco.com

Naganand,

The CPI usage can be in several modes, as the following scenarios present:

1.  manual setup:
Nodes A and B were configured to use a well-defined algorithm, say
IPCOMP_V42BIS, with no parameters. In this case, nodes A and B do not use
ISAKMP (or any other dynamic negotiations protocol) but immediately start
using IPComp with CPI = 4. (DOI defines IPCOMP_V42BIS Transform ID to be 4.)

2. ISAKMP resulting with well-known algorithm, no params:
Nodes A and C are not manually configured. They negotiate the usage of
IPCOMP_V42BIS with no parameters. The may select the CPI in both directions
to be 4. This will result in time-saving on the receiving side, as CPI=4 can
be immediately decompressed using V42BIS. These nodes can also select CPIs
in the range 64-61439, but in this case the receiver has first to look up
the algorithm in his IPCA database.

3. ISAKMP resulting with well-known algorithm with params/"un-known" alg:
Nodes A and D are not manually configured. They negotiate the usage of
COMP_V42BIS _with_ parameters or some new algorithm. They must select CPIs
in the range 64-61439. In this case the receiver must first look up the
algorithm in his IPCA database using <dest, CPI>.

In all cases, the sending node has to maintain an IPCA db, where <dest, src,
port, port> defines a CPI, the related compression algorithm, and the
related params, if any.

The only change in the new version is based on Thomas Narten's idea
(thanks!) not to restrict negotiating parties from selecting a CPI in the
range 0-63, thus saving some CPU cycles in the receiving node as scenario
(2) demonstrates.

avram

At 11:24 AM 12/17/97 -0500, Naganand Doraswamy wrote:
>Avram,
>
>I am little bit confused about the usage of CPI in the new draft. The
>receiver allocates the CPI and it has to unique. Now we can say the
>uniqueness is based on the tuple <src, dst, protocol, CPI> in which case
>things work fine. However, if the uniqueness is based just on <dst,
>protocol, CPI> then the receiving host (which is <dst> above) will not
>be able to use the same CPI for two hosts A and B.
>
>Thanks,
> 
>--Naganand