Re: [sipcore] 4028bis: memory refresh - proxy assumptions

Roman Shpount <roman@telurix.com> Fri, 15 May 2020 08:09 UTC

Return-Path: <roman@telurix.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3B7C3A0841 for <sipcore@ietfa.amsl.com>; Fri, 15 May 2020 01:09:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-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 2zrq6VvCxumo for <sipcore@ietfa.amsl.com>; Fri, 15 May 2020 01:09:45 -0700 (PDT)
Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) (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 325743A0843 for <sipcore@ietf.org>; Fri, 15 May 2020 01:09:45 -0700 (PDT)
Received: by mail-oo1-xc31.google.com with SMTP id z6so263991ooz.3 for <sipcore@ietf.org>; Fri, 15 May 2020 01:09:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jti0+POJVBpG2fl9II47bHtkujXf1gPm6speimoFbpE=; b=wusU8pHn2yHMn3P/yCtAKiOP2gYoYr3KjC0lPZeXaDmJ2wliR5zEEDsCAVHyrg2cQ5 0Tb1FiYfRlKtbJu/eAM9NYH3Ew4PlTHK/WuL+qBbknGwT9BNgJf26SLEAgFxkPfCTUzw YSTZdaDlCRWoWiRTjaf0NSLpD3JzdLJlpWXp6e0oxTZZoTrKXwmmJ1k65xb3ftfdMOv+ FiDcEQihNn/W3MhFQnRikAno86vnvcnLwx2YGyvdIcgrU7yG4s6DHpObqWQireE/wbDW OkYcZiWpgWMbhuXIVc4J5wx5MHhsnQSsMNSkIC3H58bXGhg9pmUsKGVwq33wx3BD03I9 VrgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jti0+POJVBpG2fl9II47bHtkujXf1gPm6speimoFbpE=; b=gQgtCiBrAkpQuYXzgfXa5FDVa/Sf4Mpa18CrMyFVPMK6r8stjs733lXYN1ewwzfFvG Qs4bh9/KQ8sifGuLz9KJRmWE4oVvU1DXe60BBrwwhbIkmmCMpu6aM6uOF5Qh/IGoAbg+ BJGKZsza6Q7qf+hq+CJ2HxAWc+l5PKuKF3kCWrUSBz4adeIPHrFylmuG/VXlbkH6A3w1 QW+Xs5W9Fu0x1TEx7MN5CitwNU5ybMO0JYqxWJnLlsyixez8V40/K5OqdnpkE1WVMiKZ dkNsUPC4dIvzYZ7WZiyVdWa+hRtkPFFslebhvffGgfct/toAzHkxVL7jeNEQUiz4ToBL TO6w==
X-Gm-Message-State: AOAM531WdnoP0zU7YRS/jrwQdvq6r3wEvyZgLNV0VLqX1krUt9zHSfc+ t//FIg9L3a7vlW+6XpyaIFox5hfSqi8=
X-Google-Smtp-Source: ABdhPJxntb5ZVXcHtQjCwTIgKNSgD+HfGJWZ7pOU1o5x9uzSVWqp61rADZh7grP+CDyztHfXwkNSJw==
X-Received: by 2002:a4a:2c58:: with SMTP id o85mr1498688ooo.71.1589530183865; Fri, 15 May 2020 01:09:43 -0700 (PDT)
Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com. [209.85.210.46]) by smtp.gmail.com with ESMTPSA id d10sm407705ote.10.2020.05.15.01.09.42 for <sipcore@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 May 2020 01:09:42 -0700 (PDT)
Received: by mail-ot1-f46.google.com with SMTP id j4so1222550otr.11 for <sipcore@ietf.org>; Fri, 15 May 2020 01:09:42 -0700 (PDT)
X-Received: by 2002:a05:6830:c2:: with SMTP id x2mr971766oto.19.1589530182329; Fri, 15 May 2020 01:09:42 -0700 (PDT)
MIME-Version: 1.0
References: <3A3E112F-C60F-43EB-A2AD-AA89597674AA@ericsson.com> <CAD5OKxsMesFT0fRRMJjmEm26Y0kM19O7OJES-qR3k8SgPxMuxw@mail.gmail.com> <36E38B07-F79B-4AD3-B7A9-764FF92F987D@ericsson.com> <CAD5OKxuG49jp0t2LHFNB1Sx2YGBC3SEY+NYfjXB0bb3QB8Q41A@mail.gmail.com> <32348831-8C73-4A1C-BEFA-294FBAF2A224@ericsson.com>
In-Reply-To: <32348831-8C73-4A1C-BEFA-294FBAF2A224@ericsson.com>
From: Roman Shpount <roman@telurix.com>
Date: Fri, 15 May 2020 04:09:32 -0400
X-Gmail-Original-Message-ID: <CAD5OKxvW1penaM+EDF+gEhRYE_bnmv60xadrtfcDz4WKAtHofw@mail.gmail.com>
Message-ID: <CAD5OKxvW1penaM+EDF+gEhRYE_bnmv60xadrtfcDz4WKAtHofw@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "sipcore@ietf.org" <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e0be9105a5ab5509"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/Qw4eiqdbhcFYqXV9v42NrNY4YrQ>
Subject: Re: [sipcore] 4028bis: memory refresh - proxy assumptions
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Fri, 15 May 2020 08:09:49 -0000

On Fri, May 15, 2020 at 3:30 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> >>>>>1. Defining proxy behavior based on having a transaction in progress:
> This is hard to implement in practice since initial INVITE and UPDATE
> >>>>>might not even go over the same path and the same proxies.
> >>>>
> >>>> Section 8 of RFC 4028 says:
> >>>>
> >>>>   “Proxies that ask for session timers SHOULD record-route, as they
> >>>>   won't receive refreshes if they don't.”
> >>>>
> >>>> In my opinion it should be possible to mandate that a proxy that asks
> for session timers, or modifies a session timer value (S-E or Min-SE), also
> record-route.
> >>>>
> >>> I have mentioned before that even requiring record-route would be
> insufficient. First of all, having a transaction in progress for a proxy is
> something
> >>> that can be ambiguous due to network delays or message re-ordering
> even if it is always on the dialog path. Second, the amount of state
> maintained
> >>> by proxy, if it needs to track transactions vs dialogs increases
> significantly. Third, even if the proxy can be the same "logical proxy", it
> can actually be
> >>> multiple physical servers sharing an address behind a load balancer,
> so UPDATE and INVITE transactions can end up on the different servers.
> >>
> >> You could still configure those proxies to behave in the same way
> (insert/modify the S-E and Min-SE header field values in the same way) when
> it comes to the session-timer.
> >
> > Absolutely correct. Having proxies use the same consistent rules should
> be sufficient.
> >
> > My point is that we cannot define proxy behavior based on having a
> transaction in progress. This is only non-ambiguous and implementable for a
> UA.
>
> If the proxy is not aware of transactions, it could always behave in the
> same way, i.e., always insert/modify the same S-E and Min-SE header field
> values in INVITEs and UPDATEs.
>
> I really see no reason why a proxy should suddenly change session timer
> behavior - especially a proxy that is not session aware, or aware of other
> ongoing transactions.
>
>
Proxy can be dialog aware but not aware of all the transactions in the
dialog. Proxy behavior most likely must be defined in a way that the rules
by which it inserts S-E and Min-SE headers should be consistent
throughout the dialog. I do not see there is a reason for a proxy to
suddenly change session timer behavior during the dialog.

Behavior of UA should be defined in such a way that they can change S-E and
Min-SE headers, since B2BUA scenarios can cause such behavior. Doing this
can be limited in scope since UA are obviously both transaction and dialog
aware.
_____________
Roman Shpount