Re: tsv-dir review of draft-ymbk-aplusp-08

Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp> Tue, 08 February 2011 09:16 UTC

Return-Path: <mohta@necom830.hpcl.titech.ac.jp>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C0F5D3A7086 for <ietf@core3.amsl.com>; Tue, 8 Feb 2011 01:16:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.09
X-Spam-Level:
X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265]
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 Byx6ZYnvPON3 for <ietf@core3.amsl.com>; Tue, 8 Feb 2011 01:16:52 -0800 (PST)
Received: from necom830.hpcl.titech.ac.jp (necom830.hpcl.titech.ac.jp [131.112.32.132]) by core3.amsl.com (Postfix) with SMTP id BE4DB3A7087 for <ietf@ietf.org>; Tue, 8 Feb 2011 01:16:51 -0800 (PST)
Received: (qmail 56682 invoked from network); 8 Feb 2011 09:24:26 -0000
Received: from necom830.hpcl.titech.ac.jp (HELO ?127.0.0.1?) (131.112.32.132) by necom830.hpcl.titech.ac.jp with SMTP; 8 Feb 2011 09:24:26 -0000
Message-ID: <4D5109CA.3040009@necom830.hpcl.titech.ac.jp>
Date: Tue, 08 Feb 2011 18:15:54 +0900
From: Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: ietf@ietf.org
Subject: Re: tsv-dir review of draft-ymbk-aplusp-08
References: <73767A4C-D4A9-4854-91A6-858D4971C52B@iki.fi>
In-Reply-To: <73767A4C-D4A9-4854-91A6-858D4971C52B@iki.fi>
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Feb 2011 09:16:52 -0000

Pasi Sarolahti wrote:

My comments are as an implementer of a port restricted IP.

> * The typical initial scenario probably is that an A+P gateway
> is NATing the traffic to a legacy host in private address
> realm, but I understood that if a host/application supports
> A+P, it could use A+P addressing directly without NAT.

That's the proper way to use of port restricted IP with the
end to end transparency not unnecessarily combined with
legacy NAT.

> Have you thought how this would be reflected on the socket API?
> For example, what would be the intended behavior, if an
> application tries to bind a port that was not part of the port
> range assigned for the host?

It's like specifying a source address not belonging to the host.

So, a super user should be allowed to do so with raw IP.

> Apparently it is thought that there would be some extended API
> for an A+P-aware application to query which ports are
> available, right?

My implementation of PRIP has such mechanisms as ioctl.

						Masataka Ohta