{"id":93570,"date":"2020-09-07T19:42:05","date_gmt":"2020-09-07T17:42:05","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2"},"modified":"2020-09-07T19:42:05","modified_gmt":"2020-09-07T17:42:05","slug":"vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","title":{"rendered":"Lansarea libtorrent 2.0 cu suport pentru protocolul BitTorrent 2","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/blog.libtorrent.org\/2020\/09\/bittorrent-v2\/\">Prezentat<\/a><\/noindex> o lansare semnificativ\u0103 a bibliotecii <noindex><a rel=\"nofollow\" href=\"https:\/\/www.libtorrent.org\/\">libtorrent 2.0<\/a><\/noindex> (cunoscut\u0103 \u0219i sub denumirea de libtorrent-rasterbar), care ofer\u0103 o implementare a protocolului BitTorrent, eficient\u0103 din punct de vedere al consumului de memorie \u0219i al \u00eenc\u0103rc\u0103rii CPU. Biblioteca <noindex><a rel=\"nofollow\" href=\"https:\/\/www.libtorrent.org\/projects.html\">este utilizat\u0103<\/a><\/noindex> \u00een astfel de clien\u021bi torrent precum  <noindex><a rel=\"nofollow\" href=\"https:\/\/deluge-torrent.org\/\">Deluge<\/a><\/noindex>,  <noindex><a rel=\"nofollow\" href=\"https:\/\/www.qbittorrent.org\/\">qBittorrent<\/a><\/noindex>,  <noindex><a rel=\"nofollow\" href=\"http:\/\/www.mac-downloader.com\/\">Folx<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/lincetorrent.sourceforge.net\/\">Lince<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/getmiro.com\/\">Miro<\/a><\/noindex> \u0219i <noindex><a rel=\"nofollow\" href=\"https:\/\/sourceforge.net\/projects\/flush\/\">Flush<\/a><\/noindex> (nu trebuie confundat\u0103 cu o alt\u0103 bibliotec\u0103 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rakshasa\/libtorrent\">libtorrent<\/a><\/noindex>, care este utilizat\u0103 \u00een rTorrent). Codul libtorrent este scris \u00een C++ \u0219i <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/arvidn\/libtorrent\">se r\u0103sp\u00e2nde\u0219te<\/a><\/noindex> sub licen\u021ba BSD.<\/p>\n<p>lansarea este remarcabil\u0103 <noindex><a rel=\"nofollow\" href=\"http:\/\/libtorrent.org\/upgrade_to_2.0-ref.html\">prin ad\u0103ugarea<\/a><\/noindex> suportului pentru protocolul <noindex><a rel=\"nofollow\" href=\"http:\/\/bittorrent.org\/beps\/bep_0052.html\">BitTorrent v2<\/a><\/noindex>, care abandoneaz\u0103 utilizarea algoritmului SHA-1, ce prezenta <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52149\">probleme<\/a><\/noindex> \u00een selec\u021bia coliziunilor, \u00een favoarea SHA2-256. SHA2-256 este utilizat at\u00e2t pentru controlul integrit\u0103\u021bii blocurilor de date, c\u00e2t \u0219i pentru \u00eenregistr\u0103rile \u00een indec\u0219i (info-dictionary), ceea ce afecteaz\u0103 compatibilitatea cu DHT \u0219i tracker-ele. Pentru linkurile magnetice la torrente cu hash-uri SHA2-256 a fost propus un nou prefix \u00aburn:btmh:\u00bb (pentru SHA-1 \u0219i torrente hibride se folose\u0219te \u00aburn:btih:\u00bb).<\/p>\n<p>Dat fiind c\u0103 \u00eenlocuirea func\u021biei de hash afecteaz\u0103 compatibilitatea protocolului (un c\u00e2mp cu hash de 32 de bi\u021bi \u00een loc de 20 de bi\u021bi), dezvoltarea specifica\u021biei BitTorrent v2 a fost ini\u021bial efectuat\u0103 f\u0103r\u0103 a \u021bine cont de compatibilitatea \u00eenapoi \u0219i au fost adoptate alte modific\u0103ri semnificative, cum ar fi utilizarea arborilor de hash Merkle \u00een indici pentru a reduce dimensiunea fi\u0219ierelor torrent \u0219i pentru a verifica datele desc\u0103rcate la nivel de bloc.<\/p>\n<p>Printre modific\u0103rile aduse de BitTorrent v2 se num\u0103r\u0103 \u0219i trecerea la legarea arborelui de hash pentru fiecare fi\u0219ier \u0219i aplicarea aloc\u0103rii fi\u0219ierelor pe p\u0103r\u021bi (f\u0103r\u0103 a ad\u0103uga umplutur\u0103 suplimentar\u0103 dup\u0103 fiecare fi\u0219ier), ceea ce permite eliminarea duplic\u0103rii datelor atunci c\u00e2nd sunt fi\u0219iere identice \u0219i simplific\u0103 identificarea diferitelor surse pentru fi\u0219iere. Eficien\u021ba cod\u0103rii structurii directoarelor \u00een torrent a fost sporit\u0103 \u0219i au fost ad\u0103ugate optimiz\u0103ri pentru gestionarea unui num\u0103r mare de fi\u0219iere mici. <\/p>\n<p>Pentru a facilita coexistencea \u00eentre BitTorrent v1 \u0219i BitTorrent v2, a fost implementat\u0103 capacitatea de a crea fi\u0219iere torrent hibride care includ, pe l\u00e2ng\u0103 structuri cu hash-uri SHA-1, indici cu SHA2-256.<br \/>\nAceste torrente hibride pot fi utilizate cu clien\u021bi care suport\u0103 doar protocolul BitTorrent v1. Suportul anticipat \u00een libtorrent 2.0 pentru protocolul WebTorrent, din cauza problemelor nerezolvate cu stabilitatea <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/arvidn\/libtorrent\/pull\/4123#issuecomment-687603627\">a fost am\u00e2nat<\/a><\/noindex> p\u00e2n\u0103 la urm\u0103toarea lansare semnificativ\u0103, care nu va avea loc mai devreme de sf\u00e2r\u0219itul anului. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53669\">opennet.ro<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent 2.0 (\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a libtorrent-rasterbar), \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent, \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 CPU. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0430 \u0432 \u0442\u0430\u043a\u0438\u0445 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u0445, \u043a\u0430\u043a Deluge, qBittorrent, Folx, Lince, Miro \u0438 Flush (\u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 libtorrent, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 rTorrent). \u041a\u043e\u0434 libtorrent \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C++ \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-93570","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a libtorrent 2.0 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent 2 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-09-07T17:42:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-09-07T17:42:05+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Lansarea libtorrent 2.0 cu suport pentru protocolul BitTorrent 2 | ProHoster","description":"O nou\u0103 versiune semnificativ\u0103 a bibliotecii libtorrent a fost lansat\u0103.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a libtorrent 2.0 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent 2 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-09-07T17:42:05+00:00","article:modified_time":"2020-09-07T17:42:05+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"93570","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 11:45:27","updated":"2022-09-30 00:32:15","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/93570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=93570"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/93570\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=93570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=93570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=93570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}