Как проверить целостность torrent файлов в tribler
Перейти к содержимому

Как проверить целостность torrent файлов в tribler

  • автор:

Последовательное скачивание в uTorrent за 2 клика

Прочитав публикацию «uTorrent на страже online просмотра», был удивлен, что до сих пор не опубликован способ включить возможность последовательного скачивания файлов, не прибегая к дополнительному софту вроде BEncode Editor, а просто и быстро — буквально за два клика.

Итак:

Включаем последовательную загрузку частей файлов и последовательную загрузку файлов из списка торрента.

1. Загружаем uTorrent.
2. Зажимаем комбинацию клавиш [Shift]+[F2], не отпускаем клавиши.
3. Щелкаем с зажатыми клавишами [Shift]+[F2]: Options -> Preferences -> Advanced.
Видим настройки uTorrent с уже открытыми для изменения параметрами bt.sequential_download и bt.sequential_files

image

4. Меняем значение первого параметра на true — и получаем последовательное скачивание частей файлов — именно это нужно для просмотра фильмов в то время, как они загружаются. Если душе угодно — меняем значение второго параметра также на true — и получаем последовательное скачивание файлов в списке торрента (а это полезно для загрузки, например сериалов — серии будут загружаться по порядку, начиная с первой.

Приятного просмотра и все такое.

Проверено на версии uTorrent для Windows 3.4.2.
Работает ли под Unix — милости прошу сообщить в комментариях.

  • последовательное скачивание
  • последовательная загрузка торрента
  • utorrent

Tribler сделал торрент-трекеры архаизмом

Несколько европейских университетов и Гарвард продолжают работу над совместным мега-проектом Tribler по созданию идеального BitTorrent-клиента. Об этом проекте мы уже несколько раз упоминали на Хабре, например, после разработки платёжной системы, основанной на взаимозачёте трафика (гигабайты вместо долларов, которыми можно расплачиваться за товары), а также после внедрения там системы рекомендаций.

И вот сейчас разработчики объявили (PDF), что в новой версии клиента Tribler 4.1.0 реализована технология полноценной децентрализованной работы. Вся статистика об объёмах закачек и раздач, а также информация о рейтингах и привилегиях, сохраняется в распределённой клиентской сети без помощи торрент-трекеров, при этом есть система социальных рекомендаций по протоколу Buddycast, что устраняет угрозу спама. Искать новые .torrent-файлы можно напрямую на компьютерах других пользователей, опять же без нужды в торрент-трекерах.

Остаётся только добавить, что Гарвард — это самый богатый университет в мире. Кроме того, у них есть собственная армия профессоров юриспруденции, которая всегда защитит проект от «наездов» со стороны RIAA, MPAA или кого бы там ни было.

  • BitTorrent
  • Tribler
  • Buddycast
  • торрент-клиент
  • децентрализованная система
  • рекомендации

Tribler. И вроде жить не тужить…

Tribler – децентрализованная публичная неанонимная платформа распространения торрент-файлов, совмещённая с торрент-клиентом и видеоплеером. Расшифровываем. Децентрализованная: данные и запросы на контент распространяются от пользователя к пользователю. Какие бы то ни было серверы отсутствуют напрочь. „Выключить“ такую сеть действительно весьма затруднительно. Публичная: участвовать в сети имеет возможность каждый желающий. Здесь не требуется ни приглашений, ни паролей, ни обмена криптографическими сертификатами. Сеть открыта для всех, в том числе и для недоброжелателей. Неанонимная: деятельность пользователя в сети Tribler не маскируется и никаким образом не скрывается. Имеется возможность относительно простыми средствами выяснить, кто владелец того или иного канала и какого рода контент он распространяет. То есть – как и в BitTorrent-сетях. Разработчики Tribler обещают в грядущей версии обеспечить анонимность пользователей. Это очень серьёзное заявление, пожелаем им удачи.

Графический интерфейс Триблера – переведём название на русский язык – представляет собой окно без меню, с простейшей панелью управления вверху, левой боковой панелью управления каналами и строкой состояния. Основную часть площади окна в стандартном режиме работы занимает список торрент-файлов и информация о выделенном торренте.

Захват-4

Структурной единицей Триблера является канал публикации контента. Подчеркнём особо: контент в Триблере – это торрент-файлы, а не, собственно, распространяемые файлы, хотя не возбраняется и это. Акцент на этом моменте сделан для того, чтобы пользователь Триблера понимал: он может не распространять сам медиаконтент, а распространять лишь торрент-файлы на него. Раздавать контент при этом будут другие пользователи, и не обязательно пользователи Триблера. Это весьма важный нюанс, чётко обозначивающий роль Триблера в файлообмене. Иными словами, в классической битторрент-сети пользователь может находиться в одном из двух состояний: 1) быть сидером, 2) быть личером. В Триблере к двум указанным добавляется ещё одно состояние и два типа воздействия пользователя на сеть: 3) быть распространителем торрент-файлов (но не контента), 4) быть редактором собственного канала и 5) быть сторонним редактором чужих раздач.

Каналы создаются пользователями и могут быть публичными, полупубличными и закрытыми. Публичные каналы позволяют не только скачивать торрент-файлы, но и добавлять любым пользователем дополнительную информацию, как то: описание раздачи, постер к раздаче, комментарии, заниматься категоризацией торрентов. В полупубличных каналах пользователь может лишь скачивать торрент и комментировать его. В закрытом канале пользователь имеет возможность лишь воспользоваться торрентом для скачивания контента. То есть, по факту в Триблере все каналы являются, в строгом смысле слова, публичными. Каналов для закрытых групп пользователей там нет.

Tribler в действии

Так как идея, концепция Триблера, в целом, положительна, то начнём с негатива. И будет его не мало.

  • Невзрачный (не считая оранжевой палитры), невыразительный, неэргономичный, плохо подчиняющийся действиям пользователя интерфейс. В нынешнем его исполнении интерфейс можно назвать „плывучим“: то и дело мерцают кнопки “Stream” и “Download”, меняется состояние и характер ссылок слева, стремительно пролистывается список торрентов колесом мыши и многое другое.
  • Отсутствуют простейшие настройки BitTorrent-протокола. Контент может скачиваться и от сотни, и от тысячи пользователей. По всей видимости, разработчики Триблера приняли решение “чем больше, тем лучше”. А ведь не каждый модем или роутер выдержит такое количество соединений.
  • Неуправляемый объём базы распространяемых торрентов. В децентрализованных сетях взаимопомощь – неизбежная обязанность каждого участника, но её масштабы в Триблере приобретают гигантский размер. Кеш платформы за неделю работы:

Tribler_cache

  • Значительная нагрузка на центральный процессор при умеренном объёме занимаемой оперативной памяти – порядка 150 МБ. Длительная и сбоящая начальная загрузка клиента. Заметная нагрузка на жёсткий диск при управлении большим количеством торрентов. Нередки такие случаи:

Захват-2

  • Отсутствие настроек плеера через интерфейс программы.
  • Ненадёжное соединение с пирами. Их количество постоянно меняется от двадцати до нуля.

Определённо, часть недостатков обсуловлена стремлением сделать применение Триблера максимально простым для максимально не отягощённых знаниями о сетевых технологиях пользователей. Однако разумный баланс между простотой и гибкостью в Триблере пока не найден.

Среди положительных моментов следует особенно отметить истинную децентрализацию работы платформы и её интернациональность. Сказанное особенно заметно на фоне ещё одной свободной платформы для работы с битторрент-сетью – Popcorn Time. В последней имеется жёсткая привязка к одному и единственному порталу-распространителю торрент-файлов и описаний к ним. Указанное свойство Триблера даёт пользователям настоящую свободу файлообмена.

Заключение.

Триблер как открытая свободная платформа децентрализованного файлообмена, безусловно, является хорошей заменой закрытым, а значит небезопасным, решениям, существующим на данный момент. Но как в песне: „И вроде жив и здоров. И вроде жить не тужить. Так откуда ж взялась печаль?

Tribler_search

Справедливости ради следует отметить, что все вышеозначенные проблемы, изъяны и недостатки Триблера являются проблемами, изъянами и недостатками не концепции платформы, а лишь её реализации. Проект открытый – значит, всё будет хорошо. И, наконец, Триблер имеет все шансы в ближайшее время занять серьёзную нишу в файлообмене с выходом версии, реализующей анонимность скачивания контента. Может быть, стоит приглядеться к нему уже теперь?

Frequently Asked Questions — FAQ

The easiest way to download using Tribler is to search from the search panel at the top of the screen. Just type in what you’re looking for and press the ENTER button. You will be taken to the Results tab and your search results will start coming in. When you’ve found what you’re looking for you can click the Download button directly or first click on the search result to examine it in detail and then click the Download button.

  1. Type Sintel in the search bar and click on the Search button; (Visit the Sintel website for more information about the movie.)
  2. The results view should come forward and give you a number of results. One of them should be named Sintel. You can now click the download button to the right.
  3. Tribler will now gather information about the torrent. When this is completed, you will see a list of files in the torrent. Optionally, you can select or deselect files for downloading.
  4. You then have to select a location where to place the file. Click DOWNLOAD when you’re satisfied with the location;
  5. The file now starts to download and will be visible in the downloads tab. Notice that you see the current progress here. This will tell you how much has been downloaded, how large the file is and how much time it will take at the current downloading speed.
  6. Tribler allows you to watch videos while they are being downloaded. When you download a video, the streaming button appears at the top of the screen. When clicking this button, you will go to the video player and the video will play. If you have a slow internet connection, the video might shutter when being played.

Can I use Tribler to download a torrent file?

Yes, Tribler has been specifically designed to download torrent files. To download a specific .torrent file present on your computer, click on the big plus button in the upper-right corner of the screen. Magnet links or torrent files present on websites can also be downloaded this way.

How do I select which files from a torrent I wish to download?

A special pop-up exists for this. You get it automatically after you start a download. This popup appears after adding a .torrent or magnet link. When a torrent is downloading, you can change the files that are being downloaded from the downloads page by clicking on the torrent. A pane at the bottom will appear. You can manage files by clicking on the FILES tab.

How do I upload using Tribler?

If you wish to upload something you have already downloaded you can just start the download for it as usual and point to the same directory where you stored the files when downloading them. Tribler will then start by checking all the data to see if it’s there. After that Tribler will try to download any missing data and will start uploading the data you already had.

If you wish to upload something new you can add it to your own channel. To do this go to your channel by clicking the MY CHANNEL tab in the left menu. If you don’t have a channel yet, you can create one here. Click on the Manage Torrents tab and then click the Add. button. Choose Create in the dialog that pops up. Here you can browse for the file(s) you wish to make available and tweak some settings before clicking Create .torrent(s). They will be added to your channel and anyone who can find your channel will ultimately hear about them as well (new content might take a while to propagate through the network).

What are bandwidth tokens and what can I do with them?

In Tribler, you compensate other users for the bandwidth you use when downloading with anonymity. When uploading content to other (Tribler) users, you earn bandwidth tokens. If you accumulate more bandwidth tokens, you get preferential treatment when downloading anonymously, which results in higher download speeds.

The exact amount of bandwidth tokens you pay to others, depends on the level of anonymity. This is the number of other users, or hops, you use during a download. If you download with three hop anonymity, your encrypted data is sent through the machines of three other Tribler users. Increasing the number of hops benefits anonymity but costs you more bandwidth tokens.

For example, if you download a 1 Gigabyte video with one hop anonymity, you pay 1 Gigabyte worth of bandwidth tokens. Each additional hop increases the amount of bandwidth tokens you have to pay. When downloading the same file using three hops, you pay 3 Gigabyte of bandwidth tokens instead.

Your token balance indicates how much work you have performed for other users and how much work other users have performed for you. At this time, this work is the amount of incoming and outgoing traffic but our mechanism is open for extension (e.g., in a future release we could also reward users for storing data or performing computations). The amount of performed and consumed work are indicated as ‘given’ and ‘taken’ in the user interface respectively. Subtracting the amount of ‘taken’ bytes from the amount of ‘given’ bytes yields the bandwidth token balance.

We refer the interested reader to our recent publication (see Section 7) that further discusses our token mechanism and provides more technical details.

How can I earn bandwidth tokens?

You can earn bandwidth tokens by simply running Tribler. When connected to other peers in the Tribler network, your Tribler instance automatically becomes eligible for relaying traffic to other users if other users download content anonymously. Relaying traffic will increase your bandwidth token balance. You will also earn bandwidth tokens by sharing channel content with other users. Channel content will be shared after subscribing to a channel. You can view which channels you are currently sharing by going to the ‘downloads’ tab and then the ‘channels’ tab.

Please take into consideration that Tribler by default downloads with one-hop anonymity. This means that an anonymous download only uses a single exit node and circuits thus do not include relay nodes. This currently raises the bar to reliably earn bandwidth tokens. We are aware of this and we are exploring to modify the default settings of anonymous downloads, making it easier for users to increase their bandwidth token balance. Naively applying this change, however, would have a negative effect on the overall download speed. As such, we only want to implement this modification once we are confident that it will not degrade the user experience of our downloading functionality.

Why is my bandwidth token balance decreasing, even when I do not have any active (anonymous) downloads?

We frequently receive reports from users that their bandwidth token balance is decreasing. When downloading anonymously, other users perform work for you since the data you are downloading is routed through one or more nodes, and encrypted. When a circuit is removed, the downloader transfers the appropriate amount of bandwidth tokens to the involved nodes in a circuit, lowering the bandwidth token balance of the downloader and increasing the token balance of the other nodes in the circuit. This is usually the main reason why your token balance is decreasing.

However, Tribler also performs other work in the background, such as downloading channels from other users and fetching health statistics of channel torrents (which includes the number of downloaders and seeders of a particular torrent). These operations also decrease your token balance since you reward the users that helped you.

Finally, we acknowledge that your token balance can decrease as the result of a software bug. Accounting the amount of work performed and consumed is part of our bigger goal to reward good behavior and to address long-term free-riding behavior (the situation where one only uses Tribler to download content without contributing anything back to the network). Designing and deploying such mechanisms is challenging and requires many iterations to get it right. With each release, we aim to improve our token mechanism and address outstanding issues. From our experience, software bugs related to the bandwidth token balance can be very subtle and sometimes requires significant time investment to understand. By carefully tracking the overall network health and the dynamics of token payouts, we aim to analyse and improve our accounting mechanism, eventually leading to a healthier and fairer network.

Administration

I found an issue in Tribler. What should I do to report it?

We take bug reports very seriously and try to investigate each of them. When Tribler encounters a crash, you will be prompted with a dialog that allows you to send additional information to us. This helps us with debugging and fixing the issue. If you have a suggestion for us or another problem, you can either create a post in our forums or create an issue on Github.

How do I install Tribler?

Go to the download page to download the right installer for your operating system.

For Windows users: just open the downloaded file by double clicking on it and Tribler will be installed.

For Mac users: drag the downloaded .dmg file to your Applications folder to install Tribler.

  1. Download the latest package. Make sure to save the file in your personal home directory. To choose where to save the file, right click on the link and choose ‘Save as. ‘ (or similar)
  2. Open a terminal program (e.g. Gnome Terminal)
  3. Try:
    sudo dpkg -i tribler*.deb
    You will have to give your password to proceed. If this succeeds without errors you can now find Tribler in the list of installed applications, or you can just type:
    tribler
    and Tribler should start.

Note: if you do not run a supported system (see the download page) the following steps might not work.

If the above did not succeed, try the following:
sudo dpkg -i —force-depends tribler*.deb sudo apt-get -f install

The first line will forcibly install Tribler despite dependency errors occurring and the second line will try and fix that again. If everything succeeded at this point, you can type:
tribler
and Tribler starts. If not, then be sure to run:
sudo dpkg -r tribler sudo apt-get -f install
to first line to remove Tribler again and the second line to make sure the system is in order.

How do I upgrade to a newer version of Tribler?

Just install the new version, see here for instructions on that. Tribler will automatically upgrade data from old versions when it is first started, if necessary. All your data, torrents, channels and settings will be retained.

Can I limit the download or upload speed of Tribler?

You can limit the download or upload speed of active downloads and seeds by going into the Settings and, under the BANDWIDTH tab, setting the desired values. Note, however, that this limits the speed of active downloads and seeds, not of Tribler in its entirety. The overhead of the Tribler protocol, in particular, can’t be limited at this point.

Can I block peers or addresses in Tribler?

No, you can’t. Although this feature has been requested a number of times and is available in some other clients, it is not one that is likely to appear in Tribler. The first use of the feature is to manually block certain peers. This usage scenario just asks for abusive behaviour, since actual reasons for blocking (such as freeloading) are very hard to investigate for a human being and easy to misjudge. The second usage scenario is using block lists to keep out unwanted eyes, such as governments that don’t wish to upload or download but want to spy on you. This usage, however, is not very effective and provides a false sense of security at best.

If you still wish to block lists of peers to prevent spying parties to connect to you, you can use external software such as PeerBlock that is specialised in this.

How do I delete my channel?

Basically removing all .torrents from your channel is now the only option. We cannot do much better that this as you are still kindly requesting other peers to please remove your channel. We cannot force anyone to actually remove the channel.

Troubleshooting

I can’t download anything. Where do I start?

If you can’t seem to download anything there are a lot of possible causes. The first and most easily checked ones: you’re trying a search or download of something that’s not readily available. Try and search for something you’re sure is widely available. Terms such as Linux or Ubuntu should certainly give you some result. Try and download a recent Ubuntu version or try and download something with a (partially) green health indicator. If searching doesn’t work you can see if you can at least download something using external .torrent files, such as the ones for the Ubuntu or Debian releases.

  • You have not allowed an exception for Tribler in the Windows firewall or other firewall software you’re running;
  • You are behind a firewall somewhere in your network, because:
  • You are on a company network and the company doesn’t allow BitTorrent, try again when you’re at home (same goes for, for example, schools and universities);
  • You have hardware or software that provides your internet connection and has a firewall built in. Common examples are ADSL routers, VPN software and advanced switches.
  • You connect through hardware or software router and need to forward the ports.
  • Allow the Tribler to connect to the internet and to receive connections from the internet — this is most common for software running on the same computer at Tribler, such as software firewalls (including the Windows firewall), virus scanners, VPN software, internet connection software, etc;
  • Allow incoming connections to the ports used by Tribler and forward those ports to the correct computer — this is most common for hardware you connect through or software running on computers you connect through, such as routers, (local) servers, computers providing shared internet to your computer or advanced switches.

For a description of which ports to open, see below. How you open ports completely depends on the device or software you’re trying to configure, but PortForward has excellent coverage of most of them.

Note that some routers actually provide both port forwarding and a firewall. The two are not the same, but both can hinder your connection. Forwarding the ports is needed to have incoming connections to your router to be forwarded to the computer running Tribler, while allowing those incoming connections is needed to allow them in the first place.

If all of this doesn’t help you get your downloads going, you can always visit our forums for more help.

What ports does Tribler use?

The ports Tribler uses depends on the port number configured under Settings, Connection. The default port number is 7760.

  • TCP N
  • TCP (N-1)
  • UDP N
  • UDP (N-1)
  • TCP 7760
  • TCP 7759
  • UDP 7760
  • UDP 7759

These are the ports used for incoming connections.

You are most welcome to configure a different port, but keep in mind that ports below 1024 are privileged and therefore most likely unavailable to Tribler. Choose a value higher than 1025 to be safe. Also keep in mind that each port number can be used by only one program at the same time. If you have other BitTorrent software running, for example, and want Tribler to use the same port then you will first have to close that other program completely before running Tribler or configuring Tribler’s port.

Why don’t I see all the torrents in a channel?

  • You have the family filter on;
  • You have not marked the channel as your favorite and hence only get a preview of up to 50 torrents;
  • Tribler simply hasn’t heard of all torrents in the channel yet.

Note, in particular, that all of these apply to torrents in your own channel if you look them up from the main channels view instead of under My Channels.

Not ‘having heard’ of the torrents might be a bit vague, but has to do with the way channels are distributed. Tribler uses a gossiping protocol to communicate, something you can compare very well with real world gossiping. People (peers) meet each other (connect) and then they exchange information. Not everybody knows the latest in town (not every peer knows every torrent), but if you go around enough (exchange information with enough peers) you’ll be kept up to date (know the current state of the channel). Just like real world gossiping, where it would become a very busy mess if you’d put all the people together in a room to keep each other constantly informed, Tribler peers aren’t constantly exchanging information either. As such, gossiping, while disseminating information quite effectively, can take some time to get you the latest information.

How do I reset Tribler completely?

To completely reset Tribler you can remove the settings directory in its entirety. This will completely wipe all settings and active downloads or seeds, as well as your download and upload history (and hence reset your reputation). Note that it will not remove the actual data, either partial or complete, of your downloads, just the knowledge that you were downloading them. Unless you put your downloads in the settings directory yourself, of course.

If you’re concerned about losing things nonetheless, you can also just temporarily rename the directory and start Tribler again to see what happens. If this does not give the desired results, you can restore your backed up directory again.

To find your settings directory, see below.

Where do I find the settings directory of Tribler?

  • %APPDATA%\.Tribler
  • %APPDATA%\roaming\.Tribler

You can enter the %APPDATA% directory by opening an explorer, typing %APPDATA% in the address bar and then hitting Enter.

Under Linux or Mac the .Tribler directory is stored in your home directory, /home/USERNAME/.Tribler (or ~/.Tribler). Note that, since it begins with a ., it will be hidden by default. Search the web to find out how to see hidden files depending on your environment ( Ubuntu / Gnome / Nautilus, Kubuntu / KDE / Dolphin / Konqueror, MacOS / Finder).

I see objectionable content in the network. How do I remove it? Can I get in trouble?

Unfortunately, there is no way to remove such content from the decentralized network.

Even for highly illegal content, such as child porn, you can’t get in trouble if you don’t actively download it. If you see it in a channel all you have done is hear about it from another peer, which most likely has only heard about it just like you have. You have, however, not downloaded the actual files. It’s like this gossip in the pub where you’ve heard about that neighbor brewing illegal booze. You then know where to get the illegal booze, but as long as you don’t you won’t get in trouble. Tribler does not automatically download actual files, only data about the files (.torrent files) so you could find those files if you want to.

About Tribler

What is Tribler?

Tribler is a BitTorrent peer-to-peer (P2P) client with various extensions such as integrated search and Video-on-Demand. Tribler is also a not-for-profit research group. We are supported by EU and Dutch research funding. Our aims are to further research, education and progress in peer-to-peer applications, build EU skill capacity in this important area and reach out globally for cooperation and exchange of ideas. As academics we publish our findings so anyone can follow our progress. Tribler is an open source project so anyone can participate in the development of our work and utilize it.

What is the difference between Tribler and BitTorrent?

  • Fully integrated content search without any central server;
  • Anonymous downloading and seeding using a Tor-like overlay;
  • An overlay swarm for communication between (Tribler) peers;

In short Tribler is the evolution of P2P technology building on but also going beyond the successful BitTorrent protocol.

Is Tribler anonymous?

Tribler supports anonymous downloading and seeding. Check our Anonymity page for details.

Please note that, although other Bittorrent clients support encryption, that does not make them anonymous.

Can I package / copy / distribute Tribler?

Yes, you most certainly can. Check out our Github link in the Developers page. Tribler is released under an open source license, mostly LGPL, partly MIT license. See the license.txt file in the source package for details.

How can I contact Tribler?

Contact us via our forum or Github.

Supported Features

Does Tribler support encryption?

Tribler supports encryption of torrent traffic and anonymity. Check our Anonymity page for details.

Does Tribler have a WebUI?

There is currently no way to run Tribler in a browser. However, you can use our RESTful API, built for developers, to communicate with the Tribler core. See here for the documentation of this API.

Miscellaneous

What’s with the collected torrent files?

The collected torrent files are collected while you are online. They are part of the distributed library of torrent files you search through when you search using Tribler. All Tribler peers in the network participate in that large library by exchanging torrents and keeping a part of that library available by storing it locally.

The folder with collected torrent files will at first be filled to contain up to 50,000 .torrent files (50,000 .torrents files are actually stored in 150,000 files, as each file is accompanied by a hash, and tree). After that Tribler will now and then throw away a part of that collection and find some others to store locally, keeping the library up to date.

When using Tribler, am I restricted to download from and uploading to other Tribler peers?

No, you are not. Tribler is a normal BitTorrent client in that it participates in Torrent swarms like any other BitTorrent client. You can download from and upload to all the other peers in that swarm. However, when seeding anonymously, only other Tribler users can download your content.

Tribler seems to be doing a lot more than just downloading. Can I stop that?

Yes, it does a lot more. Tribler peers are part of an overlay network that exchanges information about channels and torrents, among other things. This overlay network is the basis for the features Tribler offers, such as the integrated search and channels.

Could you stop it? Theoretically, yes. And if you stopped it, it would take your client a few minutes to do searches, but otherwise it would function. You would be leeching on the network, then, taking and not giving. If everybody else stops it, though, you might just as well use any plain old BitTorrent since all of Tribler’s features will break down. So yes, theoretically you could stop it, but you shouldn’t.

What are bootstrap peers?

Imagine a large circle of users (called peers), each of whom use Tribler file sharing software. File sharing software only functions if it can communicate with other peers. File sharing software requires the Internet address of others in order to search, download and share content with others. On initial startup, the sharing software must bootstrap and find at least one other peer.

List of online peers

The most simple method of bootstrapping is using a list of currently online peers plus their port number. See the example below.
# file: bootstraptribler.txt
# default bootstrap peers
server1.always-online.org 6420
host1.never-offline.russia 6420
sealand.routed.org 6420
168.0.0.13 6420

A file sharing program needs a fresh list of peers to bootstrap. Thus a pre-defined list of peers is included in the software installer. As peers can go offline it is important that at least one peer out of possibly thousands on the list is still online. This pre-existing address list of possibly working peers must therefore remain valid for as long as possible.

Bootstrapping is done by contacting peers in the list, possibly in parallel. If a single peers replies, we are connected. Once connected, the peer requests a fresh list of working peer Internet addresses. The peer tries to connect to the nodes it was shipped with, as well as nodes it receives from other peers, until it reaches a certain quota. By default Tribler software itself has hard coded some well known online peers. Different online peers for bootstrapping can be used by creating a bootstraptribler.txt file in the format shown above.

  • Windows: C:\Users\ \AppData\Roaming\.Tribler\bootstraptribler.txt
  • Mac: /Users/ /.Tribler/bootstraptribler.txt
  • Linux: /home/ /.Tribler/bootstraptribler.txt

How to run a bootstraptribler peer

Any computer with a open connection to the Internet can run a bootstraptribler peer. More volunteers will increase the robustness of the peer-to-peer overlay, i.e. if the peers hosted by various universities are unavailable, people can choose to use different peers.

Setup on Ubuntu Linux

  1. Install required package.
    sudo apt-get install python-m2crypto
  2. Prepare a directory to store the database.
    mkdir bootstraptribler > cd bootstraptribler
  3. Download the Tribler source code.
    svn checkout http://svn.tribler.org/abc/branches/release-5.5.x release-5.5.x
  4. Prepare your own bootstraptribler.txt.
    # file: bootstraptribler/bootstraptribler.txt
    # default TUDelft bootstraptribler peer
    dispersy2.tribler.org 6422
    dispersy3.tribler.org 6423
    dispersy4.tribler.org 6424
    dispersy5.tribler.org 6425
    dispersy6.tribler.org 6426
    # my own bootstrap peer
    my.hostname.edu 6420
    # other public bootstrap peers
    other.hostname.edu 6420
    more.hostname.edu 6420
  5. Run the bootstrap peer on port 6420:
    cd release-5.5.x > export PYTHONPATH=. > python -O Tribler/Main/dispersy-tracker.py —statedir ../ —port 6420
  6. Spread the word. Use search engines, social media sites, friends, etc. and let people know that you are running a bootstrap peer. Remember that they need to add your Internet address too their bootstraptribler.txt so they can find you!

Thank you for running a bootstrap peer

By running a bootstrap peer you are helping out the file sharing community. Thnx! For over 6 years we have been making Tribler as robust as possible. 10+ year old systems such as Gnutella are also distributed. However, all first, second and third generation file sharing software either uses central servers or offers no protection against spam plus lacks our social features and streaming. We define this as «4G P2P». It is trivial to sabotage Gnutella to the point at which it becomes useless. Several ideas have been proposed on bootstrapping systems without any online peer list, simply by smart brute force pinging?. We hope to implement these ideas from University of Denver one day and make this page obsolete, feel free to submit your code.

With a thriving community of bootstraptribler peers we as academics are trying to make something new: extreme robust systems. The Amazon cloud has occasional downtime and many websites like Facebook and Twitter had downtime over the years. That could change if more developers used our self-organising system principles.

Result: The only way to take it down is to take The Internet down.

We are proud that Tribler never had a single second of downtime in the six years since it exists. Yes, we had software bug and version upgrade issues. However, the overlay has always been alive and evolving. We still have a lot of ideas on how to improve matters. Currently we are creating more robust alternatives for all TCP-based protocols, including Bittorrent itself.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *