Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
In cross-machine scenarios, pname matching will become ineffective. At this time, it will become difficult to match traffic such as BitTorrent.
We introduce dscp-based routing matching rules to solve this problem.
Image is from https://www.researchgate.net/figure/DSCP-field-in-the-header-of-IPv6-and-IPv4-packets_fig1_272538162.
Usage & Routing Format
Set dscp for the specific process on Windows
This section assumes you want to set a dscp to
qbittorrent.exe.First, launch the terminal (powershell):
win+x.Terminal (Admin)orPowerShell (Admin).Second, set up a new QoS policy for qbittorrent.exe:
In this example, dscp value 4 will be set.
Then, retrive the result to verify the success:
Set dscp in qBittorrent application
Setting DSCP is supported natively, but it has some issues and will miss some traffic, especially TCP traffic. This is because libtorrent set dscp after the application protocol handshake while proxy software split traffic at the very beginning the TCP handshake. At that moment, dscp is not set by qBittorrent yet.
You can find
peer-tosorpeer-dscpin the qBittorrent application advanced setting. You may need to pay attention that dscp is the value of tos divided by 4.Beta Was this translation helpful? Give feedback.
All reactions