📜 ⬆️ ⬇️

uTP is open under the MIT license, and the first integration of this library

Today, Bittorrrent, namely, uTorrent developers have opened their uTP specification under the MIT license /
image
Source code in the form of a library written in C ++ can be downloaded on github
A new version of KTorrent 4.0 was also released.


UTP library has been added to it.
As well as some other changes about which you can read on the official website
The advantages of uTP are:
* It dynamically limits itself depending on the use of the Internet by other applications on the computer
* traversal of some NAT by STUN method
* If a packet is lost, then the protocol increases fragmentation, the initial fragmentation is 300 bytes.
Some providers say that their equipment is too overloaded due to the introduction of uTP, but you yourself think, if suddenly bittorrent is filtered somewhere, then uTorrent and soon other clients will increase packet fragmentation and create a similarity to a non-weak DDOS attack on equipment, you tell me a nightmare, horror.
But the beauty is to reduce the load on the equipment - it is necessary to allow and not filter traffic.
Those who disagree with me can disable uTP in your clients.

To disable uTP, do the following:
In the bt.transp_disposition variable in the uTorrent advanced settings, set the value you need.
1 - allow initiating outgoing TCP connections,
2 - allow initiating outgoing uTP connections,
4 - allow incoming TCP connections,
8 - allow incoming uTP connections

Thus, 13 (1 + 4 + 8), the default value in recent versions 2.x, means that you can accept all types of connections, but you can only install TCP yourself. 15

By the way, now uTorrent, depending on the conditions and types of the client, uses both uTP and standard TCP protocol, similar to Skype ...
You can read more about what uTP is here.

We are waiting for the addition of uTP to rTorrent and Transmission!

By the way, they put their uTP into free access after voting on their uservoise here
There is a lot of interesting things for which you can vote, for example, a client for Linux, the table of contents of the vote here

')

Source: https://habr.com/ru/post/94565/


All Articles