Re: [pcp] Comparison of PCP authentication

"Dan Wing" <dwing@cisco.com> Thu, 09 August 2012 17:55 UTC

Return-Path: <dwing@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 9049721F85AC for <pcp@ietfa.amsl.com>; Thu, 9 Aug 2012 10:55:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.505
X-Spam-Level:
X-Spam-Status: No, score=-110.505 tagged_above=-999 required=5 tests=[AWL=0.094, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 eErs3iu19WDl for <pcp@ietfa.amsl.com>; Thu, 9 Aug 2012 10:55:53 -0700 (PDT)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id F1AF921F851E for <pcp@ietf.org>; Thu, 9 Aug 2012 10:55:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=2023; q=dns/txt; s=iport; t=1344534953; x=1345744553; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=EONUfjXc1iIypoFFK6wQuoN+ZO94jD4X7bxg8ngB1Yk=; b=SpIFEu7YoEDiCh38VeG6b3Lu88JT+bY9K9DW7O0YpbYoGjERQhZU3EkH YpRUrZoJXaJQ0u1eXJDxN3EWNHKP0CqXI8FDDwI/sNacez4fBm+3rh66n 8r7MlLWSZ+3+SZ68ejUwlcLqna1h4Q51kIrc6ELAqAf4hX5DuMdsBrDjk 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhgFAIzgI1CrRDoG/2dsb2JhbABFqiCPQoEHgiABAQEDAQgKARcQPwUHAQMCCQ8CBAEBKAcZIwoJCAEBBBMLF4dlBZsHjWOTCosPhmQDiE6FDJYYgWaCfw
X-IronPort-AV: E=Sophos;i="4.77,741,1336348800"; d="scan'208";a="54483511"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-4.cisco.com with ESMTP; 09 Aug 2012 17:55:53 +0000
Received: from dwingWS (sjc-vpn7-1991.cisco.com [10.21.151.199]) by mtv-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q79Htq9T024941; Thu, 9 Aug 2012 17:55:52 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Sam Hartman' <hartmans@painless-security.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> <tsla9y4gptp.fsf@mit.edu>
In-Reply-To: <tsla9y4gptp.fsf@mit.edu>
Date: Thu, 09 Aug 2012 10:55:52 -0700
Message-ID: <04c901cd7658$37a740c0$a6f5c240$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac12MnxUJnz2P+UcRQukhq9ambTiDwAJJx9w
Content-Language: en-us
Cc: 'Margaret Wasserman' <mrw@lilacglade.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 17:55:53 -0000

> -----Original Message-----
> From: Sam Hartman [mailto:hartmans@painless-security.com]
> Sent: Thursday, August 09, 2012 6:25 AM
> To: Dan Wing
> Cc: 'Zhangdacheng (Dacheng)'; 'Margaret Wasserman'; pcp@ietf.org
> Subject: Re: [pcp] Comparison of PCP authentication
> 
> >>>>> "Dan" == Dan Wing <dwing@cisco.com> writes:
> 
> 
>     Dan> Doing PANA first is a good optimization only if the PCP client
>     Dan> knows that PCP authentication will be required by the PCP
>     Dan> server on that particular network.  If PCP authentication is
>     Dan> not needed on a particular network, requesting PCP
>     Dan> authentication incurs an extra round trip.
> 
> Thinking about this as an optimization seems wrong to me.
> 
> consider the case where the client wants authentication but the server
> does not require it.  For example, the client wants integrity
> protection
> of the result of the request.
> In this case it's about security requirements *not* optimization.
> The client needs a way to force the server to require authentication.

I am struggling to imagine a PCP client that would refuse to do MAP
or PEER because its PCP server doesn't support authentication.

> Another case where this becomes important is where a server will accept
> requests from unauthenticated clients but treat them differently. For
> example an authenticated client is allowed to ask for longer lifetimes,
> etc.

That sounds reasonable.  But we could solve that differently than trying
authentication first all the time, such as for example including an 
"I WILL DO AUTHENTICATION IF I GET BETTER CHOCOLATE COOKIES" in the 
initial PCP request, which triggers a PCP authentication required error.

> Especially since interacting with firewalls is in-scope for PCP,
> supporting clients with higher security requirements seems and
> important design goal for a PCP authentication mechanism.
> 
> So, I don't think we should be thinking of this purely in terms of
> optimization.

-d