Re: [pcp] PCP Failure Scenarios - Re: draft-wing-pcp-proposed-packet-format-00

<mohamed.boucadair@orange-ftgroup.com> Fri, 08 October 2010 06:10 UTC

Return-Path: <mohamed.boucadair@orange-ftgroup.com>
X-Original-To: pcp@core3.amsl.com
Delivered-To: pcp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CFCDE3A681A for <pcp@core3.amsl.com>; Thu, 7 Oct 2010 23:10:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level:
X-Spam-Status: No, score=-2.118 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599, HELO_EQ_FR=0.35, UNPARSEABLE_RELAY=0.001]
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 RaU468RFYpI0 for <pcp@core3.amsl.com>; Thu, 7 Oct 2010 23:10:24 -0700 (PDT)
Received: from relais-inet.francetelecom.com (relais-ias244.francetelecom.com [80.12.204.244]) by core3.amsl.com (Postfix) with ESMTP id 4B3503A681B for <pcp@ietf.org>; Thu, 7 Oct 2010 23:10:24 -0700 (PDT)
Received: from omfeda05.si.francetelecom.fr (unknown [xx.xx.xx.198]) by omfeda12.si.francetelecom.fr (ESMTP service) with ESMTP id 49DE63B41D8; Fri, 8 Oct 2010 08:11:26 +0200 (CEST)
Received: from PUEXCH21.nanterre.francetelecom.fr (unknown [10.101.44.28]) by omfeda05.si.francetelecom.fr (ESMTP service) with ESMTP id 2CFF1180053; Fri, 8 Oct 2010 08:11:26 +0200 (CEST)
Received: from PUEXCB1B.nanterre.francetelecom.fr ([10.101.44.7]) by PUEXCH21.nanterre.francetelecom.fr ([10.101.44.28]) with mapi; Fri, 8 Oct 2010 08:11:25 +0200
From: mohamed.boucadair@orange-ftgroup.com
To: Reinaldo Penno <rpenno@juniper.net>, "Francis.Dupont@fdupont.fr" <Francis.Dupont@fdupont.fr>
Date: Fri, 08 Oct 2010 08:11:23 +0200
Thread-Topic: [pcp] PCP Failure Scenarios - Re: draft-wing-pcp-proposed-packet-format-00
Thread-Index: ActmQ6lponfjWnLwRtGlQfi6Jm5ArQAZ0IJAAAB7XlQAAFUBQA==
Message-ID: <5322_1286518286_4CAEB60E_5322_67023_1_94C682931C08B048B7A8645303FDC9F327C10081DE@PUEXCB1B.nanterre.francetelecom.fr>
References: <9221_1286516438_4CAEAED6_9221_149796_1_94C682931C08B048B7A8645303FDC9F327C10081C5@PUEXCB1B.nanterre.francetelecom.fr> <C8D3FF6F.2C08D%rpenno@juniper.net>
In-Reply-To: <C8D3FF6F.2C08D%rpenno@juniper.net>
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.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.10.7.165418
Cc: "pcp@ietf.org" <pcp@ietf.org>
Subject: Re: [pcp] PCP Failure Scenarios - Re: draft-wing-pcp-proposed-packet-format-00
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 08 Oct 2010 06:10:28 -0000

Re-,

Please see inline.

Cheers,
Med 

-----Message d'origine-----
De : Reinaldo Penno [mailto:rpenno@juniper.net] 
Envoyé : vendredi 8 octobre 2010 07:51
À : BOUCADAIR Mohamed NCPI/NAD/TIP; Francis.Dupont@fdupont.fr
Cc : Dan Wing; pcp@ietf.org
Objet : Re: [pcp] PCP Failure Scenarios - Re: draft-wing-pcp-proposed-packet-format-00




On 10/7/10 10:40 PM, "mohamed.boucadair@orange-ftgroup.com"
<mohamed.boucadair@orange-ftgroup.com> wrote:

> 
> Dear all, 
> 
> Please see inline.
> 
> Cheers,
> Med 
> 
> -----Message d'origine-----
> De : Francis.Dupont@fdupont.fr [mailto:Francis.Dupont@fdupont.fr]
> Envoyé : jeudi 7 octobre 2010 19:18
> À : Reinaldo Penno
> Cc : BOUCADAIR Mohamed NCPI/NAD/TIP; Dan Wing; pcp@ietf.org
> Objet : Re: [pcp] PCP Failure Scenarios - Re:
> draft-wing-pcp-proposed-packet-format-00
> 
>  In your previous mail you wrote:
> 
>    I disagree with such statements at this point since I still need to see
> data
>    to back them up.
>    
>    For example,
>    
>    1 - First and foremost, please define CGN.
> 
> => a NAT which is so big and noisy I don't want one at home.
> Seriously I have a convenient definition for this particular discussion:
> a NAT where clients (guys at the internal side, the other/external is
> the or to the Internet) may not trust together. As an immediate
> consequence to forward a packet from the Internet to the wrong client
> is a major security issue.
> 
>    2 - Then we please define a reliable NAT - such that state is never ever
>    lost. Please see (4)
> 
> => reliable for the port forwarding entries. Note this is done even with
> not CGN NAT (the NAT in front of me is not a CGN and its (port forwarding)
> config is very reliable (save in a flash memory and downloaded at each
> reboot)).
> 
> Med: Agree. I'm mainly concerned with a basic requirement which is the
> following excerpt from
> http://tools.ietf.org/html/draft-xu-behave-nat-state-sync-02:
> 
> "The NAT states mentioned in this document only mean those NAT states
>    which are created dynamically, rather than those static NAT states
>    which are configured manually on NAT devices. For those static NAT
>    states, they are essentially part of the configuration data. The
>    replication of configuration data among a group of devices is
>    absolutely outside the scope of this document."
> 
> "Static entries" mentioned above apply also for PCP-instructed ones.

I disagree according to
http://datatracker.ietf.org/doc/draft-ietf-behave-v6v4-framework/

"State:  "State" refers to dynamic information that is stored in a
      network element.  For example, if two systems are communicating
      using a TCP connection, each stores information about the
      connection, which is called "connection state".  In this context,
      the term refers to dynamic correlations between IP addresses on
      either side of a translator, or {IP address, transport protocol,
      transport port number} tuples on either side of the translator.
      Of stateful algorithms, there are at least two major flavors
      depending on the kind of state they maintain:"

PCP entries are clearly dynamic state created by protocol exchange and have
a lifetime. 

Med: PCP-unstructured entries or using any other tools to configure port forwarding on the CGN are not in the same level as dynamic mappings created by outgoing packets. Unlike other mappings which have system-wise timers (system-wise timers are configured for all UDP and TCP packets), these entries have their per-entry timers (a.k.a., lifetime). What we are saying here is that a basic reliability requirement for the CGN is to protect any static or automatic (e.g., PCP) port forwarding against failure. This requirement is not about imposing hot-standby or the recovery of all dynamic states instantiated by outgoing packets. We had this requirement about port forwarding in our CGN RFP and I don't remember I seen an objection from the vendors on having this requirement.

> 
> BTW, I think we need to have a clear definition somewhere to agree on the
> terminology. Note that several levels of reliability in the NAT can be
> envisaged as described in
> http://tools.ietf.org/html/draft-xu-behave-stateful-nat-standby-04.
> 
>    3 - The BEHAVE RFCs do not mention the necessity of keeping NAT binding
>    state across reboots/power off, why keeping PF dynamic state is needed?
> 
> => PF is *not* equivalent in the security point of view to a dynamic
> NAT binding (*) so BEHAVE RFCs are right but don't apply.
> 
>    4 - CLI to clear mapping state will be implemented for sure due to security
>    reasons. How should we deal with that?
>    
> => yes, when my PCP server crashes (or when I kill it) all the PF entries
> it has installed are flushed, and this is done by the AFTR code as fast
> as possible. There are many reasons for this and security is one of
> them as lifetimes are managed by the PCP server, and when the PCP server
> restarts its first action is to reinstall the PFs it keeps in stable
> storage (a BSD DB which is my approximation from the top of stable storage).
> BTW a missing PF is bad but is not a security issue.
> 
>    Therefore, I'm fine with removing the Epoch, but clients will need to deal
>    with the PCP Server loosing all state during certain types of events - such
>    event could be a admin clearing all mappings due to a security concern.
>    
> => the Epoch doesn't help you because it doesn't provide an usable
> proactive way to warn clients about such events.
> 
> Regards
> 
> Francis.Dupont@fdupont.fr
> 
> *********************************
> This message and any attachments (the "message") are confidential and intended
> solely for the addressees.
> Any unauthorised use or dissemination is prohibited.
> Messages are susceptible to alteration.
> France Telecom Group shall not be liable for the message if altered, changed
> or falsified.
> If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender.
> ********************************
> 


*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************