Что такое uTP(что-то с торрентами свзанное) и как его включить, вродь как это ускоряет закачку.
μTP — переимплементация TCP на основе протокола UDP с измененным контролем за переполнением, который реагирует раньше, чем соответствующий алгоритм в TCP. Таким образом, при увеличении загрузки канала μTP первым замедляется и отдает канал другим приложениям. При использовании TCP канал распределялся равномерно по соединениям, а поскольку у P2P программ обычно на порядок больше соединений, чем у других, они просто забирали под себя весь канал, увеличивая пинг и делая работу других приложений медленной или вообще невозможной.
μTP предназначен для более быстрого скачивания, так как работает по протоколу UDP, в котором обмен данными происходит быстрее, чем через протокол TCP. Ускорение достигается за счёт того, что торрент-клиент берёт на себя выполнение нужных функций, отсутствующих в UDP, например, клиент перепроверяет целостность данных и, если блок неверен, скачивает его заново. Также, провайдерам намного сложнее блокировать передачу данных через μTP, благодаря отсутствию строгих, формализованных отличий UDP пакетов обычного трафика (формируемого, к примеру, сетевыми играми) от трафика формируемого протоколом μTP, в отличие от TCP пакетов, по содержанию полей которых можно делать вывод о их принадлежности к p2p трафику.
Источник: http://ru.wikipedia.org/wiki/ОњTorrent#.C2.B5TP
Остальные ответы
μTP — переимплементация TCP на основе протокола UDP с измененным контролем за переполнением, который реагирует раньше, чем соответствующий алгоритм в TCP. Таким образом, при увеличении загрузки канала μTP первым замедляется и отдает канал другим приложениям. При использовании TCP канал распределялся равномерно по соединениям, а поскольку у P2P программ обычно на порядок больше соединений, чем у других, они просто забирали под себя весь канал, увеличивая пинг и делая работу других приложений медленной или вообще невозможной.
μTP предназначен для более быстрого скачивания, так как работает по протоколу UDP, в котором обмен данными происходит быстрее, чем через протокол TCP. Ускорение достигается за счёт того, что торрент-клиент берёт на себя выполнение нужных функций, отсутствующих в UDP, например, клиент перепроверяет целостность данных и, если блок неверен, скачивает его заново. Также, провайдерам намного сложнее блокировать передачу данных через μTP, благодаря отсутствию строгих, формализованных отличий UDP пакетов обычного трафика (формируемого, к примеру, сетевыми играми) от трафика формируемого протоколом μTP, в отличие от TCP пакетов, по содержанию полей которых можно делать вывод о их принадлежности к p2p трафику.
Включается в настройка роутера
В торент клиенте опция применить ограничение к uTP соединениям
Траффик по uTP имеет максимальный приоритет, DNS — минимальный. То есть при неограниченном uTP может задавиться DNS и загрузка сайтов по доменному имени может сильно замедлиться или вовсе пропасть. Так что смотрите именно по этому признаку. Если браузеры при включённом торренте работают нормально — можно не ограничивать.
Остальные ответы
подавляющее большинство пиров, которым клиент пытается отдавать, имеют в конце айпишника [uTP]. На скорость считаю не влияет.
Stas SSУченик (113) 7 лет назад
Ты ошибаешься. Только что убрал галочку с ограничения загрузки по uTP скорость порядка 25 мб/с поднялась. Очень даже влияет.
что бы увеличить в 2 раза скорость торрента надо установить одну программу.. какую. милый мой поищи на ю-тубе там много таких роликов. Мне помогло
Б. А. Г. И. Р. А, ты что наркоман? программы не влияют на скорость! ! есть фигня, накручивающая рейтинг, но РЕАЛЬНАЯ скорость зависит только от вашего канала, количества подключенных пиров и их канала))
UTP protocol: what it is, how it works and its importance in P2P networks
The uTP protocol is the acronym for Micro Transport Protocol. It works over UDP and acts as an alternative to TCP. It is used by the BitTorrent application, which is used to download files through P2P. It is also known as the uTorrent transport protocol.
It is basically a transport protocol whose differential point is that it uses unidirectional delay measures for its congestion controller. Keep in mind that an obvious problem that happens to many users is that when using BitTorrent the connection stops working correctly. It gets congested and it becomes difficult or even impossible to navigate normally, download other files, etc. Of course, it also depends on the connection we have.
This protocol was created to avoid this problem. Allows users to use Bittorrent without the need for the connection to be interrupted, since they can continue to use the bandwidth that remains free as normal. For example, they can continue to use the cloud, the browser or any program that connects to the network.
Why does this problem that we indicate occurs? BitTorrent uses multiple TCP connections. What this does is that it competes better against other programs and services when it comes to using the available bandwidth. It basically causes the rest to not be able to use it normally. This occurs because by having more TCP connections, it will have a greater part of the bandwidth as it is distributed proportionally to the connections.
The uTP protocol avoids limiting the program
One option was simply limit bandwidth usage BitTorrent program. For example, we could limit it to 50 or 75% and we always guaranteed a part for the rest of the devices and connections that we have to use, without problems.
But of course, this also creates problems. The user may not know exactly the limits of their connection, what percentage to apply, etc. You may not really get an upgrade and it might even cause BitTorrent to not work as it should.
This problem is solved by uTP protocol. What exactly does it do? It uses the bandwidth completely when there is no other application or service that needs to use it and reduces it even to the maximum if there is any other connection that needs to use the network bandwidth.
In this way we can use BitTorrent and make the most of its operation, but at the same time we are not interrupting the connection and leaving other devices without the Internet or even our own computer if we are going to use another program to access the Internet, such as simply browsing web pages.
In an ideal scenario, BitTorrent will use 100% of the available connection when there is no competition that needs to use the bandwidth and, in the opposite case, other services and devices will be able to use 100% of the bandwidth when necessary and automatically the downloader app will stop using it.
So what uTP does is use the TCP-based congestion control. uTorrent will not saturate the network, even though we do not have a connection limit assigned. A protocol that will allow downloading by this means and at the same time keep the connection in good condition.
Tips to improve BitTorrent download
We have explained what the uTP protocol is and how it works. Now, can we do something so that BitTorrent downloads go better and not have problems? We are going to give some interesting tips for it. It can especially be useful for those who have a limited connection.
Always use up-to-date programs
The first thing is to always have the programs updated correctly. This will allow us to make the most of resources, have all the news and make them work as well as possible. Very important both when talking about the BitTorrent program as well as the operating system itself or any other tool that we use.
This will also help us avoid security problems, as vulnerabilities sometimes appear that can be used by hackers to put our computers at risk. By installing the latest patches and updates we can avoid this problem.
Download the application from official sites
It is also important to focus on the program that we are going to use. There are different applications and although they all have the same end goal, not all of them will work the same. It is important to use one that is lightweight, runs smoothly, and works properly.
In addition, it is essential that we always download it from official and reliable sites. We must avoid third-party pages, since we could be installing a program that has been maliciously modified or that does not work properly.
Configure security programs
This is important. If we want BitTorrent to work well, it is essential set up well if we have an antivirus or firewall installed. For example, the firewall could be limiting the application’s connection and causing problems when downloading files. Also the antivirus, such as Windows Defender, Avast, Bitdefender or any other that we have, could be wrongly configured and be blocking certain applications.
Therefore, checking well that there is no security program interfering with BitTorrent is a good idea. We can always create rules in the Windows firewall so that it does not act on this application and thus make it work normally.
In short, the uTP protocol is very important today for BitTorrent connections. It avoids problems with connectivity by consuming all the bandwidth and thus being able to continue using other programs or devices connected to the network. In addition, we have also explained some tips to make the downloads work well and not have problems with speed.
- How to Upload Videos to LinkedIn and Share With Your Network? [Ulitmate Guide]
- 6 Free Online Tools To Identify Songs Easily
- Could your Amazon account be easily hacked?
- Why it is important that your VPN has WireGuard
- VPN or Tor: which is better to browse with privacy
- Steps to set up your home network from scratch
H Torrent/uTP — о протоколе и самодельных DPI в черновиках Recovery Mode
В 2009 году появился Micro Transport Protocol, сокращённо — uTP, можно ознакомится тут.
Суть задумки в том, чтобы не полагаться на TCP Congestion Control, которым под виндой рулить весьма проблематично, а самим управлять загрузкой канала.
uTP выявил много узких мест как у провайдеров так и у пользователей: ещё вчера прекрасно работающие роутеры превратились в тыкву. А некоторые пользователи обнаружили что торренты качаются на все 100 мегабит, не зависимо от тарифа.
https://ru.wikipedia.org/wiki/ΜTorrent
Жизнь с uTP
Протокол uTP
Версия 0
Начиная с uTorrent 1.8
typedef struct utp_pkt_s < /* offset - PacketFormat */ uint32_t connid; /* 00 connection ID */ uint32_t tv_sec; /* 04 */ uint32_t tv_usec; /* 08 */ uint32_t reply_micro; /* 12 */ uint8_t windowsize; /* 16 receive window size in PACKET_SIZE chunks */ uint8_t ext; /* 17 Type of the first extension header */ uint8_t flags; /* 18 Flags */ uint16_t seq_nr; /* 19 Sequence number */ uint16_t ack_nr; /* 21 Acknowledgment number */ /* 23 ext/data */ >utp_pkt_t, *utp_pkt_p; /* 23 bytes */
Версия 1
Начиная с uTorrent 2.0
typedef struct utp_pkt_v1_s < /* offset - PacketFormatV1 */ uint8_t version:4; /* 00 protocol version */ uint8_t type:4; /* 00 type (formerly flags) */ uint8_t ext; /* 01 Type of the first extension header */ uint16_t connid; /* 02 connection ID */ uint32_t tv_usec; /* 04 */ uint32_t reply_micro; /* 08 */ uint32_t windowsize; /* 12 receive window size in bytes */ uint16_t seq_nr; /* 16 Sequence number */ uint16_t ack_nr; /* 18 Acknowledgment number */ /* 20 ext/data */ >utp_pkt_v1_t, *utp_pkt_v1_p; /* 20 bytes */
Типы пакетов
enum < ST_DATA = 0, /* Data packet. */ ST_FIN = 1, /* Finalize the connection. This is the last packet. */ ST_STATE = 2, /* State packet. Used to transmit an ACK with no data. */ ST_RESET = 3, /* Terminate connection forcefully. */ ST_SYN = 4, /* Connect SYN. */ ST_NUM_STATES /* Used for bounds checking. */ >;
Шифрование
Заход 1: uTPControl
Заход 2: ng_utp
- ничего, просто мониторинг: есть счётчики по хостам, соединениями, сами таблицы с хостами.
- дропать пакеты с uTP: src ip:port + dst ip:port есть
- помечать пакеты: на L2 в VLAN заголовке PCP для тегированных пакетов 802.1P
- помечать пакеты: на L3 в IP заголовке — ip_tos — DSCP
- отправлять uTP — RST пакеты
Сигнатуры
Версия 0
SYN
‘udp[17] = 2 and udp[18] = 4 and udp[21:2] = 0 and udp[23] = 0 and udp[24] = 8 and udp[25:4] = 0 and udp[29:4] = 0’
41 = udp hdr len (8) + upd pkt data len
upd header included:
‘(udp[4:2] = 41 and udp[25:2] = 0x0204 and udp[29:4] = 0x00000008 and udp[33:4] = 0 and udp[37:4] = 0)’
RESET
‘udp[17] = 0 and udp[18] = 3’
31 = udp hdr len (8) + upd pkt data len
upd header included:
‘(udp[4:2] = 31 and udp[25:2] = 0x0003)’
Версия 1
SYN
‘udp[0] & 0x0f = 1 and udp[0] & 0xf0 = 0x40 and udp[1] = 2 and udp[18:2] = 0 and udp[20] = 0 and udp[21] = 8 and udp[22:4] = 0 and udp[26:4] = 0’
(udp[0] & 0x0f = 1 and udp[0] & 0xf0 = 0x40) => udp[0] = 0x41
38 = udp hdr len (8) + upd pkt data len
upd header included:
‘(udp[4:2] = 38 and udp[8:2] = 0x4102 and udp[26:4] = 0x00000008 and udp[30:4] = 0 and udp[34:4] = 0)’
RESET
rst — 4 bytes
‘udp[0] & 0x0f = 1 and udp[0] & 0xf0 = 0x30 and udp[1] = 0’
(udp[0] & 0x0f = 1 and udp[0] & 0xf0 = 0x30) => udp[0] = 0x31)
28 = udp hdr len (8) + upd pkt data len
upd header included:
‘(udp[4:2] = 28 and udp[8:2] = 0x3100)’
Обнаружение фильтрации
Заключение
комментарии ( 49 )
, —> Xlab , 19 января 2015 в 00:02 (МСК)
, —> Ivan_83 , 19 января 2015 в 00:18 (МСК)
, —> qw1 , 19 января 2015 в 00:24 (МСК)
, —> Ivan_83 , 19 января 2015 в 01:33 (МСК)
, —> qw1 , 19 января 2015 в 13:50 (МСК) * (был изменён)
, —> qw1 , 19 января 2015 в 14:00 (МСК)
, —> SaveTheRbtz , 20 января 2015 в 02:02 (МСК)
, —> Ivan_83 , 20 января 2015 в 07:17 (МСК)
, —> SaveTheRbtz , 20 января 2015 в 08:02 (МСК)
[1] openssl speed rc4
/usr/local/Cellar/openssl/1.0.1j_1/bin/openssl speed rc4 Doing rc4 for 3s on 16 size blocks: 75875715 rc4's in 2.99s Doing rc4 for 3s on 64 size blocks: 19906494 rc4's in 3.00s Doing rc4 for 3s on 256 size blocks: 5131209 rc4's in 3.00s Doing rc4 for 3s on 1024 size blocks: 1313093 rc4's in 3.00s Doing rc4 for 3s on 8192 size blocks: 163742 rc4's in 3.00s OpenSSL 1.0.1j 15 Oct 2014 built on: Sun Dec 7 02:14:31 GMT 2014 options:bn(64,64) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: clang -fPIC -fno-common -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes rc4 406023.89k 424671.87k 437863.17k 448202.41k 447124.82k
, —> Ivan_83 , 20 января 2015 в 08:31 (МСК)
, —> SaveTheRbtz , 20 января 2015 в 09:06 (МСК)
[0] linux 3.19rc5 dmesg
. xor: using function: generic_sse (7596.000 MB/sec) .
[1] rfc4492
Symmetric | ECC | DH/DSA/RSA ------------+---------+------------- 80 | 163 | 1024 112 | 233 | 2048 128 | 283 | 3072 192 | 409 | 7680 256 | 571 | 15360 Table 1: Comparable Key Sizes (in bits)