Re: [stir] Making STIR SIP messages smaller

Roman Shpount <roman@telurix.com> Tue, 13 April 2021 21:21 UTC

Return-Path: <roman@telurix.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 2BC693A0EA0 for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 14:21:53 -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=ham 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 QPp8L4HquZqe for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 14:21:48 -0700 (PDT)
Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 09ABB3A0E97 for <stir@ietf.org>; Tue, 13 Apr 2021 14:21:47 -0700 (PDT)
Received: by mail-ot1-x32c.google.com with SMTP id t17-20020a9d77510000b0290287a5143b41so6218616otl.11 for <stir@ietf.org>; Tue, 13 Apr 2021 14:21:47 -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=P99s41KFdAneHfwzRl0TZ26/km24C7qoYC0AoZEqGQY=; b=umuQubJ8rS8lDVMNYJHzBy+DxJF0WjpfRWe6ieag4cu+CbC0t7MrMuiA2PnOGRFzAj ExPgfSg30tYYwDpWsz5gSlnNJczdHrBP7pyHLTFsZVCwvlbTQMp/I/bz0UfHe9pfoTjr WLWM5cbcsTcXbS30oRqxODfvSN9a4Iryd0id7Kju+E1+jZCR1eUOEYxr38QQr80XCzcX vR7SIjCU8lgRGRwHZuqY5zSBmTp63r6cyGkWip5vJe3SIIQI2rBU5L66/ZZIT+EuhYP/ 49o8yV7P3Vq6a0oOgPB/AqZcl4DcnQ0X1WtrFh/fOpJrbE77BL6Jkb5vuDXTWzEDuqV6 i+kQ==
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=P99s41KFdAneHfwzRl0TZ26/km24C7qoYC0AoZEqGQY=; b=UM5nX//zQqwNND37C6Tlh4MIOxKPoQ/3JRqlsL2iHrZj+3yUFwQB9Ju/X47ABmiZP4 WU+QfMRG1F8SEOVqpfCTMJI6VkusqUNc0oeRZ26UX+xIAoRFPoA+HfFQlTANur50BCw/ giCpkwD8Rjd/kiNitIt8msPatHSf0Ko/CZBXenRm05QlcY72Z4MQ1wNRG+/5Vw/qRooU L+asaxIf8ljZ6h/ZZXDo3o1WkTG57GvVK6JahEL4mqRR5m2rtHEM91i4bReYqdaoQUmm K7MuQ6G6z1lSN4YeCvYxrFqQ5MlYYYSkEFDYCvaRruKB1q/ksHF3MqHu6XrTerYYUZRo hElw==
X-Gm-Message-State: AOAM532PnbQq3/Hs7+YchBiD2t1foLJnBJct5QOlKxGnIq5zlBS5f2pi HqTu6Jmo5tyO5VUfpzOlPTj9b1yGMhSo6g==
X-Google-Smtp-Source: ABdhPJzsw8T8tFm7Zmliz9S/bp/IfZafXoQyO8WYgYSSld1l4h59Ot2YQhl6IpPA/CwWOYvpwTpbow==
X-Received: by 2002:a9d:812:: with SMTP id 18mr1637523oty.158.1618348906151; Tue, 13 Apr 2021 14:21:46 -0700 (PDT)
Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com. [209.85.167.178]) by smtp.gmail.com with ESMTPSA id 8sm2429875ott.68.2021.04.13.14.21.45 for <stir@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Apr 2021 14:21:45 -0700 (PDT)
Received: by mail-oi1-f178.google.com with SMTP id d12so18403906oiw.12 for <stir@ietf.org>; Tue, 13 Apr 2021 14:21:45 -0700 (PDT)
X-Received: by 2002:aca:c08a:: with SMTP id q132mr1398908oif.5.1618348905042; Tue, 13 Apr 2021 14:21:45 -0700 (PDT)
MIME-Version: 1.0
References: <adc8bd10-a04d-aff5-e03f-183f0d59c22c@petit-huguenin.org> <CAD5OKxvqYSRjaA_eR=nX4sNgTbAtQ3dSqqgAe0-y9EzbA-dRug@mail.gmail.com> <AM0PR07MB386063A2162B5C07319225D393739@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAD5OKxuyT4bmNBYgSMN-9M-c1Tr=gO1rQAg1D7xGSYx=bP9K3A@mail.gmail.com> <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> <AM0PR07MB3860A315725459B489F06FA1934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB3860A315725459B489F06FA1934F9@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 13 Apr 2021 17:21:33 -0400
X-Gmail-Original-Message-ID: <CAD5OKxsoe_WEMeGdyT7f-w47wrZcW1fvU4CKmQrLfidG1S5X9A@mail.gmail.com>
Message-ID: <CAD5OKxsoe_WEMeGdyT7f-w47wrZcW1fvU4CKmQrLfidG1S5X9A@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Chris Wendt <chris-ietf@chriswendt.net>, Mary Barnes <mary.ietf.barnes@gmail.com>, Alec Fenichel <alec.fenichel@transnexus.com>, Marc Petit-Huguenin <marc@petit-huguenin.org>, "stir@ietf.org Mail List" <stir@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009b976205bfe137ae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/2No00M9zDqH7z3y10T4tIXP3YNk>
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: Tue, 13 Apr 2021 21:21:53 -0000

The average SIP INVITE size for the US PSTN is 1KB without Identity. This
was working great with UDP for most customers (do not confuse them with SIP
standard implementors). When these people start seeing an extra 2-3% of
call failures, they blame everybody but not their PSTN provider SBC vendor.
The only thing they care about and need is to keep their phones ringing and
calls completing.
_____________
Roman Shpount


On Tue, Apr 13, 2021 at 4:27 PM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi,
>
>
>
> SIP implementations need to support TCP, and they need to support long
> messages. If we wanted to make SIP more compact, there are tons of things
> we could do.
>
>
>
> And, if an implementations makes it or breaks it based on presence of the
> info parameter, that implementation is walking on very thin ice…
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
> *From:* Chris Wendt <chris-ietf@chriswendt.net>
> *Sent:* tiistai 13. huhtikuuta 2021 23.14
> *To:* Roman Shpount <roman@telurix.com>
> *Cc:* Mary Barnes <mary.ietf.barnes@gmail.com>; Christer Holmberg <
> christer.holmberg@ericsson.com>; Alec Fenichel <
> alec.fenichel@transnexus.com>; Marc Petit-Huguenin <
> marc@petit-huguenin.org>; stir@ietf.org Mail List <stir@ietf.org>
> *Subject:* Re: [stir] Making STIR SIP messages smaller
>
>
>
> 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> 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>
> 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> 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> 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
>
> +1 (407) 760-0036
>
> TransNexus
>
>
>
> _______________________________________________
> stir mailing list
> stir@ietf.org
> https://www.ietf.org/mailman/listinfo/stir
>
>
>