Re: [pcp] About how to achieve the Options for PCP as PCP clients?

Dan Wing <dwing@cisco.com> Sat, 12 April 2014 15:07 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D1E91A01C8 for <pcp@ietfa.amsl.com>; Sat, 12 Apr 2014 08:07:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.073
X-Spam-Level:
X-Spam-Status: No, score=-12.073 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.272, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0QtOsBLV7Q8 for <pcp@ietfa.amsl.com>; Sat, 12 Apr 2014 08:07:52 -0700 (PDT)
Received: from mtv-iport-1.cisco.com (mtv-iport-1.cisco.com [173.36.130.12]) by ietfa.amsl.com (Postfix) with ESMTP id 3BD051A01C4 for <pcp@ietf.org>; Sat, 12 Apr 2014 08:07:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1741; q=dns/txt; s=iport; t=1397315270; x=1398524870; h=mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=srxXjBS1uwnDVlVa6XB3st53jqFNZRD2NesaKo7zXjE=; b=CSECigeQueSzELpM6iTWdqxkyZszofRPFOhtRclCLXPiJ9QYfVk1NV0q 6E93YMo5YIqUreu/IYUf2mpatOWCPGQWq7zQQcYa8MDQwabNaVHPnbsco Fy16sm1tuCbvvNuNfy0Y1mvf4m9b/KRTmGn8W8l2ZNw30ewfvpPvxN2uX 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiUFALNVSVOrRDoG/2dsb2JhbABPCoMGwx2BHoEZFnSCJQEBAQMBOj8FCwtGVwYTh3QHyysXjhIpMweDJIEUBIlcjwWSQ4NRHQ
X-IronPort-AV: E=Sophos;i="4.97,848,1389744000"; d="scan'208";a="107019601"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-1.cisco.com with ESMTP; 12 Apr 2014 15:07:50 +0000
Received: from sjc-vpn7-1931.cisco.com (sjc-vpn7-1931.cisco.com [10.21.151.139]) by mtv-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id s3CF7nhr015118; Sat, 12 Apr 2014 15:07:49 GMT
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Dan Wing <dwing@cisco.com>
In-Reply-To: <1DA8CEC3F3E989439069663C05A865D335A2F70F@nkgeml508-mbx.china.huawei.com>
Date: Sat, 12 Apr 2014 08:07:48 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <8E0B1F77-5374-4997-AE88-84AD5D4C24D7@cisco.com>
References: <20140212033032.D4F0A7FC395@rfc-editor.org> <B5316AA3-9CFD-4E25-822B-401F9DE36765@cisco.com> <F8F3C26A-FC50-486A-8EFF-DA2C08178524@nominum.com> <1DA8CEC3F3E989439069663C05A865D334F97AE6@nkgeml508-mbx.china.huawei.com> <B12D7908-1773-4DC9-8474-90532F328E21@cisco.com> <1DA8CEC3F3E989439069663C05A865D334F97B15@nkgeml508-mbx.china.huawei.com> <315A4314-038C-4304-BB90-8DC75FFFF9B3@cisco.com> <1DA8CEC3F3E989439069663C05A865D334F97B71@nkgeml508-mbx.china.huawei.com> <06F690E9-CCC1-4CC1-A7B5-07E0042EFE0A@cisco.com> <1DA8CEC3F3E989439069663C05A865D334F97B88@nkgeml508-mbx.china.huawei.com> <80955F6E-204D-4B6B-BE45-9C1A0F0DD072@cisco.com> <1DA8CEC3F3E989439069663C05A865D335A2F70F@nkgeml508-mbx.china.huawei.com>
To: "Zhangzhan (Channy)" <channy.zhang@huawei.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/pcp/anGCxWkyNvQ8foLvl70M8WTEalU
Cc: PCP Working Group <pcp@ietf.org>
Subject: Re: [pcp] About how to achieve the Options for PCP as PCP clients?
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.15
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: Sat, 12 Apr 2014 15:07:56 -0000

On Apr 10, 2014, at 1:52 AM, Zhangzhan (Channy) <channy.zhang@huawei.com> wrote:

> If CPE as the PCP client, to achieve the Options, how to identify?
> 
> For example, THIRD_PARTY, what scene this option will be used? How the Third Party Equipment interact with the CPE and CPE can use the option? Any example or network topology?
> 
> For example, FILTER, internal hosts can communication with CPE using the UPnP protocol for open some service port, then CPE as the PCP client can send PCP MAP to get mapping, but CPE how to realize the FILTER option? I think CPE is unable to know what remote address or port can be allowed to access internal hosts. Instead of, the application layer software of internal hosts is more suitable to achieve it.

Yes, application software above PCP sets FILTER.  But that is true of most everything else with PCP -- PCP is expected to be run by an application calling into a PCP library.  But the connections arrive at the end host, so no need for a separate 'controller' and no need for THIRD_PARTY.  The end host has enough information to set the FILTER; the IP address in that packet (that arrived at the end host) is unchanged in that direction through the subscriber's NAPT.  For example, a TCP SYN that arrives at a NAS inside someone's home has the IP source address and TCP source port, and NAS could use that IP address and TCP port to set the PCP FILTER.  If FILTER wants to be set by the host prior to receiving the first packet, a rendezvous protocol is necessary to learn the remote host's IP address prior to the remote host sends a packet (e.g., H.323, SIP, or dozens and dozens of other rendezvous protocols).

-d