Showing posts with label BitTorrent. Show all posts
Showing posts with label BitTorrent. Show all posts

Tuesday, September 28, 2010

Automatically update Transmission's block list


My favourite BitTorrent client Transmission supports bluetack-formatted blocklists. In computing, a blacklist or block list is a basic access control mechanism that allows everyone access, except for the members of the black list (i.e. list of denied accesses). Transmission utilizes a blocklist of known anti-P2P IPs, to prevent them from connecting and possibly interfering with transfers.
When you press the "Update Blocklist" button in the Transmission GUI, a new copy of blocklist is downloaded from a Transmission mirror that's updated twice daily. Since transmission-daemon on my headless server does not have such button I have to download the blocklist by hand, uncompress it, and place the uncompressed file in the daemon's blocklists folder.
Here's how to do it manually:

Friday, July 9, 2010

BitTorrent and zsync FTW

My current favourite (and it seems almost everyone else's) Linux distro is Ubuntu. I use it on my home server, on virtual machines at work, I even carry it on my USB stick. I find that the easiest, and probably the fastest, way to download Ubuntu is via BitTorrent. Using BitTorrent to download Open Source software is also a nice way to show your appreciation - you reduce project's bandwidth costs and help creators to distribute their product. This is especially true during the stable release time, when everyone rushes to get the latest release and direct downloads slow down to a crawl. This is the perfect time to use P2P, since hundreds of people already have the file you want and are willing to share it with you.

BitTorrent is not a silver bullet, however. It's only good when the file you want is a popular one. For example here's a some tracker stats for two Ubuntu releases, 10.04 is a stable release from a couple months back and maverick is the latest alpha:

File Seeders Leechers
ubuntu-10.04-dvd-i386.iso 1391 123
ubuntu-10.04-server-i386.iso 968 20
maverick-dvd-i386.iso 8 5
maverick-server-i386.iso 10 0

Not a lot of people care about the alpha release, so there are very few seeders and leechers. Since number of peers is low, P2P download will be slow and you might be better off just downloading the file directly. In Ubuntu's case there is a better solution - zsync.

Saturday, March 6, 2010

Add torrents to Transmission from Firefox

Just discovered a neat Firefox extension called Autotrans. It allows to send a torrent/magnet link from a web page straight to Transmission server via RPC.

Until now I had to right-click the link to torrent file, choose "Copy link location", open a new tab, type the URL to Transmission's Web UI, click "Open" button, paste the torrent link and click "Upload" button. Now it's simply a right-click on the link and select "Torrent it!". Bam!

Add-on configuration is pretty straight forward. Enter the IP/host name of the server the Transmission daemon is running on (you can even enter multiple daemons). If your daemon requires authentication, you can enter username and password. If you want, you can tweak values for AJAX timeout and retry count. There is also an optional menu item and status bar icon that takes you to Transmission web interface. The Autotrans is also smart enough to only show the context menu when link is a torrent/magnet link.

Wednesday, February 3, 2010

Transmission now supports magnet links

My choice BitTorrent client for headless Linux NAS server - Transmission has recently got a nice feature upgrade. Transmission already had most features you want from a BitTorrent client: encryption, a web interface, peer exchange, DHT, UPnP and NAT-PMP port forwarding, web seed support, watch directories, tracker editing, global and per-torrent speed limits, and more. Now it finally supports magnet links, and for users switching from Mac desktop client - the dearly missed "turtle mode" in Web UI!

Wednesday, September 9, 2009

Transmission on headless Ubuntu 9.04 (Part 1)

In my earlier post I have compared several BitTorrent clients for Linux and decided that Transmission was the best option for me.

In this series of posts I'll try to document installation and configuration of Transmission on my headless Ubuntu 9.04 NAS.

Installation

Transmission is already included in Ubuntu repository, in fact it's the default BT client for this distro, unfortunately the version in Jaunty (1.61) is a bit old and lacks a few useful new features such as DHT. Luckily, there was an up to date package (1.74) at Launchpad, and that's what I'm going to use.

Thursday, July 16, 2009

BitTorrent client for my NAS

After I decided to build my own NAS server, I was in the market for a BitTorrent client that would match my very specific requirements. Here they are

  1. It has to be FOSS
  2. It has to run on Linux (since that's the OS of choice for my future NAS)
  3. It has to have a web interface (I love that feature on Synology NAS)
  4. It should have a CLI /daemon mode (since my NAS will be running in headless mode)
  5. It has to be fast and light on resources (that means Java apps do not qualify)
  6. It has to be feature rich (UPnP, NAT-PMP, DHT, Peer exchange and Encryption are must)
  7. It has to be an actively maintained project
Using Wikipedia's BitTorrent client comparison page, I was able to quickly narrow it down to these three: Deluge, KTorrent and Transmission. Honorable mentioning goes to BitTyrant, which seems to have the most features, but is a Java app.

From closer examination, it seems that it's not easy to run KTorrent in headless mode without relying on hacks, so it's out.

Deluge looks quite good, but seems to be a bit more difficult to configure than Transmission, probably because I'm already familiar with Transmission.

So, for me Transmission seems to be the winner. I'll follow up with my installation and configuration notes at later date.