<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>r3dux.org &#187; IPv6</title>
	<atom:link href="http://r3dux.org/tag/ipv6/feed/" rel="self" type="application/rss+xml" />
	<link>http://r3dux.org</link>
	<description>A number-pimping side project from the valleys in *NEW* upside-down flavour.</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:09:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How To: Download Newsgroup Binaries Using IPv6</title>
		<link>http://r3dux.org/2010/02/how-to-download-newsgroup-binaries-using-ipv6/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-download-newsgroup-binaries-using-ipv6</link>
		<comments>http://r3dux.org/2010/02/how-to-download-newsgroup-binaries-using-ipv6/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 00:27:30 +0000</pubDate>
		<dc:creator>r3dux</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[IPv4]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Newsboards]]></category>
		<category><![CDATA[Newsgroups]]></category>
		<category><![CDATA[Ping]]></category>
		<category><![CDATA[sabnzbdplus]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://r3dux.org/?p=1874</guid>
		<description><![CDATA[Torrents are getting so closely monitored these days that it can be risky to download things through them for fear of getting a copyright infringement notice (even when using things like PeerGuardian alongside your torrent client) &#8211; get two of these CINs, and the least that&#8217;ll happen is that your ISP will drop you like [...]


Related posts:<ol><li><a href='http://r3dux.org/2009/04/how-to-compress-a-directory-of-files-into-individual-archives/' rel='bookmark' title='Permanent Link: How To: Compress a Directory of Files into Individual Archives'>How To: Compress a Directory of Files into Individual Archives</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Torrents are getting so closely monitored these days that it can be risky to download things through them for fear of getting a copyright infringement notice (even when using things like <a href="http://phoenixlabs.org/">PeerGuardian</a> alongside your torrent client) &#8211; get two of these CINs, and the least that&#8217;ll happen is that your ISP will drop you like a hot potato. If you&#8217;re lucky. You can always look for things on MediaFire or RapidShare-type sites, but quite often the files are pulled soon after they&#8217;re uploaded and you end up looking at dead air. So how about using <a href="http://www.dynamicwebs.com.au/tutorials/newsgroups.htm">newsgroups</a>?</p>
<p>Originally designed, and still largely used, as message boards &#8211; newsgroup postings can also have files of limited size attached to posts, and through the nature of newsgroups themselves and the magic of <a href="http://www.yenc.org/">yEnc</a>, you can post as many messages as you like to upload anything from a jpeg picture to a BluRay rip&#8230;</p>
<p>Usually, your access to a news server will fall into one of these three categories:</p>
<ul>
<li>Your ISP has a news server, but does not subscribe to binary channels (i.e. they have the newsgroup channels with the text, but not the ones with the files)</li>
<p></p>
<li>Your ISP has a news server, and does subscribe to binary channels, but their selection of binary channels is meagre at best and/or the retention is low (that is, only posts over the last X days will be kept, where X is a low number, 15-25 days or so. This limits what you can download to only the recent stuff, which sometimes is fine, but mostly isn&#8217;t ideal).</li>
<p></p>
<li>Your ISP doesn&#8217;t have a news server, so you have to <a href="http://www.newsgroupservers.net/">pay for one</a> &#8211; and usually this means not only paying per amount of time, but also paying per amount you download (i.e. $25 US for 1 months access, 25GB limit). Pay servers often come with benefits like high retention (400/500/600+ days) and <a href="http://www.wisegeek.com/what-is-ssl.htm">SSL</a> options to encrypt your traffic.</li>
</ul>
<p>As the <a href="http://www.nic.ad.jp/en/ip/ipv4pool/">available IPv4 address space dwindles</a>, companies are looking to set-up and test the next generation of TCP/IP addressing: <a href="http://www.ipv6.org/">IPv6</a> &#8211; and to do this, they sometimes let people have free accounts (and hence free access) to things. Things such as newsgroups&#8230; See where I&#8217;m heading with this? So let&#8217;s go! <img src='http://r3dux.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h4>1.) Set Up an IPv6 Address</h4>
<p>To get yourself all set up with an IPv6 address, you don&#8217;t need an IPv6 router, or a native IPv6 address from your ISP &#8211; we can do it all <a href="http://articles.techrepublic.com.com/5100-10878_11-5280376.html">encapsulated</a> through our standard, run-of-the-mill IPv4. What we do need though is a tunnel &#8211; by which I mean some address we can connect to using IPv4, and from that address comes native IPv6 with which we&#8217;re going to get all our newsgroup stuff.</p>
<p>There are plenty of <a href="http://lmgtfy.com/?q=free+ipv6+tunnel">free IPv6 tunnel brokers</a> out there, I decided to go with a company in LA called Hurricane Electric: So head on over to <a href="http://tunnelbroker.net/">tunnelbroker.net</a> and sign up for a free account. You&#8217;ll need to provide <a href="http://www.whatismyip.com/">your external IP</a> to set up the account (so they know which end of the tunnel points back to you), and you&#8217;ll need to have your router configured to accept <a href="http://en.wikipedia.org/wiki/Ping">ICMP Pings</a> from external sources (for the set-up stage <i>only</i>) otherwise the tunnel can&#8217;t be established because it thinks you have an <i>intermittent connection</i> or something. The way you change your ICMP Ping settings will vary from router to router, but should live under the firewall section from your routers web interface.</p>
<p><center><div id="attachment_1925" class="wp-caption aligncenter" style="width: 450px"><img src="http://r3dux.org/wp-content/uploads/2010/02/0-IPv6-EnableICMPPingResponses.gif" alt="Enable ICMP Ping Responses" title="0-IPv6-EnableICMPPingResponses" width="440" height="205" class="size-full wp-image-1925" /><p class="wp-caption-text">Enabling external ping responses on a router running Tomato firmware</p></div></center></p>
<p>Once you&#8217;ve signed up and given them your external IP, you can set up the tunnel on their end through the web interface where you&#8217;ll be provided with a IPv6 address which you can tunnel to using whatever OS you&#8217;re using.</p>
<p><center><div id="attachment_1880" class="wp-caption aligncenter" style="width: 670px"><img src="http://r3dux.org/wp-content/uploads/2010/02/1-IPv6TunnelSetup.gif" alt="IPv6 Tunnel Setup" title="1-IPv6TunnelSetup" width="660" height="481" class="size-full wp-image-1880" /><p class="wp-caption-text">I've scrubbed my details out - you'll get your own numbers when you get your free account</p></div></center></p>
<h4>2.) Create the Local Tunnel Link</h4>
<p>On the tunnelbroker website you can select which OS you&#8217;re using, and it&#8217;ll provide you with the commands to link your external IP to the IPv6 address they&#8217;ve given you.</p>
<p><center><div id="attachment_1882" class="wp-caption aligncenter" style="width: 429px"><a href="http://r3dux.org/wp-content/uploads/2010/02/2-IPv6TunnelConfig.gif"><img src="http://r3dux.org/wp-content/uploads/2010/02/2-IPv6TunnelConfig.gif" alt="IPv6 Tunnel Configuration Options" title="2-IPv6TunnelConfig" width="419" height="326" class="size-full wp-image-1882" /></a><p class="wp-caption-text">Choose your poison...</p></div></center></p>
<p>Since I&#8217;m using linux, I&#8217;m going to go with the Linux-net-tools script, which gives me this (I&#8217;ve added comments to clarify what&#8217;s going on and dumped it all into a bash file &#8211; I hope my interpretation is right, if not feel free to correct me):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Create a network interface for us to use on our local box</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> sit0 up
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Assign it the IPv4 of our tunnel provider</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> sit0 inet6 tunnel ::66.220.BLAH
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Create another network interface to talk to our tunnel provider</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> sit1 up
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Assign it our unique client IPv6 address we've been provided</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> sit1 inet6 add <span style="color: #000000;">2001</span>:<span style="color: #000000;">470</span>:BLAH
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Route -all- IPv6 traffic to our tunnel client-side IPv6 address, which points at our tunnel provider</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> route <span style="color: #660033;">-A</span> inet6 add ::<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span> dev sit1
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Test it out like this if you want to be sure the tunnel's working...</span>
<span style="color: #666666; font-style: italic;"># ping6 ipv6.google.com</span></pre></div></div>

<h4>3.) Connect to a News Server</h4>
<p>For this we need two things: A binary newsgroup file downloader, and a news server to connect to.</p>
<p>There are a number of <a href="http://lmgtfy.com/?q=+free+ipv6+news+servers">free ipv6 news servers</a> available, I&#8217;ve gone with one called <b>reader.ipv6.xsnews.nl</b> based in the Netherlands, which you need to sign up for, but which appears to give you unlimited downloads at approx 100-200Kb/Sec and with a retention of around 70 days &#8211; not bad for free! So, sign up for a free newsgroup access account <a href="http://www.xsnews.com/ipv6/ipv6_aanvraag.php">here</a> and keep the username/password handy. Note: The page is in Dutch, but it&#8217;s only got one field and one button, so I&#8217;m sure you can figure it out <img src='http://r3dux.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Next we need the actual application to connect to the news server. I&#8217;ve gone with one called <a href="http://sabnzbd.org/">sabnzbdplus</a> (&#8220;sab newsboard plus&#8221;), which is free, largely platform agnostic, and has a stack of options. Sabnzbdplus works through a web interface, so grab and install it (you can get it through the repo&#8217;s if you&#8217;re in linux), and it&#8217;ll set up on <a href="http://localhost:8080/sabnzbd/">http://localhost:8080/sabnzbd/</a> by default (you can change the port easily enough in the config file, or through the web interface itself). Also by default, sabnzbdplus will fire up your default web browser and open a tab to the web interface on launch, so you shouldn&#8217;t have a hard time finding it. You should be greeted by something like this:</p>
<p><center><a href="http://r3dux.org/wp-content/uploads/2010/02/3-IPv6Sabnzbdplus-home.gif"><img src="http://r3dux.org/wp-content/uploads/2010/02/3-IPv6Sabnzbdplus-home.gif" alt="sabnzbdplus front page" title="3-IPv6Sabnzbdplus-home" width="918" height="258" class="aligncenter size-full wp-image-1885" /></a></center></p>
<p>Now click on <b>Config | Servers</b> and enter your XSNews server and username/password credentials:</p>
<p><center><a href="http://r3dux.org/wp-content/uploads/2010/02/4-IPv6-EnterServerSettings.gif"><img src="http://r3dux.org/wp-content/uploads/2010/02/4-IPv6-EnterServerSettings.gif" alt="sabnzbdplus server settings" title="4-IPv6-EnterServerSettings" width="255" height="460" class="aligncenter size-full wp-image-1886" /></a></center></p>
<p>When you enter your server details you&#8217;ll notice there&#8217;s a field there called <b>Connections</b> &#8211; this means how many concurrent connections to the server sabnzbdplus should try to make, some news servers support a lot (like 8 or so), some 3, some only 1. If you get 50KB/sec per connection, and you&#8217;re allowed to (and do) make 8 connections, you&#8217;re looking at 400KB/Sec &#8211; it works just like a http download manager can be set-up to use multiple connections to get the same file. I&#8217;ve left mine on a single connection for two reasons: I don&#8217;t know how many connections XSNews.nl accepts, and I&#8217;m not in a hurry to get things. Feel free to research and/or try different settings and see how it works out.</p>
<p>If you want further information about configuring sabnzbd, the official quick-setup guide lives <a href="http://sabnzbd.wikidot.com/quick-setup">here</a>.</p>
<h4>4.) Find and Download Files</h4>
<p>Once you&#8217;re got all that out of the way, the final piece of the puzzle is to find things to download, but from where? Well, newgroups use <b>.nzb</b> files to download large files, think of them as the <b>.torrent</b> files of the newsgroup world. These .nzb files contain a list of all the messages required to download your file(s), amongst other things. A good place to start looking is <a href="http://binsearch.info">binsearch.info</a>. Once you head on over, I&#8217;d click on the <i>advanced tab</i> and change your search settings to something like the below:</p>
<p><center><div id="attachment_1889" class="wp-caption aligncenter" style="width: 842px"><a href="http://r3dux.org/wp-content/uploads/2010/02/5-IPv6-Binsearch-settings.gif"><img src="http://r3dux.org/wp-content/uploads/2010/02/5-IPv6-Binsearch-settings.gif" alt="Binsearch advanced settings" title="5-IPv6-Binsearch-settings" width="832" height="458" class="size-full wp-image-1889" /></a><p class="wp-caption-text">The important bit here is that you group the messages into collections...</p></div></center></p>
<p>You can add multiple files to the .nzb you generate, but it&#8217;s probably best to keep it to a single download per NZB so you don&#8217;t have to wait for a bunch of downloads to complete before sabnzbdplus automatically extracts (and repairs, as necessary) the file(s) you&#8217;ve selected to download. Once you&#8217;ve checked the box of whatever you want to download and clicked the binsearch <b>Create NZB</b> button, you can download the file, then go to your sabnzbdplus web interface and add it to the queue via the <b>Home</b> tab.</p>
<h4>A Quick Note about PAR2s</h4>
<p>Lets say that you&#8217;re downloading some file and it&#8217;s a couple of hundred MB; it&#8217;s going to come as a collection of maybe 1000 individual messages, each containing a small part of the file. But what if you can only download 950 out of the 1000 messages? Well, quite often this isn&#8217;t an issue, as people will post <b>.PAR2</b> files along with the main file archive (usually split up into a large amount of .RAR archive files). These <i>parity</i> files can be used to regenerate missing pieces of the archive and fix any errors in the parts you&#8217;ve already downloaded. Now if you only have a few PAR2 files, and you&#8217;re missing a large section of the downloaded file you&#8217;re not going to be able to create a working archive from the pieces you have and the parity files, but if you&#8217;re only missing a small percentage, and have sufficient parity files you&#8217;ll be able to complete the missing pieces using the partity data. Neat!</p>
<p>As mentioned, although sabnzbdplus will try to repair your archives on extraction if it has parity files to work with, it may be the case that you didn&#8217;t have a high enough percentage of the main file to begin with, in which case the newsreader will fail to repair the archive and rename the folder <b>_FAILED_Whatever-You&#8217;re-Downloading</b> &#8211; in this case, it&#8217;s sometimes possible to just go and re-download any corrupted sections to try to get a pristine copy, and then run a third-party par2 archive repair tool on the downloaded archive (such as <a href="http://pypar2.silent-blade.org/">PyPar2</a> on linux) to hopefully get you a corrected archive set to extract.</p>
<h4>Wrap Up and Miscellaneous</h4>
<p>I&#8217;m not a newsgroup expert by any stretch, so there might well be better/alternate/simpler methods to do all this, but the above method&#8217;s worked well for me. As I&#8217;m living in Australia where capped ISP quotas are the norm (currently running off 25GB/Month on-peak [7am through 1am], 25GB off-peak [1am through 7am]), it&#8217;s good to be able to set your newsboard stuff to download overnight and use up your off-peak before your main quota. To do this go to <b>Config | Scheduling</b> in sabnzbdplus and add two rules; in my case it&#8217;s resume at 1:05am and pause at 6:55m like so:</p>
<p><center><div id="attachment_1890" class="wp-caption aligncenter" style="width: 304px"><img src="http://r3dux.org/wp-content/uploads/2010/02/6-IPv6-Scheduling.gif" alt="sabnzbdplus scheduling" title="6-IPv6-Scheduling" width="294" height="145" class="size-full wp-image-1890" /><p class="wp-caption-text">Remember not to put your machine to sleep if you're downloading overnight!</p></div></center></p>
<p>I should also mention that when configuring sabnzbdplus, it&#8217;ll sometimes say you need to manually restart it for changes to come into effect. To do this, simply click on <b>Home | Shutdown</b>, then once it&#8217;s stopped just manually restart the app. </p>
<p>I&#8217;m not going to be all pious about what you download, but do keep in mind that with these free servers we aren&#8217;t using SSL to encrypt the connection, so it&#8217;s possible to eavesdrop on who&#8217;s getting what, but I don&#8217;t think it&#8217;s anywhere near as risky as torrenting currently is. And also, if you download something and like it &#038; use it often, it&#8217;s only fair to buy a legit copy at some point to show your support and appreciation. But you already knew that &#8211; so what are you sticking around for? Get out there and have some fun! <img src='http://r3dux.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<hr />
<center><b>Bonus IPv6 Tomfoolery</b>: Now that you&#8217;ve got IPv6 up and running &#8211; what else can you do with it? Well, how about trying some of <a href="http://www.sixxs.net/misc/coolstuff/">these</a>!</center></p>
<div class="diggbutton"><script type="text/javascript">digg_url = 'http://r3dux.org/2010/02/how-to-download-newsgroup-binaries-using-ipv6/';digg_title = 'How To: Download Newsgroup Binaries Using IPv6';</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div>


<p>Related posts:<ol><li><a href='http://r3dux.org/2009/04/how-to-compress-a-directory-of-files-into-individual-archives/' rel='bookmark' title='Permanent Link: How To: Compress a Directory of Files into Individual Archives'>How To: Compress a Directory of Files into Individual Archives</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://r3dux.org/2010/02/how-to-download-newsgroup-binaries-using-ipv6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
