Re: [stir] Making STIR SIP messages smaller

Alec Fenichel <alec.fenichel@transnexus.com> Tue, 13 April 2021 20:33 UTC

Return-Path: <alec.fenichel@transnexus.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 C15A63A0AA1 for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 13:33:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 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, HTTPS_HTTP_MISMATCH=0.1, MIME_HTML_ONLY=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=transnexus.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 VgwCaJElpT6Z for <stir@ietfa.amsl.com>; Tue, 13 Apr 2021 13:33:35 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2081.outbound.protection.outlook.com [40.107.220.81]) (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 8A5073A0A87 for <stir@ietf.org>; Tue, 13 Apr 2021 13:33:35 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hwUKe+YVI5zt/PefmKBXpR6Frzd0Qp9rgZFYzr9na3ciUiiQ/XsuhNg3IE8HI+i5+1Xr2pEQ/TWqHktQO8L1oMRvG8ilaQbHKzLz2irINJrZCXvGdf+W/UE1wDmPSzXFqq7LXXnQdPVReX7G0MS9lVUqhtLlaKpVckX0o2uqkiBPPohx3SI1pYGKbDOFLn5P+m5mILrKz+yHq/GHIZDCuYTQ50GHAOLP+ZO8t7IIUlJrKdDhiz8eQmBFXdV88pU2BJcSmY1d2wn3mB+Hb7kfdJNE8YEHGpWBRmhincwGXM23uKdPHPWMlyr7pVuRFOxpcWdgx6zXzXv7cRYaXlM2Gw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yh73wHMuJWwUlIP+QIhS+n/VDNGQ1EyxWq+X+xsh54s=; b=gscxQBLxnzc14i5Xr90V1UVfPxwmLyO0c+HPRQjLX3F1qkrsfJuyzAppR9NtLf7XK5yN8qm5Rs9cbGt28hcw4qij/Uk8bwYyj/0e2/dZdxtpQ2EMAbQFsPtkZtzf8HYfmPzQ8JnKLlXlA9+3b5WyuMXl15EjtrTzSK12Z7TnAM3EM2sNcZ6rzFHKuaMGGR3EpvKReQwVtSeIr8vIyj8IjU0tcD21UsKznos27awPaDlwHJskrbqTijmT+qV7td97jQjmOboDqZblxyVRx9vyhqP7snAzrPey3r1YoqKdoB3D+xJRvFWoZgAYf7t8ZO8h7yM6K1k8P2EiOZyhrpmUxg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=transnexus.com; dmarc=pass action=none header.from=transnexus.com; dkim=pass header.d=transnexus.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=transnexus.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yh73wHMuJWwUlIP+QIhS+n/VDNGQ1EyxWq+X+xsh54s=; b=k8ZgAAO1sYtvifJTqpHPlc/ltrkB3j6PHNKg/QL7K8qUQqhhaje994z5JkzFD/wRLtP+PYczfkCLuZ9uVmUdGoOc6Axa+k3I+uopwFfQyU8l3rO7+HDD/oMre96U+TU+49NWXWmj6HvtOPyvAiVadRi0yJsUNUJH7ELeUKvZAz4=
Received: from BN6PR11MB3921.namprd11.prod.outlook.com (2603:10b6:405:81::20) by BN8PR11MB3553.namprd11.prod.outlook.com (2603:10b6:408:81::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16; Tue, 13 Apr 2021 20:33:30 +0000
Received: from BN6PR11MB3921.namprd11.prod.outlook.com ([fe80::848e:acea:1d08:c4a1]) by BN6PR11MB3921.namprd11.prod.outlook.com ([fe80::848e:acea:1d08:c4a1%3]) with mapi id 15.20.4020.022; Tue, 13 Apr 2021 20:33:29 +0000
From: Alec Fenichel <alec.fenichel@transnexus.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Chris Wendt <chris-ietf@chriswendt.net>, Roman Shpount <roman@telurix.com>
CC: Mary Barnes <mary.ietf.barnes@gmail.com>, Marc Petit-Huguenin <marc@petit-huguenin.org>, "stir@ietf.org Mail List" <stir@ietf.org>
Thread-Topic: [stir] Making STIR SIP messages smaller
Thread-Index: AQHXL++Xl7pzr7XMxE+dHwxRsHcdu6qyMf8AgACI+ACAAAExAIAAJy2AgAADjYCAAAA39A==
Date: Tue, 13 Apr 2021 20:33:29 +0000
Message-ID: <BN6PR11MB3921AF3D3F4B7486F6E1205B994F9@BN6PR11MB3921.namprd11.prod.outlook.com>
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>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: ericsson.com; dkim=none (message not signed) header.d=none;ericsson.com; dmarc=none action=none header.from=transnexus.com;
x-originating-ip: [71.199.144.180]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 461b324e-62c5-438c-70a8-08d8febb6605
x-ms-traffictypediagnostic: BN8PR11MB3553:
x-microsoft-antispam-prvs: <BN8PR11MB35531FFCC62C6B5A3D0647B6994F9@BN8PR11MB3553.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /iwIulD2wsMIdd8nfDewE1jM0/q8ntYaB3BHeQd4z/h1WkgNk+G1bpIb9hwly2ztE1Yom9W5jWDpS+MSGz4PeE7D+lFRRk3Gn7VINk6WWhHvWnxyoHQPF89rAqU8JWmWwh4sOfY+F5ouIluvsSAEkuJF1YDrcr0Ey3QqA3PYB5dMvB4Ce4ZgHHjlGJZEvMLylAEqDvN/q2gcYWd2XtEjmPZfAxU2OuLYg41jlQJxsbjx6D2fJ0lkmnW/B/ZL20BcmnaLbOHI8gZ0zOHEHGgYaCbJ1/MwLmrdv+fPq7XXJmr5v3btrxYw6B+8cy3hJU0u6k1FxX9fFKKuwFU1L1AAxOSYJQT7KWKhIuvswb+vYILsX3ScOCh3FHTyzSvKQkK1dG+AiCU7jQA8rq/jdryCQENdFsvIehVg5VoXwNROYbSxgRCStBrvwHTVBiIno0ESmAYx8Z7/fAs6HVg6x8JjaRcotFMOzSboF38xTjBlUFC+5M1RSi384wOj8jc0FqfrhbH3Pg9rZuiaJRJjNZYwA8q25BFF67wcHa53/IhldisHNly55WaB27g20CffoeOEAfWiKmjASvKjIbPU9DLFENX5VSLQ3CQgmjdPV20Cull3A93zwl4UbbOjgqC+A4jF0Lkqzkvqey+DyJayh0xth4zG+oQ+82OwZMvE0fAxlHn44S16ySMWJNqqFAMFiv76
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3921.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(366004)(39840400004)(396003)(44832011)(26005)(8676002)(316002)(4326008)(99936003)(38100700002)(122000001)(8936002)(186003)(33656002)(7696005)(66556008)(15650500001)(52536014)(54906003)(110136005)(2906002)(71200400001)(166002)(64756008)(66476007)(76116006)(66946007)(66446008)(66616009)(966005)(9686003)(5660300002)(86362001)(55016002)(478600001)(6506007)(53546011)(83380400001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: f0FgJ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y/0qvnWG+sw8P7y9gml6PlhUfhjdGkqAHqR2Ape/UxrADYKJ6hSxAXffXr7Tvnl2RH/Y6rlQJoKEXwsX8rarX7mRviwfBhOYoaUeByX+gPssA8kYw17WRST5nCxehvbP25AQako24caimu6miUdZmR8Gh++EGPATTFJab0Tzd71bsWnRhyJ4GrU7BB9z1aUua+CIs3n/7jMt2ojNw/otCFUNeJ2ypIyFeOlZLDpIeajZpOG8YlcHTEvMhkmtwI27mKVn/iy++o3XBnlbPsKf0EQfIFAdtYPAp9qw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha256"; boundary="_E0E3DAD8-A740-5B4B-B87E-B5E6693B34B1_"
MIME-Version: 1.0
X-OriginatorOrg: transnexus.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB3921.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 461b324e-62c5-438c-70a8-08d8febb6605
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2021 20:33:29.4928 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8e2972a2-d21d-49ac-b005-18e8ceaadee3
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: snz+0lo/JtsJ1iRo3PYAhxUKu2Rh/PRyjLE2pczdJdhiAxQd+L/HfrLGVigN6BFsA7AhKsOsevnevOAo50tE/Un9S32mBo8YkFqbKqDtAZc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3553
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/3Z4jL4Q3rRWuv1B66LB1O9Kw8lk>
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 20:33:42 -0000

My motivations from making the “info” parameter optional aren’t really about the SIP message size. When using OOB, the transit provider receives one or more PASSporTs (not Identity headers, but PASSporTs) and needs to construct one or more Identity headers. If the “info” parameter was optional, then the transit provider wouldn’t need to decode the PASSporT to extract the “x5u” to set the “info” parameter. The transit provider would also not set the “alg” and “ppt” parameters either. So,

 

  1. Can we make the “info” parameter option?
  2. Can we not include the “info”, “alg”, and “ppt” parameters in examples that show full form PASSporTs because as previously mentioned, implementors often code to the examples and the STI-VS should be implemented to support not receiving these parameters?

 

Sincerely,

 

Alec Fenichel

Senior Software Architect

alec.fenichel@transnexus.com

+1 (407) 760-0036

TransNexus

 

From: Christer Holmberg <christer.holmberg@ericsson.com>
Date: Tuesday, April 13, 2021 at 16:27
To: Chris Wendt <chris-ietf@chriswendt.net>, Roman Shpount <roman@telurix.com>
Cc: 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>
Subject: RE: [stir] Making STIR SIP messages smaller

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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fstir&data=04%7C01%7Calec.fenichel%40transnexus.com%7C99df633cb25b4b14bcf808d8feba8598%7C8e2972a2d21d49acb00518e8ceaadee3%7C1%7C0%7C637539424389189849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=abdhZDh1U6ToIh%2FIQ7np45B4hIoduS1t975MzPpgZ2U%3D&reserved=0" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/stir