{"id":599,"date":"2008-03-11T19:47:08","date_gmt":"2008-03-12T00:47:08","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/2008\/03\/11\/bittorrent\/"},"modified":"2008-03-11T19:47:08","modified_gmt":"2008-03-12T00:47:08","slug":"bittorrent","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/03\/11\/bittorrent\/","title":{"rendered":"BitTorrent"},"content":{"rendered":"<p>A few tips, in the hopes that it&#8217;ll help someone else. (Aside: don&#8217;t download illegal stuff with BitTorrent. Do download the many awesome, legal things on BitTorrent, such as <a href=\"http:\/\/torrent.ubuntu.com:6969\/\">Ubuntu torrents<\/a>.)<\/p>\n<ul>\n    <li>You can encrypt your BitTorrent traffic, which is meant at circumventing ISPs that feel like being pains and blocking traffic. However, &#8220;Enabled&#8221; isn&#8217;t the value you want. You want &#8220;Forced.&#8221; In uTorrent, this is under Preferences -> BitTorrent.<\/li>\n    <li>If you don&#8217;t upload at all, other nodes will &#8220;choke&#8221; you by refusing to talk to you. It doesn&#8217;t seem to me like it has to be entirely equitable; I&#8217;ve capped my upload at a pretty small number, but am downloading around 100 kB\/second (800 kbps).<\/li>\n    <li>You&#8217;ll have a port number for incoming connections. If this port isn&#8217;t coming through (such as if you have a &#8220;default-deny&#8221; policy), things will <em>work<\/em>, but they&#8217;ll be unbearably slow. As an aside, if you&#8217;re behind an OpenBSD firewall (using pf), have a local IP of 192.168.1.79, and use the randomly-selected port 26689 as your local port for BitTorrent, the firewall rule looks like <tt>rdr on $ext_if proto tcp from any to any port 26689 -> 192.168.1.79 port 26689<\/tt>. Remember to flush the rules (pfctl -F rules) and then (possibly required? possibly done automatically with the flush?) load them back in (pfctl -f \/etc\/pf.conf).<\/li>\n<\/ul>\n<p>With these three principals in mind, my (legitimate) download went from 0.8 kB\/sec to 145 kB\/sec.<\/p>\n<p>Huh, a neat tip&#8230; If you pick a torrent from one site, but it&#8217;s something identical to what other sites have, add the additional trackers in to the first download, which will give you more peers!<\/p>\n<p>Oh, another tip: don&#8217;t arbitrarily set a download limit! My downloads wouldn&#8217;t break 145 kB\/sec or so, until I realized that I&#8217;d set a limit of 150 kB\/sec. I removed the limit and am suddenly at 400 kB\/sec. (Incidentally, our available bandwidth has suddenly plunged to nothing&#8230;)<\/p>\n<p>One final note: <a href=\"http:\/\/phoenixlabs.org\/pg2\/\">Peer Guardian<\/a> is good, but don&#8217;t run it unnecessarily, since it blocks a lot of legitimate traffic. Including, oddly, Steam&#8217;s servers (for games like Counter-Strike and TF2), apparently because they use Limelight&#8217;s CDN, and they&#8217;ve dubbed Limelight bad?<\/p>","protected":false},"excerpt":{"rendered":"<p>A few tips, in the hopes that it&#8217;ll help someone else. (Aside: don&#8217;t download illegal stuff with BitTorrent. Do download the many awesome, legal things on BitTorrent, such as Ubuntu torrents.) You can encrypt your BitTorrent traffic, which is meant &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2008\/03\/11\/bittorrent\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,10,19,24],"tags":[],"class_list":["post-599","post","type-post","status-publish","format-standard","hentry","category-computers","category-ideas","category-performance","category-rants-raves"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=599"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/599\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}