Re: [sipcore] AD review: draft-ietf-sipcore-event-rate-control-03

<krisztian.kiss@nokia.com> Tue, 13 July 2010 00:13 UTC

Return-Path: <krisztian.kiss@nokia.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DBC503A6953 for <sipcore@core3.amsl.com>; Mon, 12 Jul 2010 17:13:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 ECfUqdrsHUsE for <sipcore@core3.amsl.com>; Mon, 12 Jul 2010 17:13:57 -0700 (PDT)
Received: from mgw-mx09.nokia.com (smtp.nokia.com [192.100.105.134]) by core3.amsl.com (Postfix) with ESMTP id 6A9D23A68B0 for <sipcore@ietf.org>; Mon, 12 Jul 2010 17:13:57 -0700 (PDT)
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o6D0DYpD019768; Mon, 12 Jul 2010 19:14:04 -0500
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 13 Jul 2010 03:13:59 +0300
Received: from smtp.mgd.nokia.com ([65.54.30.5]) by vaebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 13 Jul 2010 03:13:55 +0300
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-01.mgdnok.nokia.com ([65.54.30.5]) with mapi; Tue, 13 Jul 2010 02:13:55 +0200
From: krisztian.kiss@nokia.com
To: rjsparks@nostrum.com
Date: Tue, 13 Jul 2010 02:13:41 +0200
Thread-Topic: [sipcore] AD review: draft-ietf-sipcore-event-rate-control-03
Thread-Index: AcsI2ZDV1t/KeLdKSTWmuE3R6MtFGgF1JhiA
Message-ID: <A80667440D58A1469E651BA443BED3C1547F4EDE9D@NOK-EUMSG-01.mgdnok.nokia.com>
References: <99619466-573D-4CEA-ACCD-3A3D262EB2B0@nostrum.com>
In-Reply-To: <99619466-573D-4CEA-ACCD-3A3D262EB2B0@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 13 Jul 2010 00:13:55.0134 (UTC) FILETIME=[47EF15E0:01CB2220]
X-Nokia-AV: Clean
Cc: sipcore@ietf.org
Subject: Re: [sipcore] AD review: draft-ietf-sipcore-event-rate-control-03
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2010 00:13:59 -0000

Hi Robert,

I submitted the -04 version today addressing your comments: http://www.ietf.org/id/draft-ietf-sipcore-event-rate-control-04.txt 

Please find my answers in-line with [KK]:

-----Original Message-----
From: sipcore-bounces@ietf.org [mailto:sipcore-bounces@ietf.org] On Behalf Of ext Robert Sparks
Sent: 2010. június 10. 13:14
To: SIPCORE
Subject: [sipcore] AD review: draft-ietf-sipcore-event-rate-control-03

Summary: This draft has a few adjustments that are needed before moving it into IETF Last Call.

Major question:

Why isn't this an Update to 3265? 

[KK] It's an extension to 3265. Implementations of 3265 not interested in rate control don't need to implement it. If people think it's an essential part of event-notifications, we could make it as an update of 3265. Any recommendations?

Is there text here that prevents a subscriber
from generating Event headers in 200 OKs to NOTIFYs mid-subscription (when he
didn't probe for support using the SUBSCRIBE?) How would they know the request
got honored?  The possibility of running into implementations that break should
be called out.  

[KK] I added text in -04 to address this: 
Section 4.1: "If the Event header field of the SUBSCRIBE request did not include the "min-interval" parameter, the subscriber MUST NOT include an initial value of the "min-interval" Event header field parameter in a 200-class response to the NOTIFY request." 
Section 4.2: "If the Event header field of the SUBSCRIBE request did not include the "min-interval" parameter, the notifier MUST ignore an initial value of the "min-interval" Event header field parameter in a 200-class response to the NOTIFY request, if present."
...and similar text covering max-interval and average-interval mechanisms.

4.2 indicates the subscriber only gets a "hint" about support
for rate-control in the notifier - is the condition it describes really only a
hint?

[KK] Replaced "serves as a hint" with "indicates".

In several places, the notifier is given permission to adjust an interval based
on local policy.  The document should be explicit about allowing the adjustment
in any direction (increasing or decreasing) since there are so many other uses
of intervals in SIP and SIP Events that allow adjustment only in one direction.
A few places I noted when reading the document were the Note in REQ7, 4.3 4th
paragraph, 5.2 paragraph 3, 6.2 paragraph 3.

[KK] I spelled out the possibility of increasing and decreasing at all of these sections you referenced.

The last paragraph of section 3.6 claims "exactly the same properties" except
for being generated constrained to a schedule. Can you clarify which properties
you mean? Many properties of the notifications beside their timing are clearly
different (for instance, you may miss state transitions).

[KK] I just deleted that sentence, there was no real added value in it.

The security considerations section deserves more text: 
* What is the forward reference from section 3.4 supposed to be pointing to?

[KK] Deleted.

* Call out the implications on a Notifier having to store/aggregate partial state

[KK] I added a reference to the security considerations listed in RFC 5263 (partial notifications).

* Note that the Event header (particularly in 200 OKs) is not integrity protected. 
  This would allow anything that could modify the message in flight (or an 
  eavesdropper that could race a 200 OK in) to suppress (or flood) notifications 
  without the subscriber seeing what caused it.

[KK] I added a new paragraph on this:
"RFC 3265 [RFC3265] recommends the integrity protection of the Event header field of SUBSCRIBE requests. Implementations of this extension SHOULD also provide integrity protection for the Event header field included in the 200-class response to the NOTIFY request."
	
The assertion that applying rate limiting and compression together results in
savings as good as the sum of applying them independently should be supported
or adjusted. I think it's sufficient to say they can be applied together.

[KK] OK, so no changes needed, right?

Below are several suggestions for text tweaks. The first few (staring with *)
are the most important. 

* Section 3.2 paragraph 4: suggest replacing "does not typically" with "may not"

[KK] Fixed.

* Section 3.2 last paragraph: The sentence 'The "max-interval" parameter 
      indicates ... complete state information' is difficult to parse. Could it
      be simplified?

[KK] Done.

* Section 4.3 first paragraph, last sentence: "For such cases" is ambiguous.
  Suggest "If the min-interval value is greater than the subscription expiry".

[KK]. Done. Re-wrote as: "If the subscription expiry is shortened during an active subscription,..."

* Section 6.2 last paragraph: This currently says the timeout mechanism does
  not affect when 3261 transaction retransmissions are generated. It should
  also explicitly note that retransmissions do not affect the calculation of
  the next timeout.

[KK]. Fixed by extending the definition of "count":  
"count: The number of notifications that have been sent during the last "period" of seconds ***not including any retransmissions of	requests***." New text is between *** marks.

Introduction, paragraph 2: suggest replacing "congestion" with "load"

[KK] Fixed.

Section 3.1  paragraph 3: suggest replacing "amount of traffic" with 
"number of notifications"

[KK] Fixed.

Section 3.5 paragraph 1: Suggest a reference for RLS after "list subscription".

[KK] Fixed.

The sentence "Moreover, the list event notifier..." should be more explicit
about using the rate mechanism for any back-end subscriptions it might have.

[KK] Fixed.

Suggest referencing 3261 in the last paragraph of 4.2

[KK] Fixed. Same applies to section 6.2.

Section 4.3, 3rd paragraph last sentence. The only way the subscriber _can_
resume notifications is to renew the subscription with a resubscribe request.
Would this text work? "This results in receiving no further notifications until
the subscription expires or the subscriber sends a SUBSCRIBE request refreshing
the subscription (perhaps resuming notifications)".

[KK] Fixed as "or the subscriber sends a SUBSCRIBE request resuming notifications."

The text needs to be adjusted to reflect subnot-etags being issued as an RFC

[KK] Fixed throughout the document.

Adam suggested some RFC-Editor notes in the proto writeup (which may address
some of the above comments). Please be sure to incorporate those when revising
the draft.

[KK] Done. Fixed the text for subnot-etags references throughout the document.

One last question:

If the combination of min-interval, max-interval, and average-interval make
little sense, why does the document allow them to be combined? I think what the
group was trying to say is that we currently don't forsee a use for combining
those options, but do not wish to forbid their combination.

[KK] Fixed as "this combination makes little sense to be used although not forbidden". Recommendations added on choosing the right values similarly to previous options for combinations.


Thanks,
Krisztian

_______________________________________________
sipcore mailing list
sipcore@ietf.org
https://www.ietf.org/mailman/listinfo/sipcore