Re: [MMUSIC] Finding a max length of "a=mid" attribute
Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 03 March 2021 14:31 UTC
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 30AD73A13CE
for <mmusic@ietfa.amsl.com>; Wed, 3 Mar 2021 06:31:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level:
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=alum.mit.edu
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 1ibcxrndNsiL for <mmusic@ietfa.amsl.com>;
Wed, 3 Mar 2021 06:31:56 -0800 (PST)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com
(mail-dm6nam10on2078.outbound.protection.outlook.com [40.107.93.78])
(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 47C7C3A13D0
for <mmusic@ietf.org>; Wed, 3 Mar 2021 06:31:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=hMfkf/vkYaXunPKAMA8jJY/Z5Bnbr2NV37tF8kvx8eQ4hcL5/9KdVSVhMa3Q0h81/riSilkxm65DtbPkkIJQmz+8R550+/adLgbqpSgYvU5wfZMlIu12bI5mzz3envJPYouZme3zKIkiQIHxfAmBAbPtzSM3cwd9Vkk2Se/ONCoEPATgrQr0HS+MWMWvSe1o7RfgAfjwYrGMUur8B2gh1jkjAWgpLSUsM2ZvSQ2yGcm02LD/CTMd/SqfeJAW0Rx6OZoTr9B15rd756vNkbzQ8XEJt1SRGXzgrctsBqsUqCt2JjPOAYxPPl57ptrJMihfw/QXgonbn4lvQVmeJCAs8w==
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=aLjiaiDWdmc0VqUwXJ5fcSFvIu6Jouml5jjonn0ojm8=;
b=Lf8xvOgUu+VsNhhd9/hvKbLRM00tF2G5a/RekQytlc8jOsAoky54dEbKsSSHVpPxK/HSMFUWuk2hZLJch3kcrCNUbxrU53NI0B7G2dI+AWA4UgKD0vt5CtiVdG60gljedk5weWYgqp6BabG5KQzXhwXEf1U1WTlRIybz6vWAGA+ooApYsO4fpwJifOfj7kesmecZWe3vgFHuLQNLvzvind0qIguGyUNKAzkonJ93+I3hng0sPokJMf/fkkCnQkUTenJfQG4S2oC2O9GcbsYw/qLxsitH9IPmW50wevuiLGbf1uTHZbbnHY37GwlqRBBGiCGAtnrig8QFItWyKj+4rQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is
18.7.68.33) smtp.rcpttodomain=ietf.org smtp.mailfrom=alum.mit.edu;
dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message
not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu;
s=selector2;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=aLjiaiDWdmc0VqUwXJ5fcSFvIu6Jouml5jjonn0ojm8=;
b=FNBXOmf8CpCJTBcLq9nUc+BctVSVHYwKbJc8R2t62KaxIfek9oY8qlnrnt7fZUCOhfFEGLbSMgzFALQmOCwJ+cpoJTQbersROGaHMSBCo71GFey8bGBCUN73V4II43C70xhfwtf65jq/srwe0ogFBHRbsBenuFV+VZ5BhFGUiRg=
Received: from CY4PR22CA0093.namprd22.prod.outlook.com (2603:10b6:903:ad::31)
by BY5PR12MB4919.namprd12.prod.outlook.com (2603:10b6:a03:1d6::8)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 3 Mar
2021 14:31:54 +0000
Received: from CY1NAM02FT042.eop-nam02.prod.protection.outlook.com
(2603:10b6:903:ad:cafe::78) by CY4PR22CA0093.outlook.office365.com
(2603:10b6:903:ad::31) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend
Transport; Wed, 3 Mar 2021 14:31:54 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33)
smtp.mailfrom=alum.mit.edu; ietf.org; dkim=none (message not signed)
header.d=none;ietf.org; dmarc=bestguesspass action=none
header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates
18.7.68.33 as permitted sender) receiver=protection.outlook.com;
client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
Received: from outgoing-alum.mit.edu (18.7.68.33) by
CY1NAM02FT042.mail.protection.outlook.com (10.152.75.136) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.3890.19 via Frontend Transport; Wed, 3 Mar 2021 14:31:54 +0000
Received: from MacBook-Air.localdomain (c-24-62-227-142.hsd1.ma.comcast.net
[24.62.227.142]) (authenticated bits=0)
(User authenticated as pkyzivat@ALUM.MIT.EDU)
by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 123EVqvN025043
(version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT)
for <mmusic@ietf.org>; Wed, 3 Mar 2021 09:31:53 -0500
To: mmusic@ietf.org
References: <e3aef40f-8f4e-5205-3ac1-b3e715c5e5ad@alvestrand.no>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <463c848c-d171-7184-d65b-9ea95438d442@alum.mit.edu>
Date: Wed, 3 Mar 2021 09:31:51 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0)
Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <e3aef40f-8f4e-5205-3ac1-b3e715c5e5ad@alvestrand.no>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 0acfbfc9-da9f-4156-1222-08d8de5117b2
X-MS-TrafficTypeDiagnostic: BY5PR12MB4919:
X-Microsoft-Antispam-PRVS: <BY5PR12MB491971C646469593D351392DF9989@BY5PR12MB4919.namprd12.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:7691;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: CNPCAuQJgGHWMicnvQAKk52wb3RlB4wTftlOkoOR6RUMeV7xUmVLJeL6B4zKKBMBprj49zE7khC078rH/GypoKDPkraWHHe4k3YSZj7DpeHrXA8XJEykb+cu6N/cGoBDGZ8Xb9Hc3S+aPfTpnCTZ1daO8O8O0v6DtXFGmC2XyBA7VSJPJhO8w3ere281Jrey7pzWgvV/wbTOH+tJK7bPjrHn4+xVjItPVY2uozjOKDlr4ZOoGHb0Yi3VPnK9etSwXH9F5m4n6g1XQ+f2OqPqCWNobPXvaBM6M+KluDco35XyNHwfU5glpagJ9fCxrJKm/IunUbIWx7NyBjy3uXV2bWmWWMTZe17drQI3cweHW/v4E6KpOlVA3F2UcgGW3mrNwqeAWY9/XlQm9rsk8XkRMAfWNUGgG3k5Z2wuAHP8jKGdWkQ1iDcpXzy26yMIPaG0Szd4SmqsQkx6X1guWyHe0HdEWGS+bHUxxntGd5OwZMiJG350G4xrfYH+t/3tjO4Y8Zwk/cicrsjuLq2qQxjOIeY0fxrZHempugYF/oDzW8rsumGClmupppgffeLwSigfnhT0fLWlgvjbE9G5O+x8msWJiqlGSB8eiG09/fv8GMbvFIw3RE2edsjjPZM3jyxrDiHmvBfC9WCy3tc16u163R1uDqgvs6bKe8YmOA12tAFzcIBAzW8zXEdaUaDoXSGv
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:;
IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu;
CAT:NONE;
SFS:(39860400002)(396003)(376002)(346002)(136003)(36840700001)(46966006)(7596003)(83380400001)(82740400003)(2906002)(478600001)(6916009)(70586007)(356005)(70206006)(31686004)(53546011)(316002)(36906005)(786003)(8676002)(4744005)(8936002)(31696002)(5660300002)(86362001)(82310400003)(2616005)(956004)(186003)(75432002)(336012)(26005)(36860700001)(47076005)(43740500002);
DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2021 14:31:54.2765 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 0acfbfc9-da9f-4156-1222-08d8de5117b2
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33];
Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT042.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4919
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/rKkfIxIvHzECuXSqy0p7-EEh4XE>
Subject: Re: [MMUSIC] Finding a max length of "a=mid" attribute
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>,
<mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>,
<mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2021 14:31:58 -0000
On 3/3/21 3:51 AM, Harald Alvestrand wrote: > I'm searching for the source of a max length limit on the "a=mid" > attribute. > > I couldn't find it in RFC 5888 (grouping framework) or RFC 8843 (BUNDLE). > > Does anyone remember where it's supposed to be? > > (I have code that will insist that it should be 16 bytes or less, but > I'm trying to verify that this is the correct limit.) Its defined as a token (from RFC4566/8866). And that is: token = 1*(token-char) There is no upper limit on the length. You can't impose a limit for implementation convenience. But practically speaking it is limited by the length of the message body that contains it, so you could code using an offset+length into the message buffer. Thanks, Paul
- [MMUSIC] Finding a max length of "a=mid" attribute Harald Alvestrand
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Paul Kyzivat
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Nils Ohlmeier
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Harald Alvestrand
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Sergio Garcia Murillo
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Justin Uberti
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Martin Thomson
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Nils Ohlmeier
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Paul Kyzivat
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Sergio Garcia Murillo
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Justin Uberti
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Harald Alvestrand
- Re: [MMUSIC] Finding a max length of "a=mid" attr… Harald Alvestrand