Re: [pcp] Server's auth policy discovery

Sam Hartman <hartmans@painless-security.com> Fri, 12 October 2012 12:09 UTC

Return-Path: <hartmans@painless-security.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 138E721F857E for <pcp@ietfa.amsl.com>; Fri, 12 Oct 2012 05:09:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.343
X-Spam-Level: ****
X-Spam-Status: No, score=4.343 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR=2.426, RDNS_DYNAMIC=0.1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kShCeCSCVNYd for <pcp@ietfa.amsl.com>; Fri, 12 Oct 2012 05:09:43 -0700 (PDT)
Received: from ec2-23-21-227-93.compute-1.amazonaws.com (ec2-23-21-227-93.compute-1.amazonaws.com [23.21.227.93]) by ietfa.amsl.com (Postfix) with ESMTP id 86C9C21F8574 for <pcp@ietf.org>; Fri, 12 Oct 2012 05:09:43 -0700 (PDT)
Received: from carter-zimmerman.suchdamage.org (c-98-217-126-210.hsd1.ma.comcast.net [98.217.126.210]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "laptop", Issuer "laptop" (not verified)) by mail.suchdamage.org (Postfix) with ESMTPS id 4848320200; Fri, 12 Oct 2012 08:09:28 -0400 (EDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042) id 6DDEE4AD5; Fri, 12 Oct 2012 08:09:40 -0400 (EDT)
From: Sam Hartman <hartmans@painless-security.com>
To: Alper Yegin <alper.yegin@yegin.org>
References: <0BC19EAB-01F2-4AB9-B706-FD7C98FFAE86@yegin.org> <tsl4nm0j755.fsf@mit.edu> <5077FA0A.9030308@toshiba.co.jp> <tslzk3rj530.fsf@mit.edu> <22CCCEB5-FA7E-474A-B890-5A6EB16E44DB@yegin.org>
Date: Fri, 12 Oct 2012 08:09:40 -0400
In-Reply-To: <22CCCEB5-FA7E-474A-B890-5A6EB16E44DB@yegin.org> (Alper Yegin's message of "Fri, 12 Oct 2012 14:41:29 +0300")
Message-ID: <tslvcefj3i3.fsf@mit.edu>
User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Cc: pcp@ietf.org
Subject: Re: [pcp] Server's auth policy discovery
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: Fri, 12 Oct 2012 12:09:44 -0000

>>>>> "Alper" == Alper Yegin <alper.yegin@yegin.org> writes:

    Alper> Sam,
    Alper> On Oct 12, 2012, at 2:35 PM, Sam Hartman wrote:

>>>>>> "Yoshihiro" == Yoshihiro Ohba <yoshihiro.ohba@toshiba.co.jp> writes:
    >> 
    Yoshihiro> Is discoverying binary policy (auth
    Yoshihiro> unsupported/supported) is enough, or is discovering
    Yoshihiro> three-policy (auth unsupported/mandated/optional) needed?
    >> 
    >> I think discovering auth supported is sufficient.

    Alper> So, you suggest eliminating case 2 below?

    Alper> 1. auth not used (not supported, or disabled) 2. use of auth
    Alper> is optional (i.e., PCP Client's decision) 3. auth is
    Alper> mandatory to use

No.  I simply think that if you know whether the server supports auth
then you can avoid sending auth to a server known not to support it,
which is a problem in the PANA port sharing case.

I guess what I should have said is that  if clients who want to use auth
have a way to discover if auth is supported, then I don't think we have
any concerns.

--Sam