Re: [Anima-signaling] Almost final GRASP -08 draft

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 26 October 2016 22:35 UTC

Return-Path: <brian.e.carpenter@gmail.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 3615A129543 for <anima-signaling@ietfa.amsl.com>; Wed, 26 Oct 2016 15:35:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Qvr5YqjHSe6v for <anima-signaling@ietfa.amsl.com>; Wed, 26 Oct 2016 15:35:57 -0700 (PDT)
Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D10A61294AB for <anima-signaling@ietf.org>; Wed, 26 Oct 2016 15:35:57 -0700 (PDT)
Received: by mail-pf0-x233.google.com with SMTP id n85so4193593pfi.1 for <anima-signaling@ietf.org>; Wed, 26 Oct 2016 15:35:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=hTO0kb0nyXzRmBPtTU47wQqU9Bg6DNytG1RSERYc+OM=; b=dE9AaRyOxxPnLCfiVWUyUL6kyktnKR6PfC7YLI/tvhiQudzFtt4jTpjO4cIKTJAGgx wRlFxf0WxbXenExr+YMlpNvly1qA0Eu7zYaX59o/MoDXwsW6k8fEZ9NgrtIsQtMIg3e9 0rCApWOSLz5QFX/EuCSKtNCxEACCVxpAm6m34XQ7TvBcpwjO/yBh3VORnzndnEp8kH1d UpzqXGqFikkGK2aveSVuW2SBJ6cjVLieFizYCKIwk1VznVlGZDZDAwFbAiY9blqDPt7W 2s23OexScB+XiFO33K+3utbVzj+TzOR5C/Xsh6d60UqnNl0l0S9wxOq7U0wkNv5HRCiM ehXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=hTO0kb0nyXzRmBPtTU47wQqU9Bg6DNytG1RSERYc+OM=; b=hNhZ1jy4H2BkrNk/pFIteYkNWAMy1W1ELc1+RGq3o8MPYPWtlXz1zHI4IpsKEnkrh0 dt5rZ8QSnP6gkEw9pJ2/V03l3RZvUt44GUwwuSzqmj9nKQUInvlNmHolIjZX5jnhVqBi J9ENPJv+bFKfq3MoZqnCGNZCxCCo3w5rAsVlhoQu94sXnIoJmSHn73T7/2mUzQ307zdW ZgSm2y+OF//DakflqratpjRPjc/Nf7UMkDZGhK3Phx1kzimLVWlhgNibu9xYgEIvNHiz 1daSnaRLt9WyX5ZRSPNCZIisB+bKg1M76UC5Q2TJoCOpUcvFdoi8PDYDsPujb1xlcTKO HXGg==
X-Gm-Message-State: ABUngvdRS3R7peLHradsUcf5uoicbraIVLTr3A3ZIiY4cGLw7ZLjHMf8JkZ2qG8DI8vn4w==
X-Received: by 10.98.76.194 with SMTP id e63mr8240746pfj.95.1477521357273; Wed, 26 Oct 2016 15:35:57 -0700 (PDT)
Received: from ?IPv6:2406:e007:44d7:1:28cc:dc4c:9703:6781? ([2406:e007:44d7:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id o184sm6405154pfg.73.2016.10.26.15.35.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 15:35:56 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <71705ef7-b071-101c-599a-bfd1a7e553ee@gmail.com> <23722.1477516803@obiwan.sandelman.ca>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <fff801c4-fe37-e2d2-f49d-ca8ef34e1b92@gmail.com>
Date: Thu, 27 Oct 2016 11:35:59 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <23722.1477516803@obiwan.sandelman.ca>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/lNNPANWUwsM9AIvhiYf2pPm8UoY>
Cc: Anima signaling DT <anima-signaling@ietf.org>
Subject: Re: [Anima-signaling] Almost final GRASP -08 draft
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, 26 Oct 2016 22:35:59 -0000

On 27/10/2016 10:20, Michael Richardson wrote:
> 
> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>     > I think I got everything. For now I have resolved MCR's point about a Session ID
>     > clash by saying that if it happens, we simply drop the incoming request message
>     > if its Session ID is already cached locally. For what should be an
>     > incredibly rare
> 
> Is it always the case that all negotiations are cached forever?

No, the race condition only applies to *active* sessions. Once there's
an M_END or a timeout, the session becomes inactive. (Implementation detail:
I decided to just mark sessions as inactive in the session cache, and only actually
delete them when I need to garbage collect. So recent but inactive Session ID clashes
can also be detected, if it matters.)

   Brian

> 
>     > I'm going to set a timer: if no objections by the end of Friday (in some reasonable
>     > time zone) I'll post the the draft.
> 
> I will read the document tomorrow morning.
> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
> 
> 
>