Re: [lisp] draft-ermagan-lisp-nat-traversal question

Albert López <alopez@ac.upc.edu> Thu, 09 November 2017 08:03 UTC

Return-Path: <alopez@ac.upc.edu>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 938BE12EC8B for <lisp@ietfa.amsl.com>; Thu, 9 Nov 2017 00:03:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 PcYGdlONZgb4 for <lisp@ietfa.amsl.com>; Thu, 9 Nov 2017 00:03:39 -0800 (PST)
Received: from roura.ac.upc.es (roura.ac.upc.edu [147.83.33.10]) by ietfa.amsl.com (Postfix) with ESMTP id 893FD12EC2D for <lisp@ietf.org>; Thu, 9 Nov 2017 00:03:38 -0800 (PST)
Received: from correu-2.ac.upc.es (correu-2.ac.upc.es [147.83.30.92]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id vA983XTO028382; Thu, 9 Nov 2017 09:03:33 +0100
Received: from [147.83.35.39] (sirius.ac.upc.es [147.83.35.39]) by correu-2.ac.upc.es (Postfix) with ESMTPSA id 66954F96; Thu, 9 Nov 2017 09:03:28 +0100 (CET)
To: "Vina Ermagan (vermagan)" <vermagan@cisco.com>, Dino Farinacci <farinacci@gmail.com>
Cc: "lisp@ietf.org" <lisp@ietf.org>
References: <f574957a-e4fd-6984-99ef-185cd2c1bc15@ac.upc.edu> <B5138540-69F2-482B-AAC5-544BB2BD69D8@gmail.com> <2b946dce-7c33-5317-8f3b-9ffd2568381e@ac.upc.edu> <D628A765.D9526%vermagan@cisco.com>
From: Albert López <alopez@ac.upc.edu>
Message-ID: <5e54af9e-c7cb-6a27-5ad8-922e687ab401@ac.upc.edu>
Date: Thu, 09 Nov 2017 09:06:35 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <D628A765.D9526%vermagan@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/hB9bj4xI19oIDL6njjzCOuEu8_M>
Subject: Re: [lisp] draft-ermagan-lisp-nat-traversal question
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Nov 2017 08:03:42 -0000

Hi Vina,

It make sense for me.

Thank you very much.

Albert



El 08/11/17 a les 21:33, Vina Ermagan (vermagan) ha escrit:
> Hi Albert,
>
> ³Map Register TTL² in the referenced paragraph is indeed the TTL for which
> a Map Register stays valid in a Map Server. Suggested time in the RFC for
> periodic Map Registers is 1 minute. And MS will expire the registration
> after 3 minutes if it does not receive a renewal. So this TTL in RTR
> should be set no larger than 3 minutes, and no smaller than 1 minute.
> Unfortunately NAPT devices don¹t have a standard TTL for expiring their
> address associations; some use 2 minutes as the threshold. So the 3 minute
> recommendation for expiring a Map Register seems suitable here.
>
> Hope this clarifies it.
>
> Best,
> Vina
>
>
> On 11/6/17, 1:01 AM, "lisp on behalf of Albert López"
> <lisp-bounces@ietf.org on behalf of alopez@ac.upc.edu> wrote:
>
>> In that case, I think that It would be better if the validation time /
>> expiration time of the locator associated with the ECM-ed Map Register &
>> ECM-ed Map Notify is related with the periodic time of sending ECM-ed
>> Map Registers.
>> Usually a hole in the nat box is less than two minutes so we send
>> periodic ECM Mag register to maintain this hole opened apart from
>> maintaining the status in the Map Server. If we use the TTL of the
>> record to maintain an entry in the Map Cacahe of the RTR, it is possible
>> we maintain an entry which is no longer valid or send packets to an
>> invalid rloc.  What do you think?
>>
>> Regards
>>
>> Albert
>>
>> El 03/11/17 a les 18:38, Dino Farinacci ha escrit:
>>> The TTL in the Map-Register is the TTL returned in Map-Replies. So it
>>> is the expiry time for a map-cache entry. Note it is the ³Record TTL² in
>>> the EID-record which both appear in Map-Register and Map-Reply messages.
>>>
>>> Dino
>>>
>>>> On Nov 3, 2017, at 1:35 AM, Albert López <alopez@ac.upc.edu> wrote:
>>>>
>>>> Dear all,
>>>>
>>>> In section 5.3 of the draft  draft-ermagan-lisp-nat-traversal which
>>>> describe the RTR processing, it says that when the RTR receive and
>>>> ECM-ed Map Notify, once it is validated, it changes the state of the
>>>> associated map-cache entry to verified for the duration of the Map
>>>> Register TTL.  What does it mean by Map Register TTL?  it means the TTL
>>>> of the record of the Map Register or it is the same concept of the Map
>>>> Register TTL of the Map Server which is 3 minutes? If I understand
>>>> correctly, if we don't receive more Encap Map Register / Map Notify to
>>>> renew this verified period, the map-cache entry of the RTR expires, at
>>>> least the locator of the map-cache entry associated with the Encap Map
>>>> register.
>>>>
>>>>     "Once the authenticity of the message is verified,
>>>>     RTR can confirm that the Map-Register message for the ETR with the
>>>>     matching xTR-ID was accepted by the Map-Server.  At this point the
>>>>     RTR can change the state of the associated map-cache entry to
>>>>     verified for the duration of the Map-Register TTL"
>>>>
>>>> Thank you in advance.
>>>>
>>>> Albert López
>>>>
>>>>
>>>> _______________________________________________
>>>> lisp mailing list
>>>> lisp@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/lisp
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp