Re: [pcp] Comparison of PCP authentication

"Zhangdacheng (Dacheng)" <zhangdacheng@huawei.com> Thu, 09 August 2012 01:59 UTC

Return-Path: <zhangdacheng@huawei.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 0EA9121F8585 for <pcp@ietfa.amsl.com>; Wed, 8 Aug 2012 18:59:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.274
X-Spam-Level:
X-Spam-Status: No, score=-5.274 tagged_above=-999 required=5 tests=[AWL=1.325, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 BRKzrntMZXMi for <pcp@ietfa.amsl.com>; Wed, 8 Aug 2012 18:59:01 -0700 (PDT)
Received: from dfwrgout.huawei.com (dfwrgout.huawei.com [206.16.17.72]) by ietfa.amsl.com (Postfix) with ESMTP id 381AA21F857D for <pcp@ietf.org>; Wed, 8 Aug 2012 18:59:01 -0700 (PDT)
Received: from 172.18.9.243 (EHLO dfweml201-edg.china.huawei.com) ([172.18.9.243]) by dfwrg02-dlp.huawei.com (MOS 4.2.3-GA FastPath) with ESMTP id AIR21716; Wed, 08 Aug 2012 17:59:01 -0800 (PST)
Received: from DFWEML408-HUB.china.huawei.com (10.193.5.134) by dfweml201-edg.china.huawei.com (172.18.9.107) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 8 Aug 2012 18:56:37 -0700
Received: from SZXEML437-HUB.china.huawei.com (10.72.61.72) by dfweml408-hub.china.huawei.com (10.193.5.134) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 8 Aug 2012 18:56:42 -0700
Received: from SZXEML528-MBX.china.huawei.com ([169.254.4.120]) by szxeml437-hub.china.huawei.com ([10.72.61.72]) with mapi id 14.01.0323.003; Thu, 9 Aug 2012 09:56:35 +0800
From: "Zhangdacheng (Dacheng)" <zhangdacheng@huawei.com>
To: Dan Wing <dwing@cisco.com>, 'Margaret Wasserman' <mrw@lilacglade.org>, "hartmans@painless-security.com" <hartmans@painless-security.com>
Thread-Topic: [pcp] Comparison of PCP authentication
Thread-Index: AQHNcPYy1F5Ai0qa4kawmCOKzP6BvpdMkuOAgAAcnICAAAVlgIAAMmWAgAK/7wCAAAE8gIAADgKAgAEKIIA=
Date: Thu, 09 Aug 2012 01:56:34 +0000
Message-ID: <C72CBD9FE3CA604887B1B3F1D145D05E2CE65225@szxeml528-mbx.china.huawei.com>
References: <9B57C850BB53634CACEC56EF4853FF653B6EC381@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <7FE144CF-00E3-4451-8CBE-A6A684DB7CC4@yegin.org> <067d01cd73fd$765a6c50$630f44f0$@com> <D6D2DEED-C35A-45AB-8B72-96195C308DB9@yegin.org> <57FF0F8E-1B86-410F-8B6B-C4893A28222F@lilacglade.org> <BB72B80F-0622-4A5B-A985-79D8AED13E0B@apple.com> <003b01cd7587$a111b760$e3352620$@com> <15990E87-2D59-49B1-845C-2A4CB5A1FBD6@lilacglade.org> <008801cd758f$3fd306e0$bf7914a0$@com>
In-Reply-To: <008801cd758f$3fd306e0$bf7914a0$@com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.99.49]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "pcp@ietf.org" <pcp@ietf.org>
Subject: Re: [pcp] Comparison of PCP authentication
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: Thu, 09 Aug 2012 01:59:02 -0000

Slide 5 only illustrates a scenario where the pcp server initiates the authentication procedure. But in our draft, it is also described that the client can initiate authentication proactively. In my opinion, this approach seems even more preferable.  ^_^

> -----Original Message-----
> From: pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] On Behalf Of Dan
> Wing
> Sent: Thursday, August 09, 2012 1:57 AM
> To: 'Margaret Wasserman'; hartmans@painless-security.com
> Cc: pcp@ietf.org
> Subject: Re: [pcp] Comparison of PCP authentication
> 
> > -----Original Message-----
> > From: Margaret Wasserman [mailto:mrw@lilacglade.org]
> > Sent: Wednesday, August 08, 2012 10:07 AM
> > To: Dan Wing
> > Cc: 'james woodyatt'; pcp@ietf.org
> > Subject: Re: [pcp] Comparison of PCP authentication
> >
> >
> > On Aug 8, 2012, at 1:02 PM, Dan Wing wrote:
> > > So, I think we are okay -- assuming we keep the idea that the PCP
> > > client tries to first send a PCP request (and not to first send
> > > a PANA request).
> >
> > Actually, we don't keep this, even now.  There is certainly a notion
> > that a client could be configured to use authentication for all (or
> > some) PCP exchanges, and that the authentication would come first.
> 
> But slide 5 of your deck,
> http://tools.ietf.org/agenda/84/slides/slides-84-pcp-10.pdf,
> shows the PCP client doing an initial PCP request and getting an
> AUTH_REQUIRED
> error.  That is the basis of my (lovely) ASCII artistry.
> 
> > > However, I do worry that implementations may optimize themselves
> > > to send a PANA request first, which would cause the problem you
> > > describe if they send the PANA request to a NAT-PMP server.  That
> > > is, this would be a problem:
> > >
> > >  PCP client                           NAT-PMP server
> > >      |                                    |
> > > 1.    |-------(authentication message)---->|
> > > 2.    |<--NAT-PMP error--------------------|
> > >      |                                    |
> > >
> > > But the PCP client doesn't speak NAT-PMP, so there isn't a way
> > > for it to handle that case, anyway (no matter if we had PCP
> > > authentication or not).
> > >
> > > In summary, I think we can skate around problems with talking
> > > to a NAT-PMP server.
> >
> > Makes sense.
> 
> 
> Sam Hartman wrote:
> 
> > It's not just that implementations may optimize sending an
> > authentication request.
> >
> > An implementation MAY require authentication.
> > I.E. it is unwilling to send the request unless it has an authenticated
> > channel.
> > For firewall control this makes a lot of sense.
> 
> I believe we are okay -- the PCP client trying to do authentication will
> have to expect it will occasionally see a NAT-PMP error message.  That
> will occur if it is communicating with a NAT-PMP server (which shares the
> same port as PCP).  If the PCP client receives a NAT-PMP error, it needs
> to abort trying to do PCP and abort trying to do PANA (because neither
> will work); in the (unlikely) event the PCP client also implements
> NAT-PMP, it can then downgrade to using NAT-PMP.
> 
> A sentence or three in draft-ietf-pcp-authentication will be needed
> to explain that a NAT-PMP error might be received.
> 
> -d
> 
> 
> _______________________________________________
> pcp mailing list
> pcp@ietf.org
> https://www.ietf.org/mailman/listinfo/pcp