Re: [pcp] Comments on draft-ietf-pcp-dhcp-03

"Reinaldo Penno (repenno)" <repenno@cisco.com> Fri, 03 August 2012 18:18 UTC

Return-Path: <repenno@cisco.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 EE39F21F8E1B for <pcp@ietfa.amsl.com>; Fri, 3 Aug 2012 11:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.849
X-Spam-Level:
X-Spam-Status: No, score=-9.849 tagged_above=-999 required=5 tests=[AWL=-0.450, BAYES_00=-2.599, J_CHICKENPOX_24=0.6, J_CHICKENPOX_25=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pO7sbHyWmVN8 for <pcp@ietfa.amsl.com>; Fri, 3 Aug 2012 11:18:25 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id E9D2921F8E04 for <pcp@ietf.org>; Fri, 3 Aug 2012 11:18:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=repenno@cisco.com; l=3420; q=dns/txt; s=iport; t=1344017905; x=1345227505; h=from:to:subject:date:message-id:in-reply-to:content-id: content-transfer-encoding:mime-version; bh=Keozv4c7QSdYpKYv8L99yNX599QnNIssvWdrlUOu3CQ=; b=GFC3hMi1Bv58/tU8vRv8Zvgcxu0YpdJBoNdGUSyvZ9QsNE64nhhbA+vQ 8FsIfq82dmskRkDuKIEFQrngAOnAm0C0IMO6JJD8cPEguoMNePxGZrMKW eDcjCno2mZYd3cTqidqZJtwrHH6w/jNNzfGU1kcTmUQcCTrfW6lVUwAtL A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAFYVHFCtJV2d/2dsb2JhbABFuS6BB4IgAQEBAwEBAQEPASc0FwYBCA4DBAEBHwkuCxQJCAIEARIih2UGC5xhoBoEi0iHBAOVSo4ngWaCXw
X-IronPort-AV: E=Sophos;i="4.77,707,1336348800"; d="scan'208";a="108284510"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-8.cisco.com with ESMTP; 03 Aug 2012 18:18:24 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id q73IIOi3012245 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 3 Aug 2012 18:18:24 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.162]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.02.0283.003; Fri, 3 Aug 2012 13:18:24 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Dave Thaler <dthaler@microsoft.com>, "pcp@ietf.org" <pcp@ietf.org>
Thread-Topic: Comments on draft-ietf-pcp-dhcp-03
Thread-Index: AQHNcZ+sIMSFRn6eBkOpyqHfeftPVJdIXN9Q///nFoA=
Date: Fri, 03 Aug 2012 18:18:23 +0000
Message-ID: <CC416268.88D8%repenno@cisco.com>
In-Reply-To: <9B57C850BB53634CACEC56EF4853FF653B7380B2@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.13.0.110805
x-originating-ip: [10.21.123.24]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19082.002
x-tm-as-result: No--49.788600-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4F713907AEC2074692EFB30E8D0D5411@cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [pcp] Comments on draft-ietf-pcp-dhcp-03
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: Fri, 03 Aug 2012 18:18:27 -0000

On 8/3/12 10:53 AM, "Dave Thaler" <dthaler@microsoft.com> wrote:

>> -----Original Message-----
>> From: pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] On Behalf Of
>> Reinaldo Penno (repenno)
>> Sent: Friday, August 03, 2012 10:45 AM
>> To: pcp@ietf.org
>> Subject: [pcp] Comments on draft-ietf-pcp-dhcp-03
>> 
>> After reviewing draft-ietf-pcp-dhcp-03 I believe there are some things I
>> believe we need to tie up.
>
>I agree.
>
>> When a PCP Client contacts PCP Servers in parallel, say, IPx1, IPy1 and
>> IPz1 as mentioned in draft and all respond then:
>> 
>> 1 - What happens to the state in y1 and z1 if PCP Client chooses x1 to
>> communicate? Probably let it age out or delete mappings.
>
>What do you mean by "chooses x1"?


That's what we find in section 6.2


>if we're talking about MAP (for a
>listening application) do you mean when x, y, and y
>are all NATs rather than FWs, and the client app can only deal with one
>external IP address?


The draft says as soon as one PCP Server responds successfully it sticks
to it. So, I'm assuming other PCP Server are not contacted further and
mappings will time out or need to be deleted.

As a side effect why would an app get 3 external IP:ports for the same
purpose and consume three times the state. It seems to me a side effect of
the wording more than something the app really needs.


>
>If they're firewalls (so the external IP address/port isn't different), or
>if the client app can deal with multiple external IP/ports, then I don't
>think
>it would choose one.


What's the use case for three? Anyway, this exchange is telling in light of

"Once the PCP Client has successfully
   received a response from a PCP Server on that interface, it sends
   subsequent PCP requests to that same server until that PCP Server
becomes non-responsive,"

> 
>> 2 - If there is a failure on x1 and PCP Client decides to communicate
>>with y1,
>> there might be some 'leftover' mappings for internal IP:port (see 1).
>> PCP Client will need to delete or reuse existing state in y1. Important
>>to
>> notice that there is no way to guarantee that PCP Server will allocate
>>same
>> external IP:ports.
>> 
>> 3 - I guess it is assumed that if PCP Server is co-located with NAT, if
>>x1 fails,
>> traffic (PCP and data) will be diverted to y1.
>
>Unclear which model you're referring to (different external IP:port or
>same external IP:port), can you clarify your question?


The app needs one external IP:port to announce on the external world
through, say, DynDDNS client. Why it would need three _different_? If it
needs them, fine, not sure about use case. But if it gets 3 as a
collateral effect of the bootstrap procedure there is no way to guarantee
they will be the same.



> 
>> 4 - Related (2). The draft says that when a PCP Server is unreachable
>>(say, y1)
>> PCP Client will continue to try to communicate even though other PCP
>>Server
>> are available.  The only way to 'communicate' is sending a request,
>>which
>> might create state. So, when y1 is back up. y1 might allocate a
>>different
>> external IP:port than other server.
>> 
>> Thanks,
>> 
>> Reinaldo
>> 
>> 
>> 
>> 
>> _______________________________________________
>> pcp mailing list
>> pcp@ietf.org
>> https://www.ietf.org/mailman/listinfo/pcp
>
>