Re: [BEHAVE] CGN REQ: Port Set Assignment

Simon Perreault <simon.perreault@viagenie.ca> Sat, 26 March 2011 10:05 UTC

Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D7D1328C10A for <behave@core3.amsl.com>; Sat, 26 Mar 2011 03:05:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.047
X-Spam-Level:
X-Spam-Status: No, score=-2.047 tagged_above=-999 required=5 tests=[AWL=-0.517, BAYES_00=-2.599, DATE_IN_PAST_06_12=1.069]
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 CaHD3YkK8ko9 for <behave@core3.amsl.com>; Sat, 26 Mar 2011 03:05:59 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by core3.amsl.com (Postfix) with ESMTP id D4B0428C108 for <behave@ietf.org>; Sat, 26 Mar 2011 03:05:58 -0700 (PDT)
Received: from banana.viagenie.ca (unknown [212.47.23.197]) by jazz.viagenie.ca (Postfix) with ESMTPSA id C1C5421F50 for <behave@ietf.org>; Sat, 26 Mar 2011 06:07:33 -0400 (EDT)
Message-ID: <4D8D2D50.3080908@viagenie.ca>
Date: Fri, 25 Mar 2011 20:03:28 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Thunderbird/3.1.6
MIME-Version: 1.0
To: behave@ietf.org
References: Your message of Wed, 16 Mar 2011 07:16:42 +0100. <94C682931C08B048B7A8645303FDC9F33C4DBA3CC6@PUEXCB1B.nanterre.francetelecom.fr> <201103161431.p2GEVqua078968@givry.fdupont.fr> <94C682931C08B048B7A8645303FDC9F33C4DBA3FCC@PUEXCB1B.nanterre.francetelecom.fr> <017a01cbe411$257172c0$70545840$@com> <94C682931C08B048B7A8645303FDC9F33C4DBA4146@PUEXCB1B.nanterre.francetelecom.fr>
In-Reply-To: <94C682931C08B048B7A8645303FDC9F33C4DBA4146@PUEXCB1B.nanterre.francetelecom.fr>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [BEHAVE] CGN REQ: Port Set Assignment
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Mar 2011 10:06:00 -0000

mohamed.boucadair@orange-ftgroup.com wrote, on 03/17/2011 03:24 AM:
>    1.  for a new outgoing flow, choose a random port and create a new
>        mapping.  There is a limit on the maximum number of ports.
> 
>    2.  for a new outgoing flow, choose several random ports and create a
>        "bin" of those ports.  This outgoing flow is assigned one of
>        those ports.  Subsequent outgoing flows will be assigned a port
>        from the "bin".  When the "bin" is full, a new flow causes this
>        process to be repeated (i.e., a new bin is created).  A bin is
>        smaller or equal to the user's maximum port limit.
> 
>    3.  Same as (2), but the ports allocated to a "bin" are consecutive
>        public ports.
> 
> Med: I don't know where to put the non-contiguous one single "bin" case (excerpt from (see http://tools.ietf.org/html/draft-bajko-pripaddrassign-02#section-4.1)
> 
>    "a non Continuous Port Range is assigned to a given customer's
>    device. In this example, the Port Range Value defines 128 Continuous
>    Port Ranges, each one with a length of 16 port values.  Note that
>    the two first Port Ranges are both in the well-known ports span
>    (i.e. 0-1023) but these two ranges are not adjacent.

It looks to me like it would be between 2 and 3: somewhat random, but not
completely.

Now, I don't think we need to list all possibilities in the draft. Anyone could
invent a dozen new ones by blending what's already there in varying proportions,
without even trying hard to be creative.

What the text needs to make clear is that this is a continuum, and how the pros
and cons vary as you move along it (as a first step). The next revision will
contain terminology that will work better than numbers for discussion.

Thanks,
Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org