Re: [pcp] Comparison of PCP authentication
"Zhangdacheng (Dacheng)" <zhangdacheng@huawei.com> Thu, 09 August 2012 06:09 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 A4D1F21F856D for <pcp@ietfa.amsl.com>; Wed, 8 Aug 2012 23:09:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.495
X-Spam-Level:
X-Spam-Status: No, score=-5.495 tagged_above=-999 required=5 tests=[AWL=1.104, 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 bQbs1yzy6o4m for <pcp@ietfa.amsl.com>; Wed, 8 Aug 2012 23:09:36 -0700 (PDT)
Received: from dfwrgout.huawei.com (dfwrgout.huawei.com [206.16.17.72]) by ietfa.amsl.com (Postfix) with ESMTP id ACFD121F8568 for <pcp@ietf.org>; Wed, 8 Aug 2012 23:09:36 -0700 (PDT)
Received: from 172.18.9.243 (EHLO dfweml201-edg.china.huawei.com) ([172.18.9.243]) by dfwrg01-dlp.huawei.com (MOS 4.3.5-GA FastPath) with ESMTP id AJB31643; Wed, 08 Aug 2012 22:09:36 -0800 (PST)
Received: from DFWEML403-HUB.china.huawei.com (10.193.5.151) by dfweml201-edg.china.huawei.com (172.18.9.107) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 8 Aug 2012 23:07:00 -0700
Received: from SZXEML422-HUB.china.huawei.com (10.82.67.161) by dfweml403-hub.china.huawei.com (10.193.5.151) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 8 Aug 2012 23:07:04 -0700
Received: from SZXEML528-MBX.china.huawei.com ([169.254.4.120]) by szxeml422-hub.china.huawei.com ([10.82.67.161]) with mapi id 14.01.0323.003; Thu, 9 Aug 2012 14:07:02 +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/7wCAAAE8gIAADgKAgAEKIICAAAgpcIAAG6yg
Date: Thu, 09 Aug 2012 06:07:01 +0000
Message-ID: <C72CBD9FE3CA604887B1B3F1D145D05E2CE6527F@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> <C72CBD9FE3CA604887B1B3F1D145D05E2CE65225@szxeml528-mbx.china.huawei.com> <028801cd75d6$c5765490$5062fdb0$@com>
In-Reply-To: <028801cd75d6$c5765490$5062fdb0$@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 06:09:37 -0000
If a client has been configured to support PANA, then it is more likely to stay in an environment where authentication is required, is it? ^_^ However, if this assumption is broken, then two approaches do not make big differences. > From: Dan Wing [mailto:dwing@cisco.com] > Sent: Thursday, August 09, 2012 10:29 AM > To: Zhangdacheng (Dacheng); 'Margaret Wasserman'; > hartmans@painless-security.com > Cc: pcp@ietf.org > Subject: RE: [pcp] Comparison of PCP authentication > > > -----Original Message----- > > From: Zhangdacheng (Dacheng) [mailto:zhangdacheng@huawei.com] > > Sent: Wednesday, August 08, 2012 6:57 PM > > To: Dan Wing; 'Margaret Wasserman'; hartmans@painless-security.com > > Cc: pcp@ietf.org > > Subject: RE: [pcp] Comparison of PCP authentication > > > > 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. ^_^ > > Depends on if we want to optimize for the case where PCP authentication > is necessary or is unnecessary. > > Doing PANA first is a good optimization only if the PCP client knows > that PCP authentication will be required by the PCP server on that > particular network. If PCP authentication is not needed on a particular > network, requesting PCP authentication incurs an extra round trip. > > If the PCP server doesn't want authentication, I believe we can always > rely on a PCP error response if for PANA messages and for > PCP-encapsulated (tunneled) PANA messages (which I believe are the two > proposals being considered) -- thus, we won't have timeouts due to > requesting authentication, which is good. > > -d > > > > > > -----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
- [pcp] Reminder: submit IETF 84 PCP agenda requests Dave Thaler
- Re: [pcp] Reminder: submit IETF 84 PCP agenda req… Xiaohong Deng
- [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication james woodyatt
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- [pcp] single port PANA+PCP Alper Yegin
- Re: [pcp] single port PANA+PCP Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] single port PANA+PCP Alper Yegin
- Re: [pcp] single port PANA+PCP Dan Wing
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] single port PANA+PCP Dan Wing
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Dan Wing
- Re: [pcp] single port PANA+PCP Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] Comparison of PCP authentication Margaret Wasserman
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- [pcp] channel binding (was Re: Comparison of PCP … Alper Yegin
- [pcp] PANA and PCP port sharing (was Re: Comparis… Alper Yegin
- Re: [pcp] Comparison of PCP authentication Sam Hartman
- Re: [pcp] channel binding Sam Hartman
- Re: [pcp] Comparison of PCP authentication Yoshihiro Ohba
- Re: [pcp] channel binding Alper Yegin
- Re: [pcp] Comparison of PCP authentication Alper Yegin
- Re: [pcp] Comparison of PCP authentication Zhangdacheng (Dacheng)
- [pcp] Fwd: Comparison of PCP authentication Subir Das
- Re: [pcp] Fwd: Comparison of PCP authentication Dan Wing
- Re: [pcp] Fwd: Comparison of PCP authentication Subir Das
- Re: [pcp] Fwd: Comparison of PCP authentication Sam Hartman