Re: [pcp] Comment on REQ-9A of LSN requirements (PCP)

<mohamed.boucadair@orange.com> Tue, 21 August 2012 05:57 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5FA511E80BF; Mon, 20 Aug 2012 22:57:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level:
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[AWL=0.202, BAYES_00=-2.599, HELO_EQ_FR=0.35, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EtDlGJmijUyO; Mon, 20 Aug 2012 22:57:27 -0700 (PDT)
Received: from relais-inet.francetelecom.com (relais-ias91.francetelecom.com [193.251.215.91]) by ietfa.amsl.com (Postfix) with ESMTP id 8F5DA21F8596; Mon, 20 Aug 2012 22:57:26 -0700 (PDT)
Received: from omfedm06.si.francetelecom.fr (unknown [xx.xx.xx.2]) by omfedm13.si.francetelecom.fr (ESMTP service) with ESMTP id 7380F325058; Tue, 21 Aug 2012 07:57:25 +0200 (CEST)
Received: from puexch31.nanterre.francetelecom.fr (unknown [10.101.44.29]) by omfedm06.si.francetelecom.fr (ESMTP service) with ESMTP id 555AE27C046; Tue, 21 Aug 2012 07:57:25 +0200 (CEST)
Received: from PUEXCB1B.nanterre.francetelecom.fr ([10.101.44.9]) by puexch31.nanterre.francetelecom.fr ([10.101.44.29]) with mapi; Tue, 21 Aug 2012 07:57:04 +0200
From: mohamed.boucadair@orange.com
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>, "pcp@ietf.org" <pcp@ietf.org>
Date: Tue, 21 Aug 2012 07:57:03 +0200
Thread-Topic: Comment on REQ-9A of LSN requirements (PCP)
Thread-Index: AQHNf0Qj9EHhzDdBA0m9uGbHtDuTEZdjwh9w
Message-ID: <94C682931C08B048B7A8645303FDC9F36E5229895A@PUEXCB1B.nanterre.francetelecom.fr>
References: <CBD02DD4.5675%repenno@cisco.com> <CC583B5E.9473%repenno@cisco.com>
In-Reply-To: <CC583B5E.9473%repenno@cisco.com>
Accept-Language: fr-FR
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: fr-FR
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.8.21.10322
Cc: "behave@ietf.org" <behave@ietf.org>
Subject: Re: [pcp] Comment on REQ-9A of LSN requirements (PCP)
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pcp>, <mailto:pcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pcp>
List-Post: <mailto:pcp@ietf.org>
List-Help: <mailto:pcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcp>, <mailto:pcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Aug 2012 05:57:27 -0000

Hi Reinaldo,

Stale mapping is a real issue which may consume per-user quota. The issue, exacerbated with the use of nonce, is discussed in detail in http://tools.ietf.org/html/draft-boucadair-pcp-failure-04 which proposes also a mechanism to recover the mapping nonce. Below some excerpts from the draft:

Section 2.2 of the failure draft reads:

   If the same port number is used but a distinct mapping nonce is
   generated, the request will be rejected with a NOT_AUTHORIZED error
   with the Lifetime of the error indicating duration of that existing
   mapping.  This issue can be solved if the PCP Client uses GET OpCode
   (Section 4) to recover the mapping nonce used when instantiating the
   mapping.

Section 2.3 of the failure draft reads:

   If the PCP Client does not store the explicit dynamic mappings and
   new mapping nonces are assigned, the PCP Server will reject to
   refresh these mappings.  This issue can be solved if the PCP Client
   uses GET OpCode (Section 4) to recover the mapping nonces used when
   instantiating the mappings.

Section 2.6 of the failure draft reads:

   On the reboot of the IWF, if no mapping table is maintained in a
   permanent storage, "stale" mappings will be maintained by the PCP
   Server and per-user quota will be consumed.  This is even exacerbated
   if new mapping nonces are assigned by the IWF.  This issue can be
   soften by synchronizing the mapping table owing to the invocation of
   the GET OpCode defined in Section 4.
 

Cheers,
Med

>-----Message d'origine-----
>De : pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] De la 
>part de Reinaldo Penno (repenno)
>Envoyé : mardi 21 août 2012 04:25
>À : pcp@ietf.org
>Cc : behave@ietf.org
>Objet : [pcp] Comment on REQ-9A of LSN requirements (PCP)
>
>"A.  It MUST NOT permit the lifetime of a mapping to be
>               reduced beyond its current life or be set to zero
>               (deleted)."
>
>In the case of renumbering how a CPE that gets a new address can delete
>stale mappings of the previous user of that IP address? Given 
>some of the
>requirements, it can not.
>
>Before mapping 'nonce' CPE/host could just send a delete all 
>and we would
>rely on ingress filtering to make sure things are okay. But 
>now with the
>mapping nonce the new owner of an IP address has no way of deleting the
>stale mappings because it does not know the nonce.
>
>If renumbering happens frequently (as in some networks as short as 30
>minutes) and there are many PCP MAP mappings from each 
>CPE/host, then soon
>depending on the Lifetime there will be no more resources on
>CGN/AFTR/Firewall due to stale mappings
>
>A possible solution would be for DHCP Server or other 
>provisioning server
>to send a PCP message with THIRD_PARTY to delete all MAP mappings. But
>again, it does not know the nonce. Not to mention that coupling
>provisioning and PCP becomes a barrier for adoption. Reducing the
>'lifetime' defeats the purpose of having PCP.
>
>Not sure of any solution given all requirements in place.
>
>Thanks,
>
>Reinaldo
>
>
>
>
>
>
>_______________________________________________
>pcp mailing list
>pcp@ietf.org
>https://www.ietf.org/mailman/listinfo/pcp
>