
From nobody Wed Mar 23 09:31:23 2016
Return-Path: <brett@broadsoft.com>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FB1C12D6D3 for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 09:31:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=broadsoft-com.20150623.gappssmtp.com
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 BiNE17EDYMun for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 09:31:18 -0700 (PDT)
Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07DCE12D51E for <insipid@ietf.org>; Wed, 23 Mar 2016 09:31:18 -0700 (PDT)
Received: by mail-io0-x22b.google.com with SMTP id c63so51386389iof.0 for <insipid@ietf.org>; Wed, 23 Mar 2016 09:31:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadsoft-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:thread-index:date:message-id:subject:to; bh=j5imxJwgfCifD7SxVf85uYujf7wNsOsJ9757jyaPDQM=; b=eMFXmKO9pNhAZnpmzjySW7H17JNlUyxNql3eiuOomOfPvW2dcz+F85FMXNMwbs+Vlm Hr1tM/0svflazL1+RM9gvT2iKPkgev/ChFv2Pg7jTNHFcBD6AzUZ16kQ4AuPZlsMbyXo guVZl5rm2shsBI4awQoE9i7j1eaZhZ9gcZ8cGcM6iYsfkpgFo9yN8Zwq6mdLpXVrFUah oMO30Fqx/wG3uCI4MXAJTd1M8jEOVGwHr+JgUa/rp8n+Pfzs9a9/Tmap/AkKQVJEgq9X DCtvRUYr+lRW0KWQ0TXinXbMnN6d9AgFsNZ8UbdtNtGCvaV30Wf7y37eH/OFqpmfLkO8 PT7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to; bh=j5imxJwgfCifD7SxVf85uYujf7wNsOsJ9757jyaPDQM=; b=YFiIsYIFv5c6vz/JDLVcxSDHr6LytSOEVIdlOjXzfNVtSf0IDVJQtX06qBQlLdDokk /ZfRKbu+08yhJmP71eoBynGfYJu/hqKyVdhXG3of7yCTktN/2VuhSJVU6U9022thvsbJ mB50+gDxBd6CmIhSrExPVcL9Imf+Fzr1VrQehHjoPwefoZVIj1dBLepvUoasF+lLOUa9 oUnVpRh/W9uzWRxf3s/M3lsq5ZNqn5yPxCsOmDOQiIPUgybuqzk6o+tov0nHSpipr98q KsqsQFYotg/qYbwcZGyeYbRDlNk6Lk65gs6zqF9DNKKsv5j7vQaupYumfU7hJjcJIY6e ZBkw==
X-Gm-Message-State: AD7BkJItr70UQoSCr9BEJS9jbtY5zwDZgodmg2bsM7GY+gPBwPOIkbrGlwYx0UIuKdDLErMK5dZ7l1PEoRQ5uyvq
X-Received: by 10.50.23.81 with SMTP id k17mr4705359igf.46.1458750672208; Wed, 23 Mar 2016 09:31:12 -0700 (PDT)
From: Brett Tate <brett@broadsoft.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdGFIWLTvE1vK9SPTqqWnSCzBFOezg==
Date: Wed, 23 Mar 2016 12:31:10 -0400
Message-ID: <a5651cb4f7f651b17933b0693c6bd456@mail.gmail.com>
To: draft-ietf-insipid-session-id@tools.ietf.org, insipid@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/insipid/2R--fWgaobMLYmUXT3UVTGTHoys>
Subject: [Insipid] draft-ietf-insipid-session-id-18: comments and questions
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIP Session-ID discussion list <insipid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/insipid>, <mailto:insipid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/insipid/>
List-Post: <mailto:insipid@ietf.org>
List-Help: <mailto:insipid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/insipid>, <mailto:insipid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Mar 2016 16:31:21 -0000

Hi,

Sorry about the delay.

The following are some comments and questions concerning
draft-ietf-insipid-session-id-18.

Thanks,
Brett

------

1) Section 2 paragraph 3:  To remove compliance ambiguity (e.g. if section
6 or 7 must be followed), please add something like the following to the
paragraph: The "endpoint" definition's "generally located" exclusion
allows intermediaries to originate and terminate SIP messages without an
endpoint being part of the session or transaction.

2) Section 6 paragraph 2 and bullet 1: The text is vague concerning if the
"MUST NOT change" only applies to the endpoint originating the request.

3) Section 6 paragraph 6 and section 7 last paragraph: If not intentional,
"must" is lowercase.

4) Section 6 paragraph 6: CANCEL usage isn't limited to INVITE requests.
Thus potentially should reword so that it applies to the transaction being
cancelled.

5) Section 6 paragraph 8: Should something similar to this paragraph be
added to section 7?  For instance, it is currently ambiguous if section 7
paragraph 6, section 7 paragraph 12, or something else applies if
intermediary receives message without Session-ID when there are cached
values for the dialogs.  One aspect of the ambiguity is contained within
comment 14.

6) Section 7 paragraph 10: CANCEL usage isn't limited to INVITE requests.
Thus potentially should reword so that it applies to the transaction being
cancelled.

7) Section 7 last paragraph: Append something like the following: "if they
maintain knowledge of the session identifier".

8) Section 8: Concerning paragraph 1 statement "To ensure that all
endpoints and intermediaries involved in a session agree upon the current
session identifier", following the process does not guarantee it.  There
is too much potential for race conditions to guarantee it (e.g. see RFC
6141 section 4.8).  Please add a statement within this section to indicate
that following this document does not provide a way to ensure that all
endpoints and intermediaries involved in a session will agree upon the
current session identifier.

9) Section 8 bullets: Concerning the MUST 'include this new UUID as the
"remote" parameter for any subsequent messages' statements, it isn't clear
concerning the impacts when an intermediary relays a received Session-ID.
For instance, are the bullets indicating that the intermediary MUST fix
the remote UUID when relaying requests/responses?  I think that they
should be reworded or a paragraph added to help interpret the bullets.

10) Section 8 bullet 1: As I mentioned within 1/6/2016 email (linked
below), I'd prefer CANCEL and its response not be able to update the
session identifier.  Does anyone know the precise timing concerning when
481 should be sent for late CANCEL?  For instance, it looks like RFC 6026
Timer L means that a device should still return 200 for CANCEL up to 64*T1
after having sent 2xx for INVITE (even if already received ACK).  This
would mean that a CANCEL can be 64*T1 seconds late and cause a session
identifier change.  The behavior appears to be similar within 3xx-6xx
response to INVITE situation; however the default timer to forget the
transaction appears to be smaller and I'm not sure what should occur for
late CANCEL if return 2xx.  Allowing CANCEL to update things also appears
to conflict with RFC 6141 section 3.3 "SHOULD return 2xx" since the
desired impact of CANCEL is to cause a 487 response for the cancelled
transaction (which appears would undo the CANCEL changes).

http://www.ietf.org/mail-archive/web/insipid/current/msg01085.html

11) Section 8 bullet 2: In my opinion, 3xx (for instance 305) should be
handled like 4xx-6xx.  If the 305 was generated for security/overload
reasons, it seems like an exposure to comply with the bullet's mandate.
However since mid-dialog 3xx isn't well defined (mentioned within RFC
5057), I don't have a strong opinion on the topic.

12) Section 8 bullet 3: Clarify the last sentence since unsure what
"latest UUID value" means: stored UUID or request's UUID.

13) Section 8 bullet 4: Concerning ACK for 3xx, I have the same comment as
bullet 2.

14) Section 8 bullet 5: Allowing failure responses to update the cached
UUID is a little odd (although it provides a value for ACK).  It can
potentially cause a disagreement concerning session identifier.  Unless
clarify within the draft, it also adds ambiguity when attempting multiple
mid-dialog locations per RFC 3263.

If there were multiple failure responses causing resubmit with higher
cseq, the last change is cached on intermediary.  If session identifier is
subsequently missing from 2xx response (or other final response), the
intermediary will have a cached UUID which does not get relayed to the
endpoint (except maybe when section 7 paragraph 12 is applicable).

Concerning devices that attempt multiple mid-dialog locations per RFC
3263, I guess that they will decide how to correlate potentially
conflicting values associated with multiple responses (such as 503, 482,
and other response or timeout) since they can select a specific branch to
honor similar to if outside of dialog.  Their decision might conflict with
how other intermediaries which saw the responses might interpret what
should be the current session identifier.  Concerning re-INVITE, I'm not
really sure what remote UUID to include within the ACKs of non-winning
branches.  For instance if receive 2xx for branch A and then receive 503
for branch B (i.e. both requests sent before 2xx received), branch A is
obviously the desired winner.  Should the late 503 cause an update of the
stored UUID?  If not, should remote UUID within ACK reflect 503's value or
stored UUID?


From nobody Wed Mar 23 20:09:28 2016
Return-Path: <pgiralt@cisco.com>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0581212D0BB for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 20:09:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.531
X-Spam-Level: 
X-Spam-Status: No, score=-14.531 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 cnzYQ3cEhIAk for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 20:09:24 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D9D912D532 for <insipid@ietf.org>; Wed, 23 Mar 2016 20:09:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14845; q=dns/txt; s=iport; t=1458788964; x=1459998564; h=mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=5Vn0J1QQW8IrqKFH/n21wCmYJ6VzyqaisLZ7/rXXpk0=; b=fAQztDtTYG4BR+Uj/bmTvt8v76Y/yZGfZ9sKKqc+GlD6Gt1v3PsX1TOs eGo1jX2rw1D03YriFVHFwU4nd/XpGC3NCME2RBh8J6yiVpbhVT/Xp5L4h Yrafjsd5js3peJs8VoCrXDkNlcbN0K8pPt+TbyQrYiD8o/czbZNyw45Im g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0APAgCrWfNW/4wNJK1egzNTfbpmAQ2Bc?= =?us-ascii?q?CGFIkoCgUA4FAEBAQEBAQFkJ4RCAQEDASNWBQsLGgImAgJXBhMJiBYIDrAnkG0?= =?us-ascii?q?BAQEBAQEBAQEBAQEBAQEBAQEBAQEVfIUigXOCUYQMCgYCARuDAiuCKwWHVocWi?= =?us-ascii?q?HCOBAqBXIRMiFiGDoh6HgEBQoIDGYFlIDABiE8EgTcBAQE?=
X-IronPort-AV: E=Sophos;i="5.24,383,1454976000"; d="scan'208";a="252195188"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Mar 2016 03:09:22 +0000
Received: from rtp-vpn2-1076.cisco.com (rtp-vpn2-1076.cisco.com [10.82.244.52]) by alln-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id u2O39LFO028488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Mar 2016 03:09:22 GMT
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Paul Giralt (pgiralt) <pgiralt@cisco.com>
In-Reply-To: <a5651cb4f7f651b17933b0693c6bd456@mail.gmail.com>
Date: Wed, 23 Mar 2016 23:09:40 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <E8632030-CCA1-458B-A05C-CF40C28AFD42@cisco.com>
References: <a5651cb4f7f651b17933b0693c6bd456@mail.gmail.com>
To: Brett Tate <brett@broadsoft.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/insipid/eWo5A88MnQDylg-V32P8TV1oNeE>
Cc: insipid@ietf.org
Subject: Re: [Insipid] draft-ietf-insipid-session-id-18: comments and questions
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIP Session-ID discussion list <insipid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/insipid>, <mailto:insipid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/insipid/>
List-Post: <mailto:insipid@ietf.org>
List-Help: <mailto:insipid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/insipid>, <mailto:insipid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Mar 2016 03:09:27 -0000

Brett,=20

Thanks again for the detailed review. See inline=E2=80=A6=20

> On Mar 23, 2016, at 12:31 PM, Brett Tate <brett@broadsoft.com> wrote:

> 1) Section 2 paragraph 3:  To remove compliance ambiguity (e.g. if =
section
> 6 or 7 must be followed), please add something like the following to =
the
> paragraph: The "endpoint" definition's "generally located" exclusion
> allows intermediaries to originate and terminate SIP messages without =
an
> endpoint being part of the session or transaction.
>=20

I=E2=80=99ve added the following at the end of the paragraph:=20

"In certain scenarios, intermediaries are allowed to originate and =
terminate SIP messages without an endpoint being part of the session or =
transaction."


> 2) Section 6 paragraph 2 and bullet 1: The text is vague concerning if =
the
> "MUST NOT change" only applies to the endpoint originating the =
request.
>=20

I think it=E2=80=99s clear that it=E2=80=99s talking about the endpoint =
that allocates the UUID value (which presumably is the one originating =
the request), but in the interest of clarity, I=E2=80=99ll change the =
sentence to:=20

"Once an endpoint allocates a UUID value for a communication session, =
the endpoint originating the request MUST NOT change that UUID value for =
the duration of the session"


> 3) Section 6 paragraph 6 and section 7 last paragraph: If not =
intentional,
> "must" is lowercase.
>=20

It was actually intentional, but looking at it again, doesn=E2=80=99t =
hurt to make it capitalized. Fixed.


> 4) Section 6 paragraph 6: CANCEL usage isn't limited to INVITE =
requests.
> Thus potentially should reword so that it applies to the transaction =
being
> cancelled.
>=20


Assuming you meant paragraph 7. Changed =E2=80=9Cthe original INVITE=E2=80=
=9D to =E2=80=9Cthe original request=E2=80=9D=20


> 5) Section 6 paragraph 8: Should something similar to this paragraph =
be
> added to section 7?  For instance, it is currently ambiguous if =
section 7
> paragraph 6, section 7 paragraph 12, or something else applies if
> intermediary receives message without Session-ID when there are cached
> values for the dialogs.  One aspect of the ambiguity is contained =
within
> comment 14.
>=20

Yes, I think similar verbiage is needed. I will distinguish between =
receiving a message without Session-ID where one has never been received =
before as opposed to when one has already been previously received. =
Modified text and added a new paragraph:=20

     If an intermediary receives a SIP message without a Session-ID =
header field=20
     or valid header field value from an endpoint for which the =
intermediary is not=20
     storing a "remote-uuid" value, the intermediary MAY  assign a =
"local-uuid" value=20
     to represent that endpoint and, having done so, MUST insert that =
assigned value=20
     into all signaling messages on behalf of the endpoint for that =
dialog.  In effect,=20
     the intermediary becomes dialog stateful and it MUST follow the =
endpoint procedures=20
     in Section 6 with respect to Session-ID header field value =
treatment with itself=20
     acting as the endpoint (for the purposes of the Session-ID header =
field) for which=20
     it inserted a component into the Session-ID header field value.  If =
the intermediary=20
     is aware of the UUID value that identifies the endpoint to which a =
message is=20
     directed, it MUST insert that UUID value into the Session-ID header =
field value as=20
     the "remote-uuid" value.  If the intermediary is unaware of the =
UUID value that=20
     identifies the receiving endpoint, it MUST use the null UUID value =
as the=20
     "remote-uuid" value.
    =20
     If an intermediary receives a SIP message without a Session-ID =
header field=20
     or valid header field value from an endpoint for which the =
intermediary has=20
     previously received a Session-ID and is storing a "remote-uuid" =
value for that=20
     endpoint, the lack of a Session-ID MUST have no effect on what the =
intermediary=20
     believes is the UUID value of the endpoint.  That is, the =
intermediary MUST NOT=20
     change the internally maintained "remote-uuid" value for the peer.



> 6) Section 7 paragraph 10: CANCEL usage isn't limited to INVITE =
requests.
> Thus potentially should reword so that it applies to the transaction =
being
> cancelled.
>=20

Changed =E2=80=9Cthe corresponding INVITE=E2=80=9D to =E2=80=9Cthe =
corresponding request=E2=80=9D=20


> 7) Section 7 last paragraph: Append something like the following: "if =
they
> maintain knowledge of the session identifier=E2=80=9D.

Good callout. Done.=20

>=20
> 8) Section 8: Concerning paragraph 1 statement "To ensure that all
> endpoints and intermediaries involved in a session agree upon the =
current
> session identifier", following the process does not guarantee it.  =
There
> is too much potential for race conditions to guarantee it (e.g. see =
RFC
> 6141 section 4.8).  Please add a statement within this section to =
indicate
> that following this document does not provide a way to ensure that all
> endpoints and intermediaries involved in a session will agree upon the
> current session identifier.


Totally agree and I avoided using the word =E2=80=9Cguarantee=E2=80=9D =
for the specific reason you outline, but I guess =E2=80=9Censure=E2=80=9D =
might be too strong as well. How=E2=80=99s this?=20


     Both endpoints and intermediaries MUST assume that the UUID value =
of the=20
     session peer MAY change at any time due to service interactions.  =
It is desirable
     to have all endpoints and intermediaries involved in a session =
agree upon the=20
     current session identifier when these changes occur. Due to race =
conditions or
     certain interworking scenarios, it is not always possible to =
guarantee session=20
     identifier consistency; however, in an attempt to ensure the =
highest likelihood
     of consistency, all endpoints and intermediaries involved in a =
session MUST=20
     accept a peer's new UUID under the following conditions:


>=20
> 9) Section 8 bullets: Concerning the MUST 'include this new UUID as =
the
> "remote" parameter for any subsequent messages' statements, it isn't =
clear
> concerning the impacts when an intermediary relays a received =
Session-ID.
> For instance, are the bullets indicating that the intermediary MUST =
fix
> the remote UUID when relaying requests/responses?  I think that they
> should be reworded or a paragraph added to help interpret the bullets.
>=20


I took this a step further and added text stipulating that an =
intermediary that accepts a new UUID SHOULD communicate this new UUID to =
other endpoints involved in the session to help prevent this problem =
from happening in the first place.=20

I=E2=80=99m not sure what the best approach here is, but I=E2=80=99m =
inclined to say that the intermediary MUST fix the remote UUID when =
relaying a request / response although I=E2=80=99d be okay with a =
SHOULD. Do you have any opinion?=20


> 10) Section 8 bullet 1: As I mentioned within 1/6/2016 email (linked
> below), I'd prefer CANCEL and its response not be able to update the
> session identifier.  Does anyone know the precise timing concerning =
when
> 481 should be sent for late CANCEL?  For instance, it looks like RFC =
6026
> Timer L means that a device should still return 200 for CANCEL up to =
64*T1
> after having sent 2xx for INVITE (even if already received ACK).  This
> would mean that a CANCEL can be 64*T1 seconds late and cause a session
> identifier change.  The behavior appears to be similar within 3xx-6xx
> response to INVITE situation; however the default timer to forget the
> transaction appears to be smaller and I'm not sure what should occur =
for
> late CANCEL if return 2xx.  Allowing CANCEL to update things also =
appears
> to conflict with RFC 6141 section 3.3 "SHOULD return 2xx" since the
> desired impact of CANCEL is to cause a 487 response for the cancelled
> transaction (which appears would undo the CANCEL changes).
>=20
> http://www.ietf.org/mail-archive/web/insipid/current/msg01085.html
>=20

I=E2=80=99m trying to think if there is any downside to disallowing =
CANCEL from modifying the stored value. At first glance, I can=E2=80=99t =
think of any downside. Typically a CANCEL will result in a 487 which =
already results in the value not being stored, so the only case where =
disallowing CANCEL from modifying the stored value would actually make a =
material change would be in the 2xx for CANCEL case. Even then, because =
CANCEL is not end-to-end and it must be identical to what was in the =
INVITE, it probably does not make sense to store the value from the =
CANCEL. I=E2=80=99ve added an additional bullet to Section 8:=20


       <t>As stated in Section 6 and Section 7, the Session-ID header =
field value=20
       included in a CANCEL request MUST be identical to the Session-ID =
header field=20
       value included in the corresponding INVITE. Upon receiving a =
CANCEL request,=20
       an endpoint or intermediary would normally send a 487 response =
which, by the
       rules outlined above, would result in the endpoint or =
intermediary not storing
       any UUID value contained in the CANCEL. Section 3.8 of=20
       <xref target=3D"RFC6141"></xref> specifies conditions where a =
CANCEL can result=20
       in 2xx response. Because CANCEL is not passed not end-to-end and =
will always
       contain the UUID from the original INVITE, retaining a new UUID =
value received=20
       in a CANCEL may result in inconsistency with the Session-ID value =
stored on=20
       the endpoints and intermediaries involved in the session. To =
avoid this situation,=20
       an endpoint or intermediary MUST NOT accept the new UUID value =
received in a=20
       CANCEL and any subsequent messages MUST contain the previously =
stored UUID value=20
       in the "remote" parameter".</t>



> 11) Section 8 bullet 2: In my opinion, 3xx (for instance 305) should =
be
> handled like 4xx-6xx.  If the 305 was generated for security/overload
> reasons, it seems like an exposure to comply with the bullet's =
mandate.
> However since mid-dialog 3xx isn't well defined (mentioned within RFC
> 5057), I don't have a strong opinion on the topic.
>=20


I=E2=80=99m inclined to leave it as-is, especially because mid-dialog =
changes resulting in a 3xx are almost non-existent.=20


> 12) Section 8 bullet 3: Clarify the last sentence since unsure what
> "latest UUID value" means: stored UUID or request's UUID.
>=20


It means the request=E2=80=99s UUID. Fixed.=20


> 13) Section 8 bullet 4: Concerning ACK for 3xx, I have the same =
comment as
> bullet 2.
>=20

Also inclined to leave as-is for the same reasons as above.=20


> 14) Section 8 bullet 5: Allowing failure responses to update the =
cached
> UUID is a little odd (although it provides a value for ACK).  It can
> potentially cause a disagreement concerning session identifier. =20

I think the value changing in a failure response is in itself an =
unlikely scenario to begin with and this scenario is not likely to =
occur.=20

As you mentioned, without updating the UUID on a failure response, we =
don=E2=80=99t have a value for ACK. Having the value in the ACK =
outweighs any potential out of sync that may occur in a rare scenario =
where the UUID changes on a failure response. I=E2=80=99m inclined to =
leave as-is.=20


> Unless
> clarify within the draft, it also adds ambiguity when attempting =
multiple
> mid-dialog locations per RFC 3263.
>=20
> If there were multiple failure responses causing resubmit with higher
> cseq, the last change is cached on intermediary.  If session =
identifier is
> subsequently missing from 2xx response (or other final response), the
> intermediary will have a cached UUID which does not get relayed to the
> endpoint (except maybe when section 7 paragraph 12 is applicable).
>=20


I=E2=80=99m not understanding why the 2xx would suddenly be missing the =
session identifier in this case. I already addressed this case above to =
ensure that a missing session identifier when one was present in =
previous messages does not overwrite. Does this address your concern =
here?=20


> Concerning devices that attempt multiple mid-dialog locations per RFC
> 3263, I guess that they will decide how to correlate potentially
> conflicting values associated with multiple responses (such as 503, =
482,
> and other response or timeout) since they can select a specific branch =
to
> honor similar to if outside of dialog.  Their decision might conflict =
with
> how other intermediaries which saw the responses might interpret what
> should be the current session identifier.  Concerning re-INVITE, I'm =
not
> really sure what remote UUID to include within the ACKs of non-winning
> branches.  For instance if receive 2xx for branch A and then receive =
503
> for branch B (i.e. both requests sent before 2xx received), branch A =
is
> obviously the desired winner.  Should the late 503 cause an update of =
the
> stored UUID?  If not, should remote UUID within ACK reflect 503's =
value or
> stored UUID?


When multiple locations are attempted, wouldn=E2=80=99t they be =
attempted in series? I would think that the 503 would actually come back =
before the request that leads to the 2xx if the session establishment =
really does succeed. If the 503 never made it to the far-end endpoint =
and this is really traversing proxies, I=E2=80=99m guessing the 503 will =
likely come back without a session identifier anyway, which would not =
cause a problem. I=E2=80=99m struggling to find a real-world case where =
something like this would happen that would realistically cause a =
problem with the current draft.=20

To answer your specific questions - if it really did play out the way =
you outlined above and the 503 does include a session identifier (and it =
happens to be different than the one in the 2xx), then yes, the 503 =
should cause an update and the remote UUID in the ACK for the 503 would =
reflect the 503=E2=80=99s value (which would also now be the stored =
value because we accept stored values from the 503). Not ideal, but this =
scenario does not seem realistic to me. Please correct me if I=E2=80=99m =
missing something.=20


Thanks again for all your feedback. Please let me know your thoughts so =
we can try to drive this to WGLC.=20

Thanks=20
-Paul



From nobody Wed Mar 23 20:10:34 2016
Return-Path: <pgiralt@cisco.com>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4993C12D0BB for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 20:10:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.531
X-Spam-Level: 
X-Spam-Status: No, score=-14.531 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 Wc9pj1Ua1Wj4 for <insipid@ietfa.amsl.com>; Wed, 23 Mar 2016 20:10:29 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55F1912D1A1 for <insipid@ietf.org>; Wed, 23 Mar 2016 20:10:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14845; q=dns/txt; s=iport; t=1458789029; x=1459998629; h=mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=5Vn0J1QQW8IrqKFH/n21wCmYJ6VzyqaisLZ7/rXXpk0=; b=JRshothlvAKU6O0goX3iNwapaTIMNNaS2YZxa94WpE0mRLCCPyu9WMew JHvlLQ24PbTazXZyEgbIPXpQnWKgyJfqPEZ2/XgAuuxWvEkWIOju+xJTs 6Pg+GvXyH8UKXsU8PT4GvxyMGHqzTk5MwUHkaUcDYBi2MkItOPKDt5z/U U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0APAgDOWfNW/4cNJK1egzNTfbpmAQ2Bc?= =?us-ascii?q?CGFIkoCgUA4FAEBAQEBAQFkJ4RCAQEDASNWBQsLGgImAgJXBhMJiBYIDrAnkG0?= =?us-ascii?q?BAQEBAQEBAQEBAQEBAQEBAQEBAQEVfIUigXMIgkmEDAoGAgEbgwIrgisFh1aHF?= =?us-ascii?q?ohwjgSBZoRMiFiGDoh6HgEBQoIDGYFlIDABiE8EgTcBAQE?=
X-IronPort-AV: E=Sophos;i="5.24,383,1454976000"; d="scan'208";a="252974085"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Mar 2016 03:10:27 +0000
Received: from rtp-vpn2-1076.cisco.com (rtp-vpn2-1076.cisco.com [10.82.244.52]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u2O3AQlU013108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Mar 2016 03:10:27 GMT
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Paul Giralt (pgiralt) <pgiralt@cisco.com>
In-Reply-To: <a5651cb4f7f651b17933b0693c6bd456@mail.gmail.com>
Date: Wed, 23 Mar 2016 23:10:37 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <BA7CC941-7D90-4F10-8350-1EEF9DF5A8CF@cisco.com>
References: <a5651cb4f7f651b17933b0693c6bd456@mail.gmail.com>
To: Brett Tate <brett@broadsoft.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/insipid/YQhNyfYNk19tjjNdnxEeflnVGT8>
Cc: insipid@ietf.org
Subject: Re: [Insipid] draft-ietf-insipid-session-id-18: comments and questions
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIP Session-ID discussion list <insipid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/insipid>, <mailto:insipid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/insipid/>
List-Post: <mailto:insipid@ietf.org>
List-Help: <mailto:insipid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/insipid>, <mailto:insipid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Mar 2016 03:10:32 -0000

Brett,=20

Thanks again for the detailed review. See inline=E2=80=A6=20

> On Mar 23, 2016, at 12:31 PM, Brett Tate <brett@broadsoft.com> wrote:

> 1) Section 2 paragraph 3:  To remove compliance ambiguity (e.g. if =
section
> 6 or 7 must be followed), please add something like the following to =
the
> paragraph: The "endpoint" definition's "generally located" exclusion
> allows intermediaries to originate and terminate SIP messages without =
an
> endpoint being part of the session or transaction.
>=20

I=E2=80=99ve added the following at the end of the paragraph:=20

"In certain scenarios, intermediaries are allowed to originate and =
terminate SIP messages without an endpoint being part of the session or =
transaction."


> 2) Section 6 paragraph 2 and bullet 1: The text is vague concerning if =
the
> "MUST NOT change" only applies to the endpoint originating the =
request.
>=20

I think it=E2=80=99s clear that it=E2=80=99s talking about the endpoint =
that allocates the UUID value (which presumably is the one originating =
the request), but in the interest of clarity, I=E2=80=99ll change the =
sentence to:=20

"Once an endpoint allocates a UUID value for a communication session, =
the endpoint originating the request MUST NOT change that UUID value for =
the duration of the session"


> 3) Section 6 paragraph 6 and section 7 last paragraph: If not =
intentional,
> "must" is lowercase.
>=20

It was actually intentional, but looking at it again, doesn=E2=80=99t =
hurt to make it capitalized. Fixed.


> 4) Section 6 paragraph 6: CANCEL usage isn't limited to INVITE =
requests.
> Thus potentially should reword so that it applies to the transaction =
being
> cancelled.
>=20


Assuming you meant paragraph 7. Changed =E2=80=9Cthe original INVITE=E2=80=
=9D to =E2=80=9Cthe original request=E2=80=9D=20


> 5) Section 6 paragraph 8: Should something similar to this paragraph =
be
> added to section 7?  For instance, it is currently ambiguous if =
section 7
> paragraph 6, section 7 paragraph 12, or something else applies if
> intermediary receives message without Session-ID when there are cached
> values for the dialogs.  One aspect of the ambiguity is contained =
within
> comment 14.
>=20

Yes, I think similar verbiage is needed. I will distinguish between =
receiving a message without Session-ID where one has never been received =
before as opposed to when one has already been previously received. =
Modified text and added a new paragraph:=20

     If an intermediary receives a SIP message without a Session-ID =
header field=20
     or valid header field value from an endpoint for which the =
intermediary is not=20
     storing a "remote-uuid" value, the intermediary MAY  assign a =
"local-uuid" value=20
     to represent that endpoint and, having done so, MUST insert that =
assigned value=20
     into all signaling messages on behalf of the endpoint for that =
dialog.  In effect,=20
     the intermediary becomes dialog stateful and it MUST follow the =
endpoint procedures=20
     in Section 6 with respect to Session-ID header field value =
treatment with itself=20
     acting as the endpoint (for the purposes of the Session-ID header =
field) for which=20
     it inserted a component into the Session-ID header field value.  If =
the intermediary=20
     is aware of the UUID value that identifies the endpoint to which a =
message is=20
     directed, it MUST insert that UUID value into the Session-ID header =
field value as=20
     the "remote-uuid" value.  If the intermediary is unaware of the =
UUID value that=20
     identifies the receiving endpoint, it MUST use the null UUID value =
as the=20
     "remote-uuid" value.
    =20
     If an intermediary receives a SIP message without a Session-ID =
header field=20
     or valid header field value from an endpoint for which the =
intermediary has=20
     previously received a Session-ID and is storing a "remote-uuid" =
value for that=20
     endpoint, the lack of a Session-ID MUST have no effect on what the =
intermediary=20
     believes is the UUID value of the endpoint.  That is, the =
intermediary MUST NOT=20
     change the internally maintained "remote-uuid" value for the peer.



> 6) Section 7 paragraph 10: CANCEL usage isn't limited to INVITE =
requests.
> Thus potentially should reword so that it applies to the transaction =
being
> cancelled.
>=20

Changed =E2=80=9Cthe corresponding INVITE=E2=80=9D to =E2=80=9Cthe =
corresponding request=E2=80=9D=20


> 7) Section 7 last paragraph: Append something like the following: "if =
they
> maintain knowledge of the session identifier=E2=80=9D.

Good callout. Done.=20

>=20
> 8) Section 8: Concerning paragraph 1 statement "To ensure that all
> endpoints and intermediaries involved in a session agree upon the =
current
> session identifier", following the process does not guarantee it.  =
There
> is too much potential for race conditions to guarantee it (e.g. see =
RFC
> 6141 section 4.8).  Please add a statement within this section to =
indicate
> that following this document does not provide a way to ensure that all
> endpoints and intermediaries involved in a session will agree upon the
> current session identifier.


Totally agree and I avoided using the word =E2=80=9Cguarantee=E2=80=9D =
for the specific reason you outline, but I guess =E2=80=9Censure=E2=80=9D =
might be too strong as well. How=E2=80=99s this?=20


     Both endpoints and intermediaries MUST assume that the UUID value =
of the=20
     session peer MAY change at any time due to service interactions.  =
It is desirable
     to have all endpoints and intermediaries involved in a session =
agree upon the=20
     current session identifier when these changes occur. Due to race =
conditions or
     certain interworking scenarios, it is not always possible to =
guarantee session=20
     identifier consistency; however, in an attempt to ensure the =
highest likelihood
     of consistency, all endpoints and intermediaries involved in a =
session MUST=20
     accept a peer's new UUID under the following conditions:


>=20
> 9) Section 8 bullets: Concerning the MUST 'include this new UUID as =
the
> "remote" parameter for any subsequent messages' statements, it isn't =
clear
> concerning the impacts when an intermediary relays a received =
Session-ID.
> For instance, are the bullets indicating that the intermediary MUST =
fix
> the remote UUID when relaying requests/responses?  I think that they
> should be reworded or a paragraph added to help interpret the bullets.
>=20


I took this a step further and added text stipulating that an =
intermediary that accepts a new UUID SHOULD communicate this new UUID to =
other endpoints involved in the session to help prevent this problem =
from happening in the first place.=20

I=E2=80=99m not sure what the best approach here is, but I=E2=80=99m =
inclined to say that the intermediary MUST fix the remote UUID when =
relaying a request / response although I=E2=80=99d be okay with a =
SHOULD. Do you have any opinion?=20


> 10) Section 8 bullet 1: As I mentioned within 1/6/2016 email (linked
> below), I'd prefer CANCEL and its response not be able to update the
> session identifier.  Does anyone know the precise timing concerning =
when
> 481 should be sent for late CANCEL?  For instance, it looks like RFC =
6026
> Timer L means that a device should still return 200 for CANCEL up to =
64*T1
> after having sent 2xx for INVITE (even if already received ACK).  This
> would mean that a CANCEL can be 64*T1 seconds late and cause a session
> identifier change.  The behavior appears to be similar within 3xx-6xx
> response to INVITE situation; however the default timer to forget the
> transaction appears to be smaller and I'm not sure what should occur =
for
> late CANCEL if return 2xx.  Allowing CANCEL to update things also =
appears
> to conflict with RFC 6141 section 3.3 "SHOULD return 2xx" since the
> desired impact of CANCEL is to cause a 487 response for the cancelled
> transaction (which appears would undo the CANCEL changes).
>=20
> http://www.ietf.org/mail-archive/web/insipid/current/msg01085.html
>=20

I=E2=80=99m trying to think if there is any downside to disallowing =
CANCEL from modifying the stored value. At first glance, I can=E2=80=99t =
think of any downside. Typically a CANCEL will result in a 487 which =
already results in the value not being stored, so the only case where =
disallowing CANCEL from modifying the stored value would actually make a =
material change would be in the 2xx for CANCEL case. Even then, because =
CANCEL is not end-to-end and it must be identical to what was in the =
INVITE, it probably does not make sense to store the value from the =
CANCEL. I=E2=80=99ve added an additional bullet to Section 8:=20


       <t>As stated in Section 6 and Section 7, the Session-ID header =
field value=20
       included in a CANCEL request MUST be identical to the Session-ID =
header field=20
       value included in the corresponding INVITE. Upon receiving a =
CANCEL request,=20
       an endpoint or intermediary would normally send a 487 response =
which, by the
       rules outlined above, would result in the endpoint or =
intermediary not storing
       any UUID value contained in the CANCEL. Section 3.8 of=20
       <xref target=3D"RFC6141"></xref> specifies conditions where a =
CANCEL can result=20
       in 2xx response. Because CANCEL is not passed not end-to-end and =
will always
       contain the UUID from the original INVITE, retaining a new UUID =
value received=20
       in a CANCEL may result in inconsistency with the Session-ID value =
stored on=20
       the endpoints and intermediaries involved in the session. To =
avoid this situation,=20
       an endpoint or intermediary MUST NOT accept the new UUID value =
received in a=20
       CANCEL and any subsequent messages MUST contain the previously =
stored UUID value=20
       in the "remote" parameter".</t>



> 11) Section 8 bullet 2: In my opinion, 3xx (for instance 305) should =
be
> handled like 4xx-6xx.  If the 305 was generated for security/overload
> reasons, it seems like an exposure to comply with the bullet's =
mandate.
> However since mid-dialog 3xx isn't well defined (mentioned within RFC
> 5057), I don't have a strong opinion on the topic.
>=20


I=E2=80=99m inclined to leave it as-is, especially because mid-dialog =
changes resulting in a 3xx are almost non-existent.=20


> 12) Section 8 bullet 3: Clarify the last sentence since unsure what
> "latest UUID value" means: stored UUID or request's UUID.
>=20


It means the request=E2=80=99s UUID. Fixed.=20


> 13) Section 8 bullet 4: Concerning ACK for 3xx, I have the same =
comment as
> bullet 2.
>=20

Also inclined to leave as-is for the same reasons as above.=20


> 14) Section 8 bullet 5: Allowing failure responses to update the =
cached
> UUID is a little odd (although it provides a value for ACK).  It can
> potentially cause a disagreement concerning session identifier. =20

I think the value changing in a failure response is in itself an =
unlikely scenario to begin with and this scenario is not likely to =
occur.=20

As you mentioned, without updating the UUID on a failure response, we =
don=E2=80=99t have a value for ACK. Having the value in the ACK =
outweighs any potential out of sync that may occur in a rare scenario =
where the UUID changes on a failure response. I=E2=80=99m inclined to =
leave as-is.=20


> Unless
> clarify within the draft, it also adds ambiguity when attempting =
multiple
> mid-dialog locations per RFC 3263.
>=20
> If there were multiple failure responses causing resubmit with higher
> cseq, the last change is cached on intermediary.  If session =
identifier is
> subsequently missing from 2xx response (or other final response), the
> intermediary will have a cached UUID which does not get relayed to the
> endpoint (except maybe when section 7 paragraph 12 is applicable).
>=20


I=E2=80=99m not understanding why the 2xx would suddenly be missing the =
session identifier in this case. I already addressed this case above to =
ensure that a missing session identifier when one was present in =
previous messages does not overwrite. Does this address your concern =
here?=20


> Concerning devices that attempt multiple mid-dialog locations per RFC
> 3263, I guess that they will decide how to correlate potentially
> conflicting values associated with multiple responses (such as 503, =
482,
> and other response or timeout) since they can select a specific branch =
to
> honor similar to if outside of dialog.  Their decision might conflict =
with
> how other intermediaries which saw the responses might interpret what
> should be the current session identifier.  Concerning re-INVITE, I'm =
not
> really sure what remote UUID to include within the ACKs of non-winning
> branches.  For instance if receive 2xx for branch A and then receive =
503
> for branch B (i.e. both requests sent before 2xx received), branch A =
is
> obviously the desired winner.  Should the late 503 cause an update of =
the
> stored UUID?  If not, should remote UUID within ACK reflect 503's =
value or
> stored UUID?


When multiple locations are attempted, wouldn=E2=80=99t they be =
attempted in series? I would think that the 503 would actually come back =
before the request that leads to the 2xx if the session establishment =
really does succeed. If the 503 never made it to the far-end endpoint =
and this is really traversing proxies, I=E2=80=99m guessing the 503 will =
likely come back without a session identifier anyway, which would not =
cause a problem. I=E2=80=99m struggling to find a real-world case where =
something like this would happen that would realistically cause a =
problem with the current draft.=20

To answer your specific questions - if it really did play out the way =
you outlined above and the 503 does include a session identifier (and it =
happens to be different than the one in the 2xx), then yes, the 503 =
should cause an update and the remote UUID in the ACK for the 503 would =
reflect the 503=E2=80=99s value (which would also now be the stored =
value because we accept stored values from the 503). Not ideal, but this =
scenario does not seem realistic to me. Please correct me if I=E2=80=99m =
missing something.=20


Thanks again for all your feedback. Please let me know your thoughts so =
we can try to drive this to WGLC.=20

Thanks=20
-Paul



From nobody Wed Mar 30 07:16:42 2016
Return-Path: <brett@broadsoft.com>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DE5F12D0F3 for <insipid@ietfa.amsl.com>; Wed, 30 Mar 2016 07:16:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=broadsoft-com.20150623.gappssmtp.com
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 S1Gu6ikQmdCO for <insipid@ietfa.amsl.com>; Wed, 30 Mar 2016 07:16:37 -0700 (PDT)
Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 05B1812D577 for <insipid@ietf.org>; Wed, 30 Mar 2016 07:16:36 -0700 (PDT)
Received: by mail-ig0-x22b.google.com with SMTP id ui10so33625387igc.1 for <insipid@ietf.org>; Wed, 30 Mar 2016 07:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadsoft-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:thread-index:date:message-id:subject:to :content-transfer-encoding; bh=gXnPz8g6UBkZJoUUWGu7YzvFtBUc0s7TcKOp0VvYOnU=; b=jHZ7xMDuOPaP8hSUkPsBKxCJ1yV5JctMtwI8NpRIfAISyjTY0faOO4mkoYYY8PVIPi bzIjuJIZoOwe+GRUKpSMuHkLIuDPl5FhHUbNsFU6+lqycx92tIjZWUpyvsz0AYKXZ7Zd imwuwecOKEPikIoEoO+zxRv7fHMQ99fk3/pL/dzbCcxzHajrEVXK5eg3z2fD6xHbylfV gudtsKB6zf1aml2WVOe0ygN3Uw92X9JItwd4Q/nwhdo8aJmkA1VNj/H6WLSnTtWdE1/0 eO+KtkSAtL/QR6p9+oybXTHLJ6Y+6anqzvIhPVyH5wvRHMLABkWBEXxdeo2HyyF1uWkG nEjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:content-transfer-encoding; bh=gXnPz8g6UBkZJoUUWGu7YzvFtBUc0s7TcKOp0VvYOnU=; b=a9LPUlN61C0wsRLLx7qs+FZ9vzk6UJVHq5nlX2DgKR2O0ZVobBiZelAJaoJk8yTNGs G5ttrtuaMwoVGlKWwrigOGoNcKQWE7QBmYHWxglr4RvAncxKC/B4Fw9Z/1ngzS2kdRQg aTJ1mrGiRKAmSGnY+s+Ep3yghqJ9bQ0aS4qY4EdOoC1rxC9P1q2FMBamkeJi0oj5XgxV vjDBFHu+MLzWAlJK/0DMnSkyhbj1heEH3P7sbed705r5KuC/2hcOKDN4/EXBkamlN6yw K+rA4HXtWPSFb6lLJKoEqvBJus8ztvFt03PKwoX/IvtOAVx01IricCBmhCyy3fTuzs4Z MtDg==
X-Gm-Message-State: AD7BkJJS/pr7BU4vSXCsREAPxo2fDNWV6NnMlF6f6txwZw2oXvsggSCpNBTxJfIfm4k8y4eZ96MK3HIXBWygPrim
X-Received: by 10.50.111.8 with SMTP id ie8mr23554831igb.46.1459347396279; Wed, 30 Mar 2016 07:16:36 -0700 (PDT)
From: Brett Tate <brett@broadsoft.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdGKjoY1cNJ5jXYgSYmyGC49bFEmrA==
Date: Wed, 30 Mar 2016 10:16:35 -0400
Message-ID: <7fe4e490ec6b9eb7b87b288748456e09@mail.gmail.com>
To: insipid@ietf.org, "Paul Giralt (pgiralt)" <pgiralt@cisco.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/insipid/7F3ir9rm5XNhYiwxGtTCRssw7Wc>
Subject: Re: [Insipid] draft-ietf-insipid-session-id-18: comments and questions
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIP Session-ID discussion list <insipid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/insipid>, <mailto:insipid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/insipid/>
List-Post: <mailto:insipid@ietf.org>
List-Help: <mailto:insipid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/insipid>, <mailto:insipid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Mar 2016 14:16:41 -0000

Hi,

Thanks for the response; reply is inline.

> > 8) Section 8

<snip>

> Totally agree and I avoided using the word =E2=80=9Cguarantee=E2=80=9D fo=
r
> the specific reason you outline, but I guess =E2=80=9Censure=E2=80=9D mig=
ht
> be too strong as well. How=E2=80=99s this?

<snip>

Looks okay to me.


> I=E2=80=99m not sure what the best approach here is, but I=E2=80=99m incl=
ined
> to say that the intermediary MUST fix the remote UUID when
> relaying a request / response although I=E2=80=99d be okay with a
> SHOULD. Do you have any opinion?

I don't have a strong preference.  The SHOULD would allow intermediaries to
defer to prior hop within situation or deployment model where intermediary
might be less confident about the accuracy of the stored value.


> > 12) Section 8 bullet 3: Clarify the last sentence since
> > unsure what "latest UUID value" means: stored UUID or
> > request's UUID.
>
> It means the request=E2=80=99s UUID. Fixed.

If not intentional, the proposed new bullet for CANCEL appears to cause the
remote UUID of CANCEL's 200/481 to contain the stored value.  However, I'm
not positive since unsure if another bullet applies at the same time
concerning how to build the CANCEL responses.

Also concerning the new bullet for CANCEL, the "not passed not end-to-end"
appears to have an extra "not".


> > 14) Section 8 bullet 5: Allowing failure responses to
> > update the cached UUID is a little odd (although it
> > provides a value for ACK).  It can potentially cause
> > a disagreement concerning session identifier.
>
> I think the value changing in a failure response is in
> itself an unlikely scenario to begin with and this
> scenario is not likely to occur.

The most likely causes of a change within failure response would be because
of race conditions and not following a SHOULD.


> As you mentioned, without updating the UUID on a failure
> response, we don=E2=80=99t have a value for ACK. Having the value
> in the ACK outweighs any potential out of sync that may
> occur in a rare scenario where the UUID changes on a
> failure response. I=E2=80=99m inclined to leave as-is.

I don't have a strong opinion on the topic.  However the ACK for non-2xx
could be a special situation where it can contain failure response's local
UUID without needing to allow it to update the stored value.  This would be
similar to INVITE failure response (or 3xx) during call setup causing a
resubmit with higher cseq (without remote UUID); however excluding 3xx, I
didn't really notice any text concerning the topic.


> > If there were multiple failure responses causing resubmit
> > with higher cseq, the last change is cached on
> > intermediary.  If session identifier is subsequently
> > missing from 2xx response (or other final response), the
> > intermediary will have a cached UUID which does not get
> > relayed to the endpoint (except maybe when section 7
> > paragraph 12 is applicable).
>
> I=E2=80=99m not understanding why the 2xx would suddenly be
> missing the session identifier in this case.

Among other potential reasons, an intermediary that doesn't support this
draft generated the 2xx response and none of the other intermediaries added
the header.


> I already addressed this case above to ensure that a
> missing session identifier when one was present in
> previous messages does not overwrite. Does this address
> your concern here?

Yes; it allows the intermediary the option to follow section 7 next to last
paragraph.


> When multiple locations are attempted, wouldn=E2=80=99t they be
> attempted in series?

Yes; however similar to the Happy Eyeballs stuff being discussed within
sipcore, the advancement might be quick and the responses may (or may not)
be processed as though requests sent simultaneously.


> I would think that the 503 would actually come back
> before the request that leads to the 2xx if the session
> establishment really does succeed.

That would be nice since it avoids a compliant intermediary (depending upon
interpretation) from doing something which is obviously not preferred.  If
the draft defers to the intermediary/endpoint (explicitly or implicitly),
they can do what they think is best.


> To answer your specific questions - if it really did play
> out the way you outlined above and the 503 does include a
> session identifier (and it happens to be different than
> the one in the 2xx), then yes, the 503 should cause an
> update and the remote UUID in the ACK for the 503 would
> reflect the 503=E2=80=99s value (which would also now be the stored
> value because we accept stored values from the 503). Not
> ideal, but this scenario does not seem realistic to me.
> Please correct me if I=E2=80=99m missing something.

The RFC 3263 advancing of mid-dialog requests based upon short time
intervals occurs.  Devices that do it currently pick a winning
branch/response for updating local data and relaying as needed (selecting
"best" response is discussed within RFC 5057 section 5.1 note 9).

The thing that you might be missing is that the draft (depending upon
interpretation) is asking devices that RFC 3263 advance mid-dialog requests
based upon time (and/or 503) to allow every responding branch to update the
stored value even though 1 or none where selected as the winning response
when selecting how to respond.

However as I mentioned above, I don't have a strong opinion on the topic.

