Re: [pcp] Proxy security (was Re: CONSENSUS CALL on PCP security)

"Prashanth Patil (praspati)" <praspati@cisco.com> Thu, 18 July 2013 15:11 UTC

Return-Path: <praspati@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 0D64C11E8151 for <pcp@ietfa.amsl.com>; Thu, 18 Jul 2013 08:11:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 PSkXhm5XSAn5 for <pcp@ietfa.amsl.com>; Thu, 18 Jul 2013 08:11:15 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id D3E1921F8F4F for <pcp@ietf.org>; Thu, 18 Jul 2013 08:11:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=43098; q=dns/txt; s=iport; t=1374160275; x=1375369875; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=GQHs2N51QkqW4oV6qBCo4aRi9oogoc9okWlOJE/+B0s=; b=f/ZRZYiY6Svt1qV4JHKNgryVW7fU6mXWRtsSIAttUztOXFqPPlTXX/aH s9qDK7EVRe+mkwnzf5cmksdBIsiuJvFRt9IAYTWfj1km4nBYux3cy09r0 jmtT99+AnVRz9Nf1lMksol+M88gdimfcWb4pszjAbnMn+Jd7IEbXUz0Gz 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsUFAOQD6FGtJXG+/2dsb2JhbABagkJENVC4CIg8gQ8WdIIkAQEBAQMBAQEqQQsMBgEIEQQBAQsWAQYuCxQJCAIEAQ0FCBOHdQy2H49eLQQGAQaDCG4DgU2XOZAkgxKBaiQc
X-IronPort-AV: E=Sophos; i="4.89,694,1367971200"; d="scan'208,217"; a="236498241"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-6.cisco.com with ESMTP; 18 Jul 2013 15:11:13 +0000
Received: from xhc-aln-x04.cisco.com (xhc-aln-x04.cisco.com [173.36.12.78]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r6IFBC9U006960 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 18 Jul 2013 15:11:12 GMT
Received: from xmb-rcd-x07.cisco.com ([169.254.7.39]) by xhc-aln-x04.cisco.com ([173.36.12.78]) with mapi id 14.02.0318.004; Thu, 18 Jul 2013 10:11:12 -0500
From: "Prashanth Patil (praspati)" <praspati@cisco.com>
To: "yoshihiro.ohba@toshiba.co.jp" <yoshihiro.ohba@toshiba.co.jp>, "alper.yegin@yegin.org" <alper.yegin@yegin.org>
Thread-Topic: [pcp] Proxy security (was Re: CONSENSUS CALL on PCP security)
Thread-Index: AQHOg7xOgyVOTGpo0E674JzHPKIxG5lrOpsA
Date: Thu, 18 Jul 2013 15:11:12 +0000
Message-ID: <B235506D63D65E43B2E40FD27715372E1CE33160@xmb-rcd-x07.cisco.com>
In-Reply-To: <674F70E5F2BE564CB06B6901FD3DD78B12D315F9@tgxml338.toshiba.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.5.130515
x-originating-ip: [173.39.67.75]
Content-Type: multipart/alternative; boundary="_000_B235506D63D65E43B2E40FD27715372E1CE33160xmbrcdx07ciscoc_"
MIME-Version: 1.0
Cc: "pcp@ietf.org" <pcp@ietf.org>, "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
Subject: Re: [pcp] Proxy security (was Re: CONSENSUS CALL on PCP security)
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, 18 Jul 2013 15:11:28 -0000

Hi Yoshihiro,
Although the abstract says that, I don’t think the intent is for the PCP Proxy to just be a relay agent. It is clear from other sections of the draft that the proxy is indeed a server and needs to modify fields (albeit minimal) before forwarding them to the actual server. This implies two independent authentications need to happen.

-Prashanth

On 18/07/13 7:09 PM, "yoshihiro.ohba@toshiba.co.jp<mailto:yoshihiro.ohba@toshiba.co.jp>" <yoshihiro.ohba@toshiba.co.jp<mailto:yoshihiro.ohba@toshiba.co.jp>> wrote:

Hi Tiru,

Abstract of pcp-proxy draft says:

“
   This document specifies a new PCP functional element denoted as PCP
   Proxy.  The PCP Proxy relays PCP requests received from PCP Clients
   to upstream PCP Server(s).  This function is mandatory when PCP
   Clients can not be configured with the address of the PCP Server
   located more than one hop.
“

If this abstract is correct, I interpret that PCP clients only know the PCP proxy’s address, but the PCP server *can* be the authentication end-point for the PCP clients.  This is similar to the http proxy case where http servers are the authentication end-points for http clients.  Having said that, I think it is a bad idea to mandate PCP proxy to be *the* end-point that authenticates the PCP clients in the proxy case.

Yoshihiro Ohba



From: pcp-bounces@ietf.org<mailto:pcp-bounces@ietf.org> [mailto:pcp-bounces@ietf.org] On Behalf Of Prashanth Patil (praspati)
Sent: Wednesday, July 17, 2013 4:46 PM
To: Alper Yegin
Cc: pcp@ietf.org<mailto:pcp@ietf.org>; Tirumaleswar Reddy (tireddy)
Subject: Re: [pcp] Proxy security (was Re: CONSENSUS CALL on PCP security)

Hi Alper,

On 17/07/13 12:23 PM, "Alper Yegin" <alper.yegin@yegin.org<mailto:alper.yegin@yegin.org>> wrote:

Hi Prashanth,



I'm not sure if enough thought went into the PCP Proxy security. As much as I'd love to be DONE! with this discussion, I also want to make sure people feel comfortable having thought all aspects around the proxy use. For (very important) example, what kind of security associations are needed for securing the proxy use: An SA btw client and server, an SA btw client and proxy, an SA btw proxy and server -- which combinations of these are needed?

We've included this in the updated version of auth req:

REQ-9: A PCP proxy that modifies PCP messages SHOULD have the
ability to independently authenticate with the PCP client and PCP
server. The presence of a PCP proxy hence requires two separately
authenticates SAs. As a consequence, the PCP proxy:

A. MUST be able to validate message integrity of PCP messages
from the PCP server and client respectively.

B. MUST be able to ensure message integrity after updating the
PCP message for cases described in sections 6 of ietf-pcp-proxy.

The PCP proxy MUST also permit authentication on only one side of
the proxy. For example, a customer premises host may not
authenticate with the PCP proxy but the PCP proxy may authenticate
with the PCP server.



So:

- We have two types of SAs. One between the client and the proxy, another between the proxy and the server.
- None of them are mandatory to use.

PRA: Yes, none of them are mandatory, it's currently the prerogative of the server to mandate authentication. The proxy MUST be able authenticate with either client or server or both.

For each one that needs to be used, we need to perform authentication between the end-points.
(e.g., between client and proxy).

So, in a way, we are dealing with security in two independent parts; client to proxy, and proxy to server.
They are totally segregated from security perspective.

Right?

PRA: Right. As far as the client is concerned, the proxy is the PCP server. The proxy is in turn a client to the upstream PCP server. The two parts should be independent of each other.

Hmm, one thing: The server may need to know the authenticated ID of the client. Since it's not part of the client authentication, it won't know that value readily. So, we may need to define an option to carry that piece of information from the proxy to the server.

PRA: May be, but don’t know why the server would want to know the auth-id of a client.

-Prashanth

Alper





-Prashanth

Then we need to talk about how we dynamically create those using any one of these solutions.

Alper





On Jul 16, 2013, at 7:50 PM, Dave Thaler wrote:

-----Original Message-----
From: Tirumaleswar Reddy (tireddy) [mailto:tireddy@cisco.com]
Sent: Monday, July 15, 2013 10:51 PM
To: Dave Thaler; pcp@ietf.org<mailto:pcp@ietf.org>
Subject: RE: [pcp] CONSENSUS CALL on PCP security
Hi Dave,
In the poll when you refer to PANA, please clarify the draft you are referring
to http://tools.ietf.org/html/draft-ohba-pcp-pana-04 or
http://tools.ietf.org/html/draft-ohba-pcp-pana-encap-01 ?
--Tiru.
The question is intentionally agnostic as this is about a general approach,
not which specific implementation.  If it helps, you can interpret the
answer as "which of the two you think is better".
If the consensus is PANA rather than direct EAP-in-PCP, then we could
ask as a follow-up question which of the two we should go with. If
you'd like to include your answer to that now though, feel free to
include that in your response to the call.
-Dave
_______________________________________________
pcp mailing list
pcp@ietf.org<mailto:pcp@ietf.org>
https://www.ietf.org/mailman/listinfo/pcp

_______________________________________________
pcp mailing list
pcp@ietf.org<mailto:pcp@ietf.org>
https://www.ietf.org/mailman/listinfo/pcp