BitTorrent Transmission Client Security

Following the closure of various file sharing services, many have chosen to return to the old love: BitTorrent.

Fortunately, newer customers have included a couple of options that allow us to increase (even if only a little) the level of Privacy of our connections.

This is a contribution from Daniel Durante, thus becoming one of the winners of our weekly competition: «Share what you know about Linux«. Congratulations Daniel!

Transmission is a simple but very efficient BitTorrent client that adequately manages torrent files and also magnet links. This method of data transmission has proven its efficiency and usefulness, for example, by relieving the download service of GNU / Linux distribution servers, by adding this method to the traditional downloading of a file from your web host via ftp or http.

As everything can be used correctly or incorrectly, in BitTorrent there are downloads that are made on computer files that do not violate intellectual property and others that do. Unfortunately, they often pay just for sinners and, in this case, assuming many times that any BitTorrent download contains non-free content, attacks on the BitTorrent network occur globally without distinction of one or the other cases.

What can we do to keep our privacy and avoid these problems? Two simple things to keep in mind are described below.

This mini tutorial is written for version 2.03, which is what the Debian Squeeze distro offers. Currently the version found on the web is 2.75 so there may be some differences.

Protect our privacy using Encryption Mode

To encrypt all our communications we will go to Edit> Preferences and choose in the Encryption mode drop-down 'Require encryption'

Activate block lists

In the image above you can see the checkbox to activate this option.

What are these lists?

Simply IP addresses that try to prevent BitTorrent traffic by various means, whether by sending erroneous information, obstructing traffic, etc. When incorporating them into Transmission, these IPs will be ignored.

There is a good collection of these lists on the following website: http://www.iblocklist.com/lists.php

To update them, since new IP addresses are being added periodically, the following bash shell script can be used:

#! / Bin / bash

if ps aux | grep "[t] ransmission" >> / dev / null # [t] prevents ps from invoking itself
then
gdialog --title "Update Blocklists" --msgbox 'Transmission is running, update is canceled'
exit 0
fi

wget http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz
gunzip -d bt_level1.gz
if [-e /home/user/.config/transmission/blocklists/*] then
rm /home/user/.config/transmission/blocklists/*
fi

mv bt_level1 /home/user/.config/transmission/blocklists/bt_level1

gdialog --title "Update Blocklists" --msgbox 'Update done'

#End of Script

You can adapt it by substituting the path to the Transmission blocklist directory changing 'user' by the username you have on your machine

if [-e /home/user/.config/transmission/blocklists/*] and
rm /home/user/.config/transmission/blocklists/* 

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Anonymous said

    Actually whеn sοmeоne ԁoesn't understand after that its up to other people that they will assist, so here it happens.

    Also visit my website: create sites
    Also see my web page > HOW TO ASSEMBLE A SITE

  2.   milio lamsa said

    you have to enter the web http://www.iblocklist.com/lists.php As it tells you, where you will find a lot of list addresses. You choose one, you copy and paste it in transmission. Then you hit "update". That is what I have done. Cheers!

  3.   Ivan Escobares said

    I don't really understand how to update the blocklist, because in this version it asks for a web address, but I put the one you have mentioned and it still doesn't update.

  4.   Marcoshipe said

    the address you puthttp://www.iblocklist.com/lists.php) would become a list of address lists, you can enter from the browser and see all the lists that there are and choose one.

    otherwise you can use the other that put a little more hidden in the script which is:

    http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz

    What I am not clear about is if putting it as you decide from the transmission it updates itself or it is preferable to do it with the script that they put

  5.   Darko said

    In my Ubuntu I have version 2.73 and I understand that what you have to do is change the address right there to the one they are giving you. In this version you get "Enable blocklist:" followed by a space that says "http://www.example.com/blocklist". I understand that what you should do is replace that address with "iblocklists.com/lists.php". If I'm wrong, please have someone correct me because it means that I did it wrong too.

  6.   Marcoshipe said

    I answered before re nice but I think it got lost in moderation, so it goes again but more simplified.
    http://www.iblocklist.com/lists.php It is not a list of ips, it is a page that has several lists of ip, with which you have to select one of those to put in the "enable blocklist"
    You can put, for example, the one proposed in the script (which is somewhat far-fetched) which is:

    http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz

    What I am not clear about is if putting it in the "enable blocklist" is periodically updated only or if the script they said is necessary

  7.   Let's use Linux said

    As Darko says, you have to replace the space that comes with the URL http://www.example.com/blocklist by a URL that you can get on this page: http://www.iblocklist.com/lists.php

    Enter that page and you will see that you can select lists of rules. My recommendation is that you filter by country. Once you find the list you like the most, you simply copy the URL and paste it into the space mentioned in the previous paragraph.

    Then click the Update button and you're done. It should tell you that it found X amount of rules.

    That is all.

    Cheers! Paul.