Re: [stir] Making STIR SIP messages smaller

Keith Drage <drageke@ntlworld.com> Wed, 14 April 2021 00:52 UTC

Return-Path: <drageke@ntlworld.com>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FBF73A0925 for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 17:52:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ntlworld.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 I4mytlWZuaqH for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 17:52:45 -0700 (PDT)
Received: from know-smtprelay-omc-11.server.virginmedia.net (know-smtprelay-omc-11.server.virginmedia.net [80.0.253.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9209D3A091F for <stir@ietf.org>; Tue, 13 Apr 2021 17:52:44 -0700 (PDT)
Received: from [192.168.0.17] ([82.26.25.107]) by cmsmtp with ESMTPA id WTlpljuxJOvGxWTlplj0yN; Wed, 14 Apr 2021 01:52:41 +0100
X-Originating-IP: [82.26.25.107]
X-Authenticated-User: drageke@ntlworld.com
X-Spam: 0
X-Authority: v=2.3 cv=RZUk9Glv c=1 sm=1 tr=0 cx=a_exe a=5uhVmIoQh2q3ax+sUJyMqg==:117 a=5uhVmIoQh2q3ax+sUJyMqg==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=w1VtefKfAAAA:8 a=bEYyUT_HAAAA:8 a=pGLkceISAAAA:8 a=48vgC7mUAAAA:8 a=8mx7ytb6AAAA:8 a=kXltoCp-Rl-ZJ-Dn6-wA:9 a=QEXdDO2ut3YA:10 a=OvWjUINGv4cA:10 a=G41qlFVuVTIA:10 a=UqCG9HQmAAAA:8 a=4Afhuzloym0KNrrxjCMA:9 a=C_4btVmJwhqqfhjq:21 a=_W_S_7VecoQA:10 a=xm8PXHvXF9WL09pmvKgj:22 a=NbMfoNawL6cA-XcZdjri:22 a=w1C3t2QeGrPiZgrLijVG:22 a=ji-n_GuzWAb7jJiiE4LE:22
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1618361561; bh=9tERlYoKHBbPGycyS1nytjjWQvJuAnaDFGQ8ukdAbLM=; h=Subject:To:References:From:Date:In-Reply-To; b=2mDyXik3ktObtXi+2wXQ0/RsEPzWfU6Qhfx/10VDknCh7B6I5AjrSOE3TI/HODTEE 1s1TL8jQ73UCWqRRhHCxBEjM4n0NCK4ToU4JoNR83zgQZgEPfZdFatJ/BGmIZZwFH7 Lv+/Zty6CC9r19Jx9nWaqNlKLi6fkoENtaeBvo7VgOSgTz7bsWh9z7kB2O4rtFI1Ka C3FM6rs3MDvPqJuseReuQpqOsDa/h0nS+DOwG5kQU7sxhZ8DXxy8Y3sd31RLKc+vfS waIUR9zxK995qo6F+uImryOqwZk7dyBFTkvlKjUTh+RlYz+7WKZjxVahPEwMvUZsp9 4vlQmei7L74qQ==
To: stir@ietf.org
References: <adc8bd10-a04d-aff5-e03f-183f0d59c22c@petit-huguenin.org> <5308A309-85DC-4440-ABE9-6C1EEB4E0FEE@chriswendt.net> <CAD5OKxsRh5pgYbc6ULL2c7nCUuAfQiM=r78vxkd0WWg0veDkjA@mail.gmail.com> <E0562367-B7E8-4935-A71A-60D2C105F850@chriswendt.net> <BN6PR11MB39211A0A9BB35EB34E1789C599709@BN6PR11MB3921.namprd11.prod.outlook.com> <19194256-B61E-47D6-B1F6-5317F2F7BE90@chriswendt.net> <BN6PR11MB3921F5DBEA3719F5DB0C31BC99709@BN6PR11MB3921.namprd11.prod.outlook.com> <CAD5OKxsswce0vHSZdc1UYS6ie2D7ut6ZDmc8MUX7Jnzyim9utQ@mail.gmail.com> <AM0PR07MB3860C3C820955494240B8FE0934F9@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAHBDyN7SuuKb7kKGa1NN9rSpZ1s+wo4GVJq7DjRDt8UbaSHYrA@mail.gmail.com> <CAD5OKxugVqbw4s26Cixe30G3-5QaLLkyvn3L0j+QYfinVaf05g@mail.gmail.com> <27B6DE19-FD81-4204-8E8B-9E610A11884C@chriswendt.net> <CAD5OKxvX+MWkPwX0YYqJ_B=5E45Qr3Bm-j1oaUYAKDs0yyNXRQ@mail.gmail.com> <AM0PR07MB38609289E7305E9B6E4874B6934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Keith Drage <drageke@ntlworld.com>
Message-ID: <e801cce8-26a1-384d-a593-aea804123fd7@ntlworld.com>
Date: Wed, 14 Apr 2021 01:52:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <AM0PR07MB38609289E7305E9B6E4874B6934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------3F524BEDCD855C310D165FAC"
Content-Language: en-GB
X-CMAE-Envelope: MS4wfKE8RUNE2igiHMfsjNmx/18hYwlxapCazUVCULi2nhablr33GAj84AUp93tXrFFuhkLMDmLl04JuspibdtIm8qqkD8HN8pftUKj1jNXGXAuhYtHiVfcv X25CsalywxD/pxfbkxw4GZrmfJDP7bWLixq+6McfN7SHN5tIxhtffhAj
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/aNt7SiB9SWXpK-MAkpx0Y2CTGnc>
Subject: Re: [stir] Making STIR SIP messages smaller
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Apr 2021 00:52:50 -0000

I have memories of SIP message length being discussed way back in days 
of the SIP working group, i.e. pre SIPCORE, precisely in regard to the 
UDP versus TCP question. And all the issues relating to using TCP were 
raised at that time.

The answer at that time was essentially that when message lengths get 
long, TCP is the way to go, and that TCP is mandatory to implement in 
any case. No mileage was seen to be gained to making SIP more "UDP 
friendly".

Talking to some of my own implementors at the time, some of the problems 
identified with TCP were seen by them as just being poor software 
design, rather than inherent problems.

One point I would make is that if this is a problem, then STIR is the 
cause of the problem, rather than the body that needs to solve the 
problem. SIPCORE should be brought into the discussion.

Keith

Co-chair of the SIP WG at the time

>    “For reliable transports, the response is normally sent on the
>
>    connection on which the request was received.  Therefore, the client
>
>    transport MUST be prepared to receive the response on the same
>
>    connection used to send the request.”
>
> I KNOW that there exist interoperability issues with TCP. But, if 
> people implement TCP support wrong e.g., because they misunderstand 
> the spec, shouldn’t we then instead clarify the spec?
>
> Regards,
>
> Christer
>
> On Tue, Apr 13, 2021 at 4:14 PM Chris Wendt <chris-ietf@chriswendt.net 
> <mailto:chris-ietf@chriswendt.net>> wrote:
>
>     Would be good to understand better why, i have not heard that
>     feedback from the STIR/SHAKEN community lately or maybe folks have
>     given up complaining :)  While there was much talk about it maybe
>     2-3 years ago, those conversations have been pretty quiet as of
>     late. As far as i’m aware much of the equipment both commercial
>     and open source and deployments have adapted and adjusted, but
>     maybe there is parts of the eco-system that haven’t gotten there yet.
>
>     -Chris
>
>
>
>         On Apr 13, 2021, at 1:54 PM, Roman Shpount <roman@telurix.com
>         <mailto:roman@telurix.com>> wrote:
>
>         Unfortunately, the message increase caused by the Identity
>         header causes a call failure rate increase of at least a few
>         percent. There is a substantial number of deployments affected
>         by this and unlike things like History-Info, this feature is
>         now required by law.
>
>         _____________
>         Roman Shpount
>
>         On Tue, Apr 13, 2021 at 1:50 PM Mary Barnes
>         <mary.ietf.barnes@gmail.com
>         <mailto:mary.ietf.barnes@gmail.com>> wrote:
>
>             Yeah - like nearly 20 years ago when we added headers like
>             History-Info.   And, really if you want to use a text
>             based protocol, you surely can't have small message sizes
>             as a design priority.
>
>             On Tue, Apr 13, 2021 at 4:40 AM Christer Holmberg
>             <christer.holmberg=40ericsson.com@dmarc.ietf.org
>             <mailto:40ericsson.com@dmarc.ietf.org>> wrote:
>
>                 >I agree that we need to figure out a way to make Identity
>                 headers smaller. As it stands right now, the Identity
>                 header with "shaken" PASSporT type adds around 600
>                 bytes to an INVITE message.
>
>                 >This makes typical SIP INVITE messages go from around 1K in size
>                 to 1.6K, which is bigger than the UDP MTU.
>
>                 With or without Identity, didn’t that ship sail a long
>                 time ago? :)
>
>                 Regards,
>
>                 Christer
>
>                 On Mon, Apr 12, 2021 at 5:39 PM Alec Fenichel
>                 <alec.fenichel@transnexus.com
>                 <mailto:alec.fenichel@transnexus.com>> wrote:
>
>                     I guess what I am trying to say is that I think we
>                     should remove ppt from the examples because as you
>                     say, people tend to code to examples and smaller
>                     Identity headers would be ideal.
>
>                     I don’t mean to hijack this thread, but I have
>                     been meaning to bring this up anyways and it is
>                     related. Is there a reason I’m just overlooking
>                     for requiring the “info” parameter when a
>                     full-form PASSporT is used? If not, can we make it
>                     optional? The reason I ask is that with OOB, the
>                     transit provider receives a PASSporT out-of-band
>                     and then needs to construct an Identity header.
>                     Because of the “info” parameter requirement, the
>                     transit provider must decode the PASSporT in order
>                     to determine the “info” parameter. This is the
>                     only reason that a transit provider needs to
>                     decode the PASSporT. This isn’t difficult so it
>                     doesn’t really matter, but I figured I’d ask about
>                     potentially making the “info” parameter optional.
>                     Also, it makes the Identity header smaller which
>                     is always a good thing.
>
>                     Sincerely,
>
>                     Alec Fenichel
>
>                     Senior Software Architect
>
>                     alec.fenichel@transnexus.com
>                     <mailto:alec.fenichel@transnexus.com>
>
>                     +1 (407) 760-0036
>
>                     TransNexus
>
>                 _______________________________________________
>                 stir mailing list
>                 stir@ietf.org <mailto:stir@ietf.org>
>                 https://www.ietf.org/mailman/listinfo/stir
>                 <https://www.ietf.org/mailman/listinfo/stir>
>
>
> _______________________________________________
> stir mailing list
> stir@ietf.org
> https://www.ietf.org/mailman/listinfo/stir