Re: [sipcore] Proposed rewrite of parts of rfc4424bis
Mary Barnes <mary.ietf.barnes@gmail.com> Thu, 03 March 2011 20:44 UTC
Return-Path: <mary.ietf.barnes@gmail.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 124AF3A6973 for <sipcore@core3.amsl.com>; Thu, 3 Mar 2011 12:44:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.44
X-Spam-Level:
X-Spam-Status: No, score=-103.44 tagged_above=-999 required=5 tests=[AWL=0.158, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 6WJebPvl+uDh for <sipcore@core3.amsl.com>; Thu, 3 Mar 2011 12:44:56 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 99CC73A688F for <sipcore@ietf.org>; Thu, 3 Mar 2011 12:44:56 -0800 (PST)
Received: by vws6 with SMTP id 6so1552381vws.31 for <sipcore@ietf.org>; Thu, 03 Mar 2011 12:46:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Gabf9fXU3U+CsV2WkTLdZAbiBoV3eK11Sp45/plMyjE=; b=W4QkTfizO9KHAcACQjxQMz9gFQtjCXoSXKWFTCvge6bnArfVILiBVm2RI+LmQO5p2c i5mbQbVkHP4t23IbtzKQYTjGveRrrH97D1OHo9+3hzPN3h1hkqwbZCxiRwxXax1VXLP6 CH0swfCrT4waVRjFauapdCvpUExW2/x2lN24Y=
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=UknZlS3a0LMVoEsMEbfiFdDp/RPgk9ExKwTMV8uGBShm31eONoZPv2FkL+qqfo9eiH dekgsk0vhJnfyo1oibuhpi85WM06tRJe5oD9NA10Qh3FcqihArZKnSjU7gsJZseSS3d7 4kJNTqFE3n7la75oU0N4WbyY/hPO5UDxM6PWo=
MIME-Version: 1.0
Received: by 10.52.68.65 with SMTP id u1mr2500863vdt.176.1299185162959; Thu, 03 Mar 2011 12:46:02 -0800 (PST)
Received: by 10.52.162.202 with HTTP; Thu, 3 Mar 2011 12:46:02 -0800 (PST)
In-Reply-To: <A444A0F8084434499206E78C106220CA06C2B402F1@MCHP058A.global-ad.net>
References: <A444A0F8084434499206E78C106220CA06C2B402F1@MCHP058A.global-ad.net>
Date: Thu, 03 Mar 2011 14:46:02 -0600
Message-ID: <AANLkTinxHC=KDJgyqMysrh_Jxp6LkKSY6T5t7OYPpd82@mail.gmail.com>
From: Mary Barnes <mary.ietf.barnes@gmail.com>
To: "Elwell, John" <john.elwell@siemens-enterprise.com>
Content-Type: multipart/alternative; boundary="20cf307cff8e22be1e049d9a1ebd"
Cc: "Barnes, Mary" <Mary.Barnes@polycom.com>, SIPCORE <sipcore@ietf.org>
Subject: Re: [sipcore] Proposed rewrite of parts of rfc4424bis
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: Thu, 03 Mar 2011 20:44:59 -0000
Hi folks, I've seen no responses to John's suggestion. If folks could please read and provide feedback as to whether they support this change, we should be able to get final updates done for 4244bis and get it ready for another WGLC. Thanks, Mary. On Wed, Feb 23, 2011 at 2:30 PM, Elwell, John < john.elwell@siemens-enterprise.com> wrote: > Based on responses from Mary to my recent questions, I am convinced that > procedures could be documented in a much simpler way. Basically I think we > can have common procedures for the different entities (UAC, UAS, Proxy, > Redirect) - how you behave on receipt of a request, forwarding a request, > receipt of a response or forwarding a response is pretty much independent of > the type of entity. In recent emails I developed a model of what I believe > we want to happen. I have tried to capture this model in text in a new > section X, which should occur between sections 8 and 9. Sections 6, 7 and 8 > essentially just reference section X. I would like WG opinion as to whether > this is easier to understand, as well as opinions as to whether it > accurately reflects the intent of the current I-D. > > <text> > 6. User Agent Handling of the History-Info Header Field > A B2BUA MAY adopt the behavior of a proxy (section 7) as an alternative to > adopting the behaviour of a UAS (section 6.2) and the behaviour of a UAC > (section 6.1). In behaving as a proxy, a B2BUA will carry forward hi-entries > received in requests at the UAS to requests forwarded by the UAC and will > carry forward hi-entries received in responses at the UAC to responses > forwarded by the UAS, subject to privacy considerations. > > 6.1 User Agent Client (UAC) Behavior > When issuing a request, a UAC MUST behave in accordance with X.2 for > sending a request. Note that the cache of previous requests will be empty > and the index of the hi-entry added to the sent request will be 1, except > where the UAC issues a retargeted request as a result of a received > response. When receiving a response, a UAC MUST behave in accordance with > X.3. In addition, if a UAC would like to receive the History-Info header > field in responses, it MUST include in the sent request a Supported header > field containing option tag histinfo. > > 6.2 User Agent Server (UAS) Behaviour. > When receiving a request, a UAS MUST behave in accordance with X.1. When > sending a response other than a 3xx response, a UAS MUST behave in > accordance with X.4. When sending a 3xx response, the UAS MUST behave as a > redirect server in accordance with section 8. An application at the UAS can > make use of the cached hi-entries, taking into account the considerations of > section 10. > > 7. Proxy /Intermediary Handling of the History-Info Header Field > The following behaviour is applicable to a proxy or a B2BUA that behaves as > a proxy (see section 6). > A proxy / intermediary MUST behave: > - in accordance with X.1 when receiving a request; > - in accordance with X.2 when sending (forwarding) a request; > - in accordance with X.3 when receiving a response; > - in accordance with X.4 when sending a response. > Sometimes the internal design of a proxy or B2BUA will result in a request > being retargeted twice before the request is forwarded, i.e., it is "sent" > to an internal target, which is resolved by that same entity internally by > retargeting to an external target. A proxy or B2BUA in this case MAY behave > as if the request had actually been sent to the internal target before > sending to the external target, thereby generating an hi-entry for that > internal target, in addition to the hi-entry for the external target. Both > hi-entries would then be seen "on the wire" in the resulting request sent > downstream and any response sent upstream, subject to privacy > considerations. > > 8. Redirect Server Handling of the History-Info Header Field > When receiving a request, a Redirect Server MUST behave in accordance with > X.1. When sending a response, a Redirect Server MUST behave in accordance > with X.4 and MUST add an "rc" or "mp" header field parameter to the Contact > header field if either of these parameters is applicable according to 9.4. > > X. Common Handling of the History-Info Header Field > X.1 Receiving a Request > When receiving a request, an entity MUST create a cache of hi-entries > associated with that request and include in that cache any hi-entries in the > received request. > > If the Request-URI of the received request does not match the URI in the > last hi-entry in the cache, the entity MUST add to the end of the cache an > hi-entry containing that URI as the hi-targeted-to-uri. For the added > hi-entry, the entity MUST behave in accordance with 9.1 if privacy is > required, MUST populate the hi-index in accordance with 9.3, and MUST NOT > include an "rc" or "mp" header field parameter. > > X.2 Sending a Request > When sending a request, and entity MUST include all cached hi-entries in > the request. In addition, the entity MUST include in the request an > additional hi-entry containing the Request-URI as the hi-targeted-to-uri but > MUST NOT cache this hi-entry. For the new hi-entry, the entity MUST behave > in accordance with 9.1 if privacy is required, MUST populate the hi-index in > accordance with 9.3, and, if applicable, MUST include in the new hi-entry an > "rc" or "mp" parameter in accordance with 9.4. If the sent request is a > direct result of retargeting to a contact URI received in a 3xx response and > the Contact header field in that response contained an "rc" or "mp" header > field parameter, the entity MUST include the corresponding parameter in the > new hi-entry in accordance with 9.4. > > X.3 Receiving a response > When receiving a response other than 100, an entity MUST add to the cache > the new hi-entry that was added to the sent request that led to that > response (if not already in the cache) and include in that cached hi-entry > (whether or not it was already cached) a Reason header field in accordance > with 9.2 denoting the SIP response code in the response. The entity MUST > also add to the cache any hi-entries in the response that are not already in > the cache (i.e., any hi-entries added by downstream entities). When adding > hi-entries to the cache, the entity MUST maintain hi-entries in ascending > order of index (e.g., 1.2.1 comes after 1.2 but before 1.3). Note that the > cache will not contain hi-entries for requests that have not attracted a > non-100 response, so there can be gaps in the indices (e.g., 1.2 and 1.4 > could be present but 1.3 absent). > > X.4 Procedures for sending a response > When sending a response other than 100, an entity MUST include in the > response all cached hi-entries, with the exception that when the received > request contained no hi-entries and no histinfo option tag in the Supported > header field, the entity MUST NOT include any hi-entries in the response. > </text> > > I think I have covered most of what was in sections 6, 7 and 8, but I have > left out some explanatory material giving reasons (the simplified > procedures, in my opinion, don't require so much explanation, or if really > needed it can be done in section 5). > > The original word count of 1719 is reduced to 956, a significant reduction > arising mainly from avoidance of any duplication and also the loss of some > explanation. However, in my opinion behaviour is specified in a more logical > way, and in a way that makes it a lot more likely that people will implement > this. The question is whether the WG feels this is a worthwhile change at > this late stage. > > I have not checked section 9 in detail to see whether any slight changes > are required to align with this new text. > > John > _______________________________________________ > sipcore mailing list > sipcore@ietf.org > https://www.ietf.org/mailman/listinfo/sipcore >
- [sipcore] Proposed rewrite of parts of rfc4424bis Elwell, John
- Re: [sipcore] Proposed rewrite of parts of rfc442… Mary Barnes
- Re: [sipcore] Proposed rewrite of parts of rfc442… Shida Schubert