BitTorrent - lugatgt.orglugatgt.org/wp-content/uploads/2010/09/BitTorrent.pdf · . Linux BitTorrent...

20
BitTorrent LUG@GT 2010.9.8

Transcript of BitTorrent - lugatgt.orglugatgt.org/wp-content/uploads/2010/09/BitTorrent.pdf · . Linux BitTorrent...

BitTorrent

[email protected]

Background

Released Summer 2001

Concept and original client by Bram Cohen

Seeders and Leechers

Not anonymous

People can be greedy: torrents die

BitTorrent protocol specification (pretty simple):http://www.bittorrent.org/beps/bep_0003.html

Linux BitTorrent Clients

SimpleOperaAria2KGetMainline

More FeaturesKTorrentVuzeDelugeTransmissionrTorrentqBittorrentμTorrent under WINE

Bottom line: a lot!

Transmission

KTorrent

Deluge

Vuze

...And rTorrent...

Don't worry, rTorrent can be pretty too (more later)

rTorrent Main screen Hot-keys

Enter - Add torrent (don't start)Ctrl+o - Change save directoryCtrl+q - QuitCtrl+k - Close torrentCtrl+d - 1st: Stop 2nd: RemoveCtrl+s - Start torrentCtrl+r - Rehash torrent-/+ - Change priority of torrentright - Switch to download view

a - upspeed cap +1kbyte/sz - upspeed cap -1kbyte/ss - upspeed cap +5kbyte/sx - upspeed cap -5kbyte/sd - upspeed cap +50kbyte/sc - upspeed cap -50kbyte/s Download limits are the same; just use capitals...1-8 - show different views

Other rTorrent Hot-Keys

Download View1/2 - Adjust max uploads3/4 - Adjust min peers5/6 - Adjust max peersPeer list View* - Snub peer (stop uploading)k - Kick peer (disconnect)B - BanhammerFile list Viewspace - Change file priority* - Change priority of all files/ - Collapse directory

Tracker list view* - Enable/disable trackert - check in with trackerT - force tracker check-in (bad?)

Fun in .rtorrent.rc

scgi_local = /home/user/.rtorrent.socketNeeded for web interface... more on that later.

session = /home/user/.rtorrent.sessionKeeps rtorrent from having to rehash after restart (attn: Ryan)

schedule = ratio,60,60,"stop_on_ratio=200,50M,300"Stops torrent when 2.0 ratio reached. 3.0 if less than 50M

schedule = watch_directory,10,10,load_start=~/watch/*.torrent

schedule = tied_directory,10,10,start_tied=schedule = untied_directory,10,10,close_untied=Start torrent when placed in watch directory, close when removed

Other Goodies

Run command when torrents completedMove torrents aroundSend emailrm -rf ~/torrents/

Schedule upload/download rates

Set upload/download rates for IP or IP range (useful for Resnet)

Scripting limited mainly by your shallow imagination.

RSS feeds need to be handled by an outside app.

But I Paid Money For My Mouse!

rTorrent can interact with SCGICompatible with both Apache and LighttpdMany interfaces available...

rutorrentTransdroid (Android Client)nTorrent (Java GUI)wTorrentrtGuiNativa (Apple Cocoa GUI)

Getting a GUI

As mentioned earlier: scgi_local = /home/user/.rtorrent.socketAlso works: scgi_port = 127.0.0.1:5001 In Lighttpd: server.modules += ( "mod_scgi" ) scgi.server = ( "/RPC2" => ( "127.0.0.1" => ( "host" => "127.0.0.1", "port" => 5001, "check-local" => "disable" ) ) )

Where to Find the Good Torrents

http://www.archlinux.org/download/

http://linuxtracker.org/

http://www.clearbits.net/

http://www.legittorrents.info/

http://www.publicdomaintorrents.net/