Re: [BEHAVE] General Comments on xlate-stateful-07

Reinaldo Penno <rpenno@juniper.net> Tue, 19 January 2010 09:41 UTC

Return-Path: <rpenno@juniper.net>
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 78CE23A6A56 for <behave@core3.amsl.com>; Tue, 19 Jan 2010 01:41:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.766
X-Spam-Level:
X-Spam-Status: No, score=-6.766 tagged_above=-999 required=5 tests=[AWL=-0.167, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 zHGcScPx5HoP for <behave@core3.amsl.com>; Tue, 19 Jan 2010 01:41:02 -0800 (PST)
Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by core3.amsl.com (Postfix) with ESMTP id A23C03A69F7 for <behave@ietf.org>; Tue, 19 Jan 2010 01:40:38 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKS1V+Es3KF7aC94pgmidTtfdQBC+68z8B@postini.com; Tue, 19 Jan 2010 01:40:59 PST
Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB02-HQ.jnpr.net (172.24.192.36) with Microsoft SMTP Server (TLS) id 8.1.393.1; Tue, 19 Jan 2010 01:37:00 -0800
Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Tue, 19 Jan 2010 04:36:59 -0500
From: Reinaldo Penno <rpenno@juniper.net>
To: Lars Eggert <lars.eggert@nokia.com>
Date: Tue, 19 Jan 2010 04:36:55 -0500
Thread-Topic: [BEHAVE] General Comments on xlate-stateful-07
Thread-Index: AcqYKa7fTOsjLCZERbuwH2tEbeVhbgAwUEmH
Message-ID: <C77ABD37.FABC%rpenno@juniper.net>
In-Reply-To: <EE8E478E-2887-4AED-94EF-C578791F51E6@nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-Entourage/13.0.0.090609
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: BEHAVE WG <behave@ietf.org>, Dan Wing <dwing@cisco.com>, Dave Thaler <dthaler@microsoft.com>, "IETF@core3.amsl.com" <IETF@core3.amsl.com>
Subject: Re: [BEHAVE] General Comments on xlate-stateful-07
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: Tue, 19 Jan 2010 09:41:03 -0000

That is fine. It seems we agree with the first part of the the
interpretation, so let's take a step further.

Let's suppose you configure the idle timeout to be 30 minutes, send N
keep-alive TCP packets, receive no response, and proceed to delete the NAT
mapping. Is this behavior compliant of REQ-5? And how about NAT64?

Thanks,

Reinaldo


On 1/18/10 2:32 AM, "Lars Eggert" <lars.eggert@nokia.com> wrote:

> Hi,
> 
> On 2010-1-18, at 1:11, Reinaldo Penno wrote:
>> What I mean is that the sentence starts of with "In such cases...".  These
>> 'cases' are those when the NAT cannot determine whether the endpoints of a
>> TCP connection are active, as written.
> 
> right. I believe the thinking was that if you can detect whether the session
> is alive, you wouldn't time it out if it was, and you would of course time it
> out if it wasn't.
> 
> If you cannot determine this, then the default applies (and can't be shorter
> than 2 hours.)
> 
> Lars
> 
>> Therefore this first paragraph only applies to this condition. If you can
>> actually determine if the NAT endpoints are alive, you do not need to follow
>> this paragraph. 
>> 
>> My opinion is that we should just follow REQ-5 as stated. This is would take
>> care of Bryan's proposal as well.
>> 
>> 
>> 
>> 
>> On 1/17/10 4:07 AM, "marcelo bagnulo braun" <marcelo@it.uc3m.es> wrote:
>> 
>>> Reinaldo Penno escribió:
>>>> It clearly says in a)  that the idle timeout MAY be configurable. How
>>>> will my proposed text break 5382?
>>>> 
>>> 
>>> THere are two conditions:
>>> MUST be more than 2 hours and 4 min
>>> MAY be configurable.
>>> 
>>> So, my reading of the conditions is an AND of the two conditions, not an
>>> OR.
>>> Maybe someone else should comment whether they think it is an AND or an
>>> OR....?
>>> 
>>> If it is an AND, then you can configire the timer, but needs to be
>>> higher than 2 hours and 4 min, in any case, as it is currently stated in
>>> the draft
>>> 
>>> It is is an OR, it is as you say, but at this point i don't interpret
>>> the text as a OR
>>>> It also says that only in case the NAT cannot determine if endpoints
>>>> are alive.
>>>> 
>>>> 
>>> 
>>> right, we are having a disucssion whether the nat64 should send
>>> keepalives to do this, do you think it should or not?
>>> 
>>> 
>>> 
>>>> Why we just then just copy REQ5 verbatim?
>>>> 
>>>> 
>>> on the light of this discussion, it seems that the current wording is
>>> unclear, since you and me have different readings of it
>>> 
>>> Regards, marcelo
>>> 
>>> 
>>>> On Jan 16, 2010, at 14:34, "marcelo bagnulo braun"
>>>> <marcelo@it.uc3m.es> wrote:
>>>> 
>>>> 
>>>>> Reinaldo Penno escribió:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> Comment inline...
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>>> Moreover, the ability to
>>>>>>>> configure the idle-timeout is also missing.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> right,
>>>>>>> 
>>>>>>> i have added the follwoing text in all the occureences of the the
>>>>>>> setting of the TCP session entry lifetite
>>>>>>> 
>>>>>>>                   The lifetime of the TCP session table entry is
>>>>>>> set
>>>>>>> to at least to the maximum session lifetime. The value for the
>>>>>>> maximum
>>>>>>>                   session lifetime MAY be configurable but it
>>>>>>> MUST not
>>>>>>> be less than TCP_EST (the
>>>>>>>                   established connection idle timeout as defined in
>>>>>>> <xref target="RFC5382"></xref>). The default value for the maximum
>>>>>>> session lifetime
>>>>>>>                   SHOULD be set to TCP_EST.
>>>>>>> 
>>>>>>> 
>>>>>> The whole purpose to have it configurable was to be able to
>>>>>> configure it to
>>>>>> be _less_ than TCP_EST.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> no, that would break REQ5 of RFC5382 that reads:
>>>>> 
>>>>>  REQ-5:  If a NAT cannot determine whether the endpoints of a TCP
>>>>>     connection are active, it MAY abandon the session if it has been
>>>>>     idle for some time.  In such cases, the value of the "established
>>>>>     connection idle-timeout" MUST NOT be less than 2 hours 4 minutes.
>>>>>     The value of the "transitory connection idle-timeout" MUST NOT be
>>>>>     less than 4 minutes.
>>>>>     a) The value of the NAT idle-timeouts MAY be configurable.
>>>>> 
>>>>> 
>>>>> 
>>>>>> The text above does not allow it to be set to less than TCP_EST. I
>>>>>> suggest
>>>>>> 
>>>>>> "The lifetime of the TCP session table entry is set
>>>>>> to at least to the maximum session lifetime. The value for the
>>>>>> maximum
>>>>>> session lifetime MAY be configurable  The default value for the
>>>>>> maximum
>>>>>> session lifetime SHOULD be set to TCP_EST."
>>>>>> 
>>>>>> Tuning TCP idle timeout is widely supported and used.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> right, but the minimum value MOST NOT be less than 2 hours and 4 min
>>>>> 
>>>>>>>> REQ-5: In the NAT64 spec the considerations on NAT throughput
>>>>>>>> performance
>>>>>>>> due to holding session state for TCP RST and TIME_WAIT
>>>>>>>> assassinations due to
>>>>>>>> holding session state are not discussed.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> REQ5 leaves these aspects open and so the nat64 specification. Do
>>>>>>> you
>>>>>>> have any particualr text that you would like to cinlcude in the
>>>>>>> nat64
>>>>>>> spec w.r.t. this?
>>>>>>> 
>>>>>>> 
>>>>>> The exact same text (or a reference to it) found in RFC5382.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> could you point out what exact same text you are referring to?
>>>>> 
>>>>> Regards, marcelo
>>>>> 
>>>>> 
>>>>>> Regards,
>>>>>> 
>>>>>> Reinaldo
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>> 
>> 
>> _______________________________________________
>> Behave mailing list
>> Behave@ietf.org
>> https://www.ietf.org/mailman/listinfo/behave
>