Re: [IPsec] [IKEv2] Questions on windowing in IKEv2
Raj Singh <rsjenwar@gmail.com> Wed, 22 July 2009 09:05 UTC
Return-Path: <rsjenwar@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 354A43A6DA9 for <ipsec@core3.amsl.com>; Wed, 22 Jul 2009 02:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 Qba93pAZbQk9 for <ipsec@core3.amsl.com>; Wed, 22 Jul 2009 02:05:28 -0700 (PDT)
Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by core3.amsl.com (Postfix) with ESMTP id 631223A6BED for <ipsec@ietf.org>; Wed, 22 Jul 2009 02:05:28 -0700 (PDT)
Received: by pzk34 with SMTP id 34so42579pzk.29 for <ipsec@ietf.org>; Wed, 22 Jul 2009 02:05:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=cAHvsUBRxNTm7MEmVDg6ub2Qqpz49IigqJBP1WGbQGo=; b=RsFAxSGCeyN0ELZBeGIOj+fEYXc1cNfrsizpItX5B4ka4WAT2VUq4a2UypISg1SCMp cWdUeiV5RY64x2l65p9ULKurmXTkzb3b5W/nmHc8t7IZTaX41L4F/SIN8Q882GU8Egc5 Um1wsmDNOABc8LAuO989ry6Mtur4rChkA+Q5I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z1zzeOGpbA5R4vMIPsRW56Y3LUtnQWiFOFPNeZxi6E6s+PobPnqxtN68jEHzRfIQnz XIxYUKZmLqv9qlUJrD0o7I0ZLPrpGBz8BQKrL8//elNKqEdEwAPU+X9EF2RqrzXeO8V/ NwLNvKJC2nVvzY17Ru9cROkWAUnMFqUESRIxM=
MIME-Version: 1.0
Received: by 10.142.170.20 with SMTP id s20mr154063wfe.137.1248253040987; Wed, 22 Jul 2009 01:57:20 -0700 (PDT)
In-Reply-To: <006FEB08D9C6444AB014105C9AEB133F608151F7EE@il-ex01.ad.checkpoint.com>
References: <7ccecf670907212252i56e27960g41304a0e871ed533@mail.gmail.com> <006FEB08D9C6444AB014105C9AEB133F608151F7EE@il-ex01.ad.checkpoint.com>
Date: Wed, 22 Jul 2009 14:27:20 +0530
Message-ID: <7ccecf670907220157sca2035bvb7be832f2dc165a7@mail.gmail.com>
From: Raj Singh <rsjenwar@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Content-Type: multipart/alternative; boundary="000e0cd16e8e190ddb046f478fd6"
Cc: "ipsec@ietf.org" <ipsec@ietf.org>
Subject: Re: [IPsec] [IKEv2] Questions on windowing in IKEv2
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2009 09:05:34 -0000
Hi Yoav, Do you think this behavior contradicts with definition of windowing mentioned in draft that if responder window is 3, initiator can have 3 outstanding request ? Regards, Raj On Wed, Jul 22, 2009 at 1:09 PM, Yoav Nir <ynir@checkpoint.com> wrote: > Hi Raj. > > > > Too many variables, let’s assume values without loss of generality. > > > > Suppose N=3, and you have send requests 17, 18 and 19. Because of the > network problems, you got responses for 18 and 19, but not **yet** for > 17. > > > > What the draft (and RFC 4306) says, is that you keep retransmitting 17, > until you get a response. Before that, you can’t begin transmitting #20. If > your retransmissions of #17 time out (after “at least a dozen > retransmissions over at least 2 minutes”) then you assume that the peer has > died, and silently discard the IKE SA. This will usually not happen in the > above scenario, because once the network is back, the responder will also > reply to #17. > > > > Hope this helps > > > ------------------------------ > > *From:* ipsec-bounces@ietf.org [mailto:ipsec-bounces@ietf.org] *On Behalf > Of *Raj Singh > *Sent:* Wednesday, July 22, 2009 8:52 AM > *To:* ipsec@ietf.org > *Subject:* [IPsec] [IKEv2] Questions on windowing in IKEv2 > > > > Hi Group, > > According to IKEv2bis-04, section 2.3 > > ----------------------------------------- > > An IKE endpoint MUST NOT exceed the peer's stated window size for > > transmitted IKE requests. In other words, if the responder stated > > its window size is N, then when the initiator needs to make a request > > X, it MUST wait until it has received responses to all requests up > > through request X-N. An IKE endpoint MUST keep a copy of (or be able > > to regenerate exactly) each request it has sent until it receives the > > corresponding response. An IKE endpoint MUST keep a copy of (or be > > able to regenerate exactly) the number of previous responses equal to > > its declared window size in case its response was lost and the > > initiator requests its retransmission by retransmitting the request. > > > ---------------------------- > > Now, suppose responder window size is N. > > Initiator send a request (X-N) but Initiator does get > > response for request no (X-N) say due to n/w flapping. > > So initiator schedules this request for re-transmissions > > but between the time intervals of re-transmission n/w comes UP > > and request no. (X-N+1) to (X) goes fine i.e. these request get response. > > Now, initiator wants to make another request i.e. request no. > > (X+1). But according to draft it can't make that request as it has > > not received the response for request no (X-N) even though there is > > only one outstanding request in transit. > > > Also draft says: > > --------------------------- > The SET_WINDOW_SIZE notification asserts that the sending endpoint is > > capable of keeping state for multiple outstanding exchanges, > > permitting the recipient to send multiple requests before getting a > > response to the first. > ------------------------ > > > That means windowing is for outstanding request. > > So in above mentioned scenario even though there is only 1 > > outstanding request and window size is N but we are not able to send > > next request because of windowing definition. > > > Maybe i am missing something here. > > Please elaborate the on the behavior in above scenario. > > > > Regards, > > Raj > > > > Scanned by Check Point Total Security Gateway. > > > Email secured by Check Point > >
- [IPsec] [IKEv2] Questions on windowing in IKEv2 Raj Singh
- Re: [IPsec] [IKEv2] Questions on windowing in IKE… Yoav Nir
- Re: [IPsec] [IKEv2] Questions on windowing in IKE… Yoav Nir
- Re: [IPsec] [IKEv2] Questions on windowing in IKE… Raj Singh
- Re: [IPsec] [IKEv2] Questions on windowing in IKE… Amjad Inamdar (amjads)
- Re: [IPsec] [IKEv2] Questions on windowing in IKE… Yoav Nir