Re: [Anima-signaling] Draft message on proposed change to GRASP

Toerless Eckert <eckert@cisco.com> Wed, 20 April 2016 21:46 UTC

Return-Path: <eckert@cisco.com>
X-Original-To: anima-signaling@ietfa.amsl.com
Delivered-To: anima-signaling@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0ECA12E6E1 for <anima-signaling@ietfa.amsl.com>; Wed, 20 Apr 2016 14:46:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.517
X-Spam-Level:
X-Spam-Status: No, score=-15.517 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hTrUP6urNZOI for <anima-signaling@ietfa.amsl.com>; Wed, 20 Apr 2016 14:46:44 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E570A12E6C4 for <anima-signaling@ietf.org>; Wed, 20 Apr 2016 14:46:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3677; q=dns/txt; s=iport; t=1461188803; x=1462398403; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=gTXyOCaHTy7f8/+iaJ3EJcJiZF8stHwJWgQ1CEbmlDs=; b=mCsVAtdhjRJFhSgHNNZc7BL8BqzDie+Y71+vpiQA8cWUy1pNPGLmsMHJ f6UtRhgUFM7Vx/2LulvZZeXdXaklcUilH+MJrc89IlWvnQnh1rVug0KlO q46nzmyTJ1AIL0y6Q2dgrvZ/xRuMJ7cT9cRozgAbAHuFHsSEFbgfXvJAC c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AQAgA0+BdX/5FdJa1egzlTfa4Ti10BD?= =?us-ascii?q?YFyFwuFZwMCAoFOOBQBAQEBAQEBZSeEQQEBAQQBAQEvATsLBQsLEQMBAgEJJQ8?= =?us-ascii?q?FDQYoDhMbh3oDEg66BA2EcAEBAQEBAQEBAQEBAQEBAQEBAQEBARWKbIJBh1QBB?= =?us-ascii?q?IYzCYgLiRcxhXuGI4FsCoFmhE2IXYdPh14eAQFCggEDGoFqHDABiEYBAQE?=
X-IronPort-AV: E=Sophos;i="5.24,511,1454976000"; d="scan'208";a="262513973"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2016 21:46:43 +0000
Received: from mcast-linux1.cisco.com (mcast-linux1.cisco.com [172.27.244.121]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id u3KLkgeH000470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Apr 2016 21:46:42 GMT
Received: from mcast-linux1.cisco.com (localhost.cisco.com [127.0.0.1]) by mcast-linux1.cisco.com (8.13.8/8.13.8) with ESMTP id u3KLkgde020986; Wed, 20 Apr 2016 14:46:42 -0700
Received: (from eckert@localhost) by mcast-linux1.cisco.com (8.13.8/8.13.8/Submit) id u3KLkfNe020985; Wed, 20 Apr 2016 14:46:41 -0700
Date: Wed, 20 Apr 2016 14:46:41 -0700
From: Toerless Eckert <eckert@cisco.com>
To: "jmh.direct" <jmh.direct@joelhalpern.com>
Message-ID: <20160420214641.GG17761@cisco.com>
References: <rp2lvm5kwna9glg8ejv0hq4y.1461186275978@email.android.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <rp2lvm5kwna9glg8ejv0hq4y.1461186275978@email.android.com>
User-Agent: Mutt/1.4.2.2i
Archived-At: <http://mailarchive.ietf.org/arch/msg/anima-signaling/FSSPXXTM1MV4jDbe0lEhWezXO9Y>
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, Anima signaling DT <anima-signaling@ietf.org>
Subject: Re: [Anima-signaling] Draft message on proposed change to GRASP
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the signaling design team of the ANIMA WG <anima-signaling.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-signaling/>
List-Post: <mailto:anima-signaling@ietf.org>
List-Help: <mailto:anima-signaling-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2016 21:46:46 -0000

Joel: Would definitely be safest if ASAs would have separate UDP and
TCP transport addresses. On the other hand, you can search for a port
free on both TCP/UDP. But probably thats not considered architecturally clean.


On Wed, Apr 20, 2016 at 02:04:35PM -0700, jmh.direct wrote:
> How common is the case of an ASAP wanting to use both TCP and UDP?  If it is not rare, the requirement to get the same ephemeral port in both stacks seems tricky to meet in an operational system.
> Yours,Joel
> 
> 
> Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone-------- Original message --------From: Brian E Carpenter <brian.e.carpenter@gmail.com> Date: 4/20/2016  1:50 PM  (GMT-08:00) To: Anima signaling DT <anima-signaling@ietf.org>rg>, "Joel M. Halpern" <jmh@joelhalpern.com> Subject: Draft message on proposed change to GRASP 
> Hi,
> 
> Design team, and Joel,
> 
> Some of us have been discussing a GRASP design issue raised by Toerless.
> There was quite a long off-list thread (nothing secret, so if people are
> interested we could make it available). But here is a draft of a proposal
> to the WG. Please comment - especially, does the text make sense? The actual
> decision belongs to the WG, of course.
> 
> Short version:
> 
> We propose that when an ASA listens for negotiation or synchronization requests,
> it should do so on its own port number rather than sharing the generic GRASP
> port number as currently defined. The consequence for the protocol is that
> discovery responses must include a complete transport address (locator+port)
> instead of just the locator.
> 
> Long version:
> 
> We want ASAs to run as separate modules in user address space, as applications,
> rather than being bundled with the GRASP engine in kernel space. To achieve this
> with all ASAs listening on the same port number would require quite complicated
> inter-process communication between the GRASP kernel and the indvidual ASAs.
> The details of this would be different in every operating system. If we
> allow each ASA to have its own port this can be avoided, and each ASA can have
> its own copy of the GRASP API library if required. This will make the systems
> engineering of portable ASAs much easier, and will make the adaptation of
> the GRASP API library and the GRASP kernel to various operating systems easier
> too.
> 
> We propose to redefine the locator returned by GRASP discovery accordingly. For
> the IPv6 case that would give:
> 
> locator-option /= [ipv6-locator-option, port-number]
> ipv6-locator-option = bytes .size 16
> port-number = 0..65535
> 
> We did consider making this optional, but that would raise interoperability
> issues. If an implementation does choose to use the GRASP_LISTEN_PORT
> for all ASAs, that could simply be returned as the port-number.
> (Alternatively, we could define that port-number==0 means GRASP_LISTEN_PORT,
> but that seems like optimisation of a corner case.)
> 
> Implementation note:
> 
> An ASA will obtain an ephemeral port number when it starts up and that
> will be used in discovery responses. If more than one transport protocol
> is to be used, it will need to secure the same port number for each protocol.
> For example, if it gets port X when binding to a TCP socket, it must then
> bind to port X on a UDP socket.
> 
> Note:
> 
> Toerless Eckert brought up this problem and outlined the proposed solution.
> 
> 
> 

> _______________________________________________
> Anima-signaling mailing list
> Anima-signaling@ietf.org
> https://www.ietf.org/mailman/listinfo/anima-signaling


-- 
---
Toerless Eckert, eckert@cisco.com