Re: [tsvwg] Windows10 and DSCPs

Greg White <g.white@CableLabs.com> Fri, 15 December 2023 17:08 UTC

Return-Path: <g.white@CableLabs.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77630C14CEF9 for <tsvwg@ietfa.amsl.com>; Fri, 15 Dec 2023 09:08:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=cablelabs.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XrGgajduUQHR for <tsvwg@ietfa.amsl.com>; Fri, 15 Dec 2023 09:08:16 -0800 (PST)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2099.outbound.protection.outlook.com [40.107.243.99]) (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 11CE7C14F5E3 for <tsvwg@ietf.org>; Fri, 15 Dec 2023 09:08:15 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UYdbYOh0VkBEySKT9/rPONXgR7GW4+JuP4fTU1FjiWax4lpvFk07gpYCk/qvS7kgPtQBQ6drVug5WKOQM7Xx+0GFlisMwescPOnC6cIz6YFmMGQZUkEbFHlL4vjmB5SCVimnIDEVtCSZOvDEzTI0g9mnhqLfUvy0gm+VrPaCKWALPJg6Xom9GLouByrNurNM/pWnZDljd1XOJLPCUJM5wnghgY5kMqxOLLZhuxN9aAcgPHxZf0aLQnYNa5UjKwfb2njdnG5lJqMNdHVZt22gzRxUnY93t/bL9XSAybdIkmhgdLgargy0ipLwa6VEH6h2oO2KXCXBAD8hmN1EZV9nXQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/bHHeC6UQCvK/0emPLwoIrI46bVsTxSDQTfYR947lAs=; b=YKebKJn16H2/rec8xXW0nXag7gbQf4HlOAdJFqqklYDss04cXc1pJefFLBD6iBl6WMTIUipEk58yloaqkE+61+wXTZcgVgpVNucQ4fdYHtpGWAbceOMzET5HxvzFztcyNowxNehXplvvFiragbyD3IEt5YnW1wg7giKOPx3TOEeaiuYtL1N/404uc7Tzh6MGGRWkwFy8t0l/Tg6A/XqeXxDJDnn+z5fp1kEWe3Hb1W2/ogHJpvVTeM6zna7K+CTL+fJdqFh2bdxTOgy7nDMD+ccLE7pktZ3dHbRZGDpz3vojmOVvr/9m4COpMb8yutH+tQZwtvV+zFLs8BwQ5B2enw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cablelabs.com; dmarc=pass action=none header.from=cablelabs.com; dkim=pass header.d=cablelabs.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cablelabs.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/bHHeC6UQCvK/0emPLwoIrI46bVsTxSDQTfYR947lAs=; b=sXQZ9OJ5urKMElpZv0DV0PcL+YjrbDa+YCphOp0FCEmCowfvkIEOkB62ApzATvN8z8g/DvAQcGbMrUX27wm4qtlYqKFPo7aaWFzpJmq7IHqq0PJRRg6ttSe/ZMOCXn2ZkxtFW/BKed8m2Yxu3J3+t35yJAdT7a6vjcPSw23y0y4ggcV5U9QFHHVFZeVUJXgYVqZJXdnIQ9ctmiN0rURlej372a4R588JA6eAg8nV4H/Uq7J9Uxz25Z8Az1YmlOmZstAVsDDia1JcZODa0rr6ygtnNs6qN7KEhHVth4D0IFHbJtOD7/pprjby9+lNiilLSW9o1yZUpXXllcmwBSQQSg==
Received: from BN8PR06MB5892.namprd06.prod.outlook.com (2603:10b6:408:ce::25) by SJ0PR06MB7519.namprd06.prod.outlook.com (2603:10b6:a03:327::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.32; Fri, 15 Dec 2023 17:08:13 +0000
Received: from BN8PR06MB5892.namprd06.prod.outlook.com ([fe80::d00b:e0fa:21e6:4cdb]) by BN8PR06MB5892.namprd06.prod.outlook.com ([fe80::d00b:e0fa:21e6:4cdb%5]) with mapi id 15.20.7091.032; Fri, 15 Dec 2023 17:08:12 +0000
From: Greg White <g.white@CableLabs.com>
To: Sebastian Moeller <moeller0=40gmx.de@dmarc.ietf.org>, tsvwg <tsvwg@ietf.org>
Thread-Topic: [tsvwg] Windows10 and DSCPs
Thread-Index: AQHaL3Bmoh02BAA6h0OK7UZVjIYGy7CqHlgA
Date: Fri, 15 Dec 2023 17:08:12 +0000
Message-ID: <568D0DE8-04DE-49CA-8F1B-9111A002CC6D@CableLabs.com>
References: <7D3EAE0E-AF4D-4CBC-B8E5-877CB6097572@gmx.de>
In-Reply-To: <7D3EAE0E-AF4D-4CBC-B8E5-877CB6097572@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.79.23120117
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=CableLabs.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BN8PR06MB5892:EE_|SJ0PR06MB7519:EE_
x-ms-office365-filtering-correlation-id: 70a96c17-6ff3-4210-9f34-08dbfd906bd2
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: NfLDUp0ZuwKIVribL1Q8Hg5ySnHq8d8Q/foctvhGOt7esuq+h80xSrvuKsmzEZd4sP84W6WpnR6gCQnpJFPm/U6a8AKnNp07g+M2GptBHNK7gwKaGBOepH1MFu05EANlDQx4OF1Le4I09CV2MhPhrl8GN8KJ6uwzPrvZNAsilrsyWBO7QO+6a17ggQSh1XyrG83N2iuqv3INBCqVsQEozpqywIKvGExlq5GeAEWNUBCA7D8D3XCIECfsRkmzb6t3CRVTtTFAf51eTkwNq2pdd0owBzQ4ypQj2KNzKMWedsNxyq+tRfLK/DI+RDiP9rqj8SRCmnvOcttPkuHytJinq/9YnztqqHLhjmNONrIDbpTGgtX3Z//p7TU7V9zQE8xX7HXrdsbGT8BQN4Z/6vitBgy+O7ssfogZ277wwEdGyG09IKm103tN6y28XYtjp5nnV/Af9VTp2nkSQxk2+HHJALJzB//Ck7IacS+KzC0vKTDHpGKTcppqTD2RgGBwSj0JWIIgBH5u5MLGOhSOhf4X+CgjaqR8ojtScYeiGfu3HkVT5GT+9sJ+gidaxAu1iAUGvJqXNw0dmyd86l5dmzn8gCzbOZnqOSFqnYGxIHdXRsRjMqWebp0C5lw0CRCk1D7Rju6V2VkUzh4+SSeRDfr4QeJcf5bh/DPDKbH/8SYaLSPtWmUETtlfmc0Ve0hFV2i8RwazI4iQE8UWmsRmppJp49avn4F53abr9nJ88VMRqfs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR06MB5892.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(366004)(39850400004)(136003)(346002)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(66899024)(26005)(6506007)(2616005)(36756003)(33656002)(38070700009)(86362001)(38100700002)(122000001)(83380400001)(5660300002)(6512007)(71200400001)(76116006)(316002)(66946007)(91956017)(110136005)(8676002)(6486002)(8936002)(66556008)(66476007)(66446008)(64756008)(2906002)(41300700001)(478600001)(966005)(45080400002)(17423001)(21314003)(85282002)(45980500001)(460985005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: /xQ8YJmT9q+l8mQWgoVaxNiOBIztgEpKsTNnP/KKH3LJlxTppGZZxeOr72bmt87TZEJqAbLZwQYFzVp5V2wmbJ0Em876RU+/nAc17l69f6d724ilIszZG5Gx5UJ5giDzgVP5YhUkOnYoaRSGHKx7aafMZIDWlfPJV7Hsad4E6U0+PtjYFGu2UfimOOOszEjN1S7a52fPzy4kqMASV7CykEhPDGxdNxrsedO0tl+NswVEs7ro8G9ORgKFDd99zcdkMp4bSAVR5R6dEEz/0CZDlASR4ZVch16aBM/UGnDcDBXJF2e1XlBN09/JUZkKoz/HAjZRCIFIzY0hqZsu4wh2zdrFqghryWJsG6FJCwXbnPJagIDEC5jbK2tQ9ckJKuLqRWZo1XlMvd9utHlj8OZBT2ig0ZncZCrr0T82OW2F3fVG0aueQjzloYdDnchExxqvE+oMAEHblTwBfrA+C3fwTenrGedokE0rW5o5mNqrmkRu7vY0cqHtVCtfzH3d+Xx7dkegUqEAHi86ow3Js1Me18Dgt7RBDjQjb9RPFuIuhvAa1axHUHC6ADPG/uf3ECCLxti4yXYmPUvBdxLptdv0tzHGSRRf25Li2w8WMcc1cS3OQ5vXyBS8z7fWxiluzzmngHxunCKxMaelhx73RmJoU9UBVbGaQ+CgwszWNR1jrCYk0mdMB67Gl0HZgDIPXv683pdWFMeZ4+ejd6Lp5mTXbII3cO4mCvoI3PLYjqi8FLY1/5s9obEQAJ6IYjAQ3bizFTbHNBiYP//9eRlq4477DigqWg9RSGrwtOPQbuJ4rpZRtpEFfZKQ/nbo35Ae+iefv35jYkiwXqtPQE6kEYEXUw+zWjfsSaMxVr4tFaom8cBThYlZ2Xge40KVjsih9sL385mrGo1uItS6F5AmEqfpCCA1S96DOzuPIqxlwUeGfTScDptddYxijjoo+Y2rRrIA1s5t7JfiKz/PrIcVoexdflOYPg8bh3f6TH2khftsVuf8rjBuu+dO1v+PDy3PCykq9kpiZ4DVDBngxFgAWvU1J4gmcoYRUxnK/gcUb32Wd8esJkGzFilCBQHs5C1qwTtEC6u+GXtllrMsDuhjYYtIX/BSrWdWztftGfCwC1TiKluiLgsfWtXBP+e8VygXL+7daQq9z8KEshW8ZWA1A+bTmedWSmk+xDg9DmK83rJZiY0XRp//kXC9RmC+t8RLmvITf4R4cX5l5/8YP+g+qpvEpTBwEqwKLYZYmFfmzXhEdAYq5kdp3udH5LbtfN3PyPYap7TD3Rx3QId2oWFCL3fHj59zWc+dISk5GXUOD7LhEmHPgFmpC5mzr+fW057jg2xD30v+NrOQQ0NK9ZjLWl5kj3SprExbCCVZFYp83N7wRRVTg2OjA4oLPhvQnL9gBrsaLZs1UQTkx5R01Nb6T6/ywGHAMhjt8spGBcCJ1jpxEamREt+MneWm0ZQq1g30z5qFvT7IUtm0s+6IdEXZ0Bp4vdErNSfZ9SpPQZ3gtQvd8GzeMelXLQ3yYPwH+Tx9i5a9xOdCOpxU/lCrxnYwKq9zUuiPkWd3ZMF9/KiZSwwoQ6PDv4L1XLXJiJ1wIdztM8azZwv5HIeaFEsk2SoPs5g8FA==
Content-Type: text/plain; charset="utf-8"
Content-ID: <1C16FA6935EB7344BF587BD3690D65EC@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cablelabs.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN8PR06MB5892.namprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 70a96c17-6ff3-4210-9f34-08dbfd906bd2
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2023 17:08:12.8503 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ce4fbcd1-1d81-4af0-ad0b-2998c441e160
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: yyJP0xhrr17eLAMRrso+ZnMTee1hW/AgItiwg7WfQF7tUwvjpjn5YuNnosOQ9qQW1IQIKYV+0uN9qcLgn038uA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR06MB7519
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/IDdt8W2CIudatWJy9LfvP8C2nos>
Subject: Re: [tsvwg] Windows10 and DSCPs
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Dec 2023 17:08:20 -0000

Hi Sebastian,

Thanks for performing that testing and reporting the result.  I was under the impression that those settings were only available for Windows domain joined machines (managed by an IT administrator).  Are we safe to assume that this also works for DSCP 45?  If so, this could be useful for testing.

-Greg



On 12/15/23, 9:04 AM, "tsvwg on behalf of Sebastian Moeller" <tsvwg-bounces@ietf.org <mailto:tsvwg-bounces@ietf.org> on behalf of moeller0=40gmx.de@dmarc.ietf.org <mailto:40gmx.de@dmarc.ietf.org>> wrote:


Dear Greg, dear list


we had a few discussions about the usage of DSCPs under windows (e.g. recently in the comments of the Domos Latency seminar). 


The current NQB draft addresses this here:


• Traffic that is compliant with the NQB sender requirements Section 4.1 is unlikely to cause more degradation to lower priority Access Categories than the existing recommended Video Access Category traffic types: Broadcast Video, Multimedia Streaming, Multimedia Conferencing from [RFC8325], and AudioVideo, ExcellentEffort from [QOS_TRAFFIC_TYPE].




which refers to
[QOS_TRAFFIC_TYPE] Microsoft, Corporation, "QOS_TRAFFIC_TYPE enumeration", 2022, <https://learn.microsoft.com/en-us/windows/win32/api/qos2/ne-qos2-qos_traffic_type> <https://learn.microsoft.com/en-us/windows/win32/api/qos2/ne-qos2-qos_traffic_type&gt;>. 


A website that seems to imply that windows only offers access to a limited set of DSCPs. That seems not incorrect for applications using the qos2 header, but this is not the only way to assign DSCPs under windows. There is the group policy editor as well as XXX-NetQosPolicy under powershell:


Here I went and just tested whether I can use the following instructions to assign different DSCPs to ssh traffic from putty:


# windows QoS: https://docs.microsoft.com/en-us/powershell/module/netqos/?view=win10-ps <https://docs.microsoft.com/en-us/powershell/module/netqos/?view=win10-ps>
New-NetQosPolicy -Name "putty" -AppPathNameMatchCondition "putty.exe" -PolicyStore ActiveStore -NetworkProfile All -DSCPAction 46


Seems to work, and I confirmed via wireshark that putty's ssh packets actually use DSCP 46 (aka EF). I note that powershell needs to be run as administrator, and the policies do not end up visible in Local Group Policy Editor.




I also tried DSCP values 41, 42, 56 (CS7), and 51 and confirmed with wireshark on the windows10 hosts ethernet interface that outgoing TCP packets with source port 22 carried the expected DSCP value.


I only have windows 10 pro (version 22H2) available and did not test windows 11 at all, but at least for my version of it appears that all DSCPs are available, albeit under the administrator's control and not the application.




Best Regards
Sebastian