Re: [shara] port randomization (draft-ymbk-aplusp-03)

"Dan Wing" <dwing@cisco.com> Tue, 17 March 2009 01:22 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: shara@core3.amsl.com
Delivered-To: shara@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 90F083A6804 for <shara@core3.amsl.com>; Mon, 16 Mar 2009 18:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.247
X-Spam-Level:
X-Spam-Status: No, score=-6.247 tagged_above=-999 required=5 tests=[AWL=0.352, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YgV2vJAc4udM for <shara@core3.amsl.com>; Mon, 16 Mar 2009 18:22:34 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id ABBA53A6900 for <shara@ietf.org>; Mon, 16 Mar 2009 18:22:34 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.38,375,1233532800"; d="scan'208";a="156728516"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 17 Mar 2009 01:23:17 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n2H1NHDs032055; Mon, 16 Mar 2009 18:23:17 -0700
Received: from dwingwxp01 ([10.32.240.194]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n2H1NHkj022680; Tue, 17 Mar 2009 01:23:17 GMT
From: "Dan Wing" <dwing@cisco.com>
To: <Gabor.Bajko@nokia.com>, <jan@go6.si>
References: <022a01c9a2ab$fd5abf60$fd736b80@cisco.com><49B91C8B.5010906@go6.si><04a201c9a338$d5ce8f70$fd736b80@cisco.com><49B9752B.8030407@go6.si> <051901c9a64a$0256bf40$fd55150a@cisco.com><49BE9F0D.2080804@go6.si> <06e601c9a697$e6c67c90$fd55150a@cisco.com> <A99B171D26E1564B92D36826128CD66127EE106A92@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Mon, 16 Mar 2009 18:23:17 -0700
Message-ID: <000201c9a69e$f352e730$c2f0200a@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Acmmke38FVeJqo9kTRyUVFJCg1VTDQAALvBQAAJw/qAAAGWTMA==
In-Reply-To: <A99B171D26E1564B92D36826128CD66127EE106A92@NOK-EUMSG-01.mgdnok.nokia.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=2860; t=1237252997; x=1238116997; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dwing@cisco.com; z=From:=20=22Dan=20Wing=22=20<dwing@cisco.com> |Subject:=20RE=3A=20[shara]=20port=20randomization=20(draft -ymbk-aplusp-03) |Sender:=20; bh=E8AA8JMaaArOabu9L4WG/OlRqJhjvjBZBGPotsDZmGk=; b=jSy+kZdN0p6a1JNhQ6swMfuMzjiEffzQslnLDg3d/14i53C6g4dN+JrGBz ECb2uNUJiG3G3q2S+xZ0msM5FraGJT45U62RCg32IETFK9nVXwUWC8K9y5s1 so6fkiG3f+;
Authentication-Results: sj-dkim-4; header.From=dwing@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; );
Cc: shara@ietf.org
Subject: Re: [shara] port randomization (draft-ymbk-aplusp-03)
X-BeenThere: shara@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Sharing of an IPv4 Address discussion list <shara.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shara>, <mailto:shara-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shara>
List-Post: <mailto:shara@ietf.org>
List-Help: <mailto:shara-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shara>, <mailto:shara-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2009 01:22:35 -0000

 

> -----Original Message-----
> From: Gabor.Bajko@nokia.com [mailto:Gabor.Bajko@nokia.com] 
> Sent: Monday, March 16, 2009 6:08 PM
> To: dwing@cisco.com; jan@go6.si
> Cc: shara@ietf.org
> Subject: RE: [shara] port randomization (draft-ymbk-aplusp-03)
> 
> 
>   >additional work is necessary to *release*
>   >ports, so that the CPE can get a fresh port (or fresh block
>   >of ports).
> 
> Isn't this the task of the protocol between the PRR and CPE? 

Yes.

> Wouldn't a lease time associated with each allocated port or 
> port range be enough?

Somewhat; the CPE might want to get a new port more aggressively
for whatever reason.

Let's pretend we had a SHARA solution in place in 2005, and 
everybody agreed in 2005 that a 1 hour lease made sense.  The
SP equipment was configured to provide a 1 hour lease of a
bunch of random ports.  Then Kaminsky DNS attack surfaces in 2008, 
3 years later.  Due to that attack, CPE want to get a fresh, 
random UDP port for every DNS query.  Does the existing DHCP 
lease mechanism support a CPE wanting/needing to do that?  It
is my understanding that it does not; if my understanding is
correct, I believe it is in our best interest to be have a 
protocol that does support the CPE asking for whatever port
forwarding it wants/needs.  Putting the power into the 
customer's hands rather than the SP's hands is the primary 
goal of SHARA, afterall.

-d


> - gabor
> 
>   >-----Original Message-----
>   >From: shara-bounces@ietf.org 
> [mailto:shara-bounces@ietf.org] On Behalf Of
>   >ext Dan Wing
>   >Sent: Monday, March 16, 2009 5:33 PM
>   >To: 'Jan Zorz @ go6.si'
>   >Cc: shara@ietf.org
>   >Subject: Re: [shara] port randomization (draft-ymbk-aplusp-03)
>   >
>   >> 	And, the CPE does not necessarily need to request each port;
>   >it
>   >> 	could ask for ~5 or ~10 ports and then utilize them as it
>   >needs,
>   >> 	and then get another batch of ~10 ports.  It comes down to
>   >> 	the design decisions for the protocol between the CPE and the
>   >> 	PRR so that it is possible to utilize the entire 64K port
>   >> 	range.
>   >>
>   >>
>   >> Yes, this is possible within described mechanism in A+P
>   >> proposal, as minimum port range is not limited, so you can
>   >> define 10 ports as a range, but preferably a range, that can
>   >> be described with a bitmask.
>   >
>   >I agree that allocating ports is discussed in Section 4.4
>   >of http://tools.ietf.org/html/draft-ymbk-aplusp-03; however,
>   >my point is that additional work is necessary to *release*
>   >ports, so that the CPE can get a fresh port (or fresh block
>   >of ports).
>   >
>   >-d
>   >
>   >_______________________________________________
>   >shara mailing list
>   >shara@ietf.org
>   >https://www.ietf.org/mailman/listinfo/shara