Score:-1

Why DSCP tag does not work on TCP in Windows 10?

mp flag

I tried to tag all packets from a certain program with Group Policy - QOS. But only UDP packets were tagged and all TCP still has tag value of 0.

enter image description here

Is this caused by Windows 10 or DSCP just does not work on TCP ?

Score:1
cn flag

TCP should use the same TOS for datagrams containing only TCP control information as it does for datagrams which contain user data. Windows does exacly that, so triple check that you are dissecting payload when checking.

Although it might seem intuitively correct to always request that the network minimize delay for segments containing acknowledgements but no data, doing so could corrupt TCP's round trip time estimates.

Also, check the source of your packets. Windows is usually very strict about DSCP tags. There is an API, which can set DSCP tags from within an application. However, this is only possible if you tell Windows that this access is permitted.

The following REG file enables the API:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]
"DisableUserTOSSetting"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\QoS]
"Do not use NLA"="1"

Without this, every packet created "manually" (using WinSock) is reset to DCSP 0. If you want to have a non-zero value set, check your application, too.

7E10FC9A avatar
mp flag
Thanks for answering. The program does not support setting DSCP value from within, so using QoS is the only option. I checked with Microsoft Network Monitor 3.4, all UDP was tagged and all TCP has zero value. Are you sure those registry works on Win10 ?
bjoster avatar
cn flag
Check the type of the packet(s) and if you are using a supported flag (like 46).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.