SABnzbd and built-in IPv6 (teredo/miredo)

Feel free to talk about anything and everything in this board.

SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » September 13th, 2011, 7:05 am

This is a topic about SABnzbd and IPv6 called teredo or miredo. The goal is to share information about activating and using it.

Windows 7 and Vista have teredo built-in. On Linux you can install teredo under the name "miredo". On Mac OS X, there is also a miredo / teredo module you can install.

SABnzbd is IPv6-capable, both for the connection to an IPv6-enabled newsserver and for access to SABnzbd's own webinterface.

You do not need IPv6 to use SABnzbd; it's just an option. The advantage of IPv6 is possible access to free newsservers (like newszilla6.xs4all.nl) and remote access to SABnzbd's web interface.

This thread is not about native IPv6 connectivity provided by some providers (like Xs4all), nor about IPv6 connectivity provided by IPv6 tunnel providers (see http://en.wikipedia.org/wiki/List_of_IP ... el_brokers)

Teredo/miredo is not the most robust IPv6 connectivity, but it's easy and free, and if it works, it can also work if you roam around.

Teredo/miredo IPv6 addresses are recognizable by their 2001:0:-address. Please note the :0: after the 2001! IPv6 address with another, non-zero value immediately after the 2001, are 'normal', non-teredo IPv6 addresses.

Windows

Windows 7 and Vista have teredo built-in and activated. In my experience it works on a plain Windows install, also if Microsoft Security Essentials is installed.
Software and configs that seem to disable teredo IPv6-connectivity are:
1) other, non-Microsoft virusscanners and firewalls,
2) corporate firewalls and proxy servers
3) VMware
4) (unconfirmed) having a straight, non-NAT Internet connection. Windows will then possibly use 6to4/6over4, recognizable by it's 2002: address

You can check the teredo status with the following commands, which you should run from a terminal opened with the Run -> "CMD" command:

Code: Select all
netsh interface teredo show state


and

Code: Select all
ipconfig


In the output of "ipconfig" you should look for IPv6 addresses:
fe80: internal IPv6 addresses, showing IPv6 is installed, but not much else
2001:0: addresses, meaning teredo is active
2002: addresses, meaning 6to4/6over4 is active



On Windows XP you can install and activate teredo IPv6 yourself. See http://msdn.microsoft.com/en-us/library/bb968771.aspx for details. Two commands are needed:

Code: Select all
netsh interface ipv6 install
netsh interface ipv6 set teredo client



Linux

On Linux, you should install "miredo". On Ubuntu, you can do that install using "sudo apt-get install miredo".
After installing miredo, your "ifconfig" should then show a 2001:0: address at the "teredo" interface.

Mac OS X

There is a miredo IPv6 driver on http://www.deepdarc.com/miredo-osx/

Check your IPv6 connectivity

The most easy way to check if your IPv6 works, is to go to http://test-ipv6.com/ and read your score for IPv6. Hopefully the output is something like

Your IPv6 address on the public Internet appears to be 2001:0:53aa:64c:124:dfc:3ce:725
Your IPv6 service appears to be: Teredo


If not, it's hard to say why it's not working. See the possible reasons above.

IPv6-only newsservers

If IPv6 is working, you can fill out an IPv6-only server in SABnzbd -> config -> server. IPv6 newsserver are:
Xs4all: newszilla6.xs4all.nl: a free, no-account-needed IPv6-only newsserver, with a limited downloadspeed and a limited retention (about 10 - 14 days).
Tele2: weathergirl-ipv6.tele2.net a.k.a. 2a00:801:103:10:5. Retention 20 days, 4 threads.

There's also reader.ipv6.xsnews.nl, which is free, needs an account, and/but Xsnews has stopped giving away accounts for this server.

Remote access to SABnzbd's webinterface via IPv6

To get IPv6 access to SABnzbd's webinterface, you need to have IPv6 working, and you need to fill out "::" (without the quotes) in SABnzbd -> Config -> Server at the field "SABnzbd Host". Press Save Changes, and then restart SABnzbd.
On Linux, you can now access your SABnzbd's webinterface on it's public IPv6 address, so something like http://[2001:0:.....]:8080/
Please note: on Windows, you can then access SABnzbd's webinterface only via the IPv6 address, so http://[::1]:8080/ or possibly http://ip6-localhost:8080/ . It seems Windows is refusing "unexpected" connections from remote systems; this way Windows is mimicking IPv4-behind-NAT behaviour.
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Vyp3R » September 16th, 2011, 4:41 am

sander wrote:So, then a poor man's test:


Okay here are my results from the other thread...

Code: Select all
C:\>ping ::1

Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 2001:0:4137:9e76:14fe:2583:8b0f:67ba

Pinging 2001:0:4137:9e76:14fe:2583:8b0f:67ba with 32 bytes of data:
Reply from 2001:0:4137:9e76:14fe:2583:8b0f:67ba: time<1ms
Reply from 2001:0:4137:9e76:14fe:2583:8b0f:67ba: time<1ms
Reply from 2001:0:4137:9e76:14fe:2583:8b0f:67ba: time<1ms
Reply from 2001:0:4137:9e76:14fe:2583:8b0f:67ba: time<1ms

Ping statistics for 2001:0:4137:9e76:14fe:2583:8b0f:67ba:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 2a00:1450:8005::63

Pinging 2a00:1450:8005::63 with 32 bytes of data:
Reply from 2a00:1450:8005::63: time=935ms
Reply from 2a00:1450:8005::63: time=312ms
Reply from 2a00:1450:8005::63: time=309ms
Reply from 2a00:1450:8005::63: time=309ms

Ping statistics for 2a00:1450:8005::63:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 309ms, Maximum = 935ms, Average = 466ms
User avatar
Vyp3R
Newbie
Newbie
 
Posts: 40
Joined: May 26th, 2011, 12:53 am
Location: Melbourne, Australia

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » September 16th, 2011, 1:29 pm

Well, did you see this:

Code: Select all
Pinging 2a00:1450:8005::63 with 32 bytes of data:
Reply from 2a00:1450:8005::63: time=935ms


That's good: you can ping an external IPv6 address, so you have IPv6 connectivity at the network layer. Congratulations! (And thank you Microsoft for teredo ;-) )


What happens when you fill out newszilla.ipv6.xs4all.nl as server in SABnzbd (http://localhost:8080/config/server/), 3 connections, and then Test Server?

If that doesn't work, what happens when you fill out 2001:888:0:18::119 as server in SABnzbd (http://localhost:8080/config/server/), 3 connections, and then Test Server?
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 13th, 2011, 12:21 pm

This is a response to the post 'Te veel verbindingen' on the Dutch forum. I try to translate what was said before:

sander wrote:Shall we go on with your question on viewtopic.php?f=1&t=8830 ? There you will find 2 commands you have to activate if you use Windows XP. I will try to help you on viewtopic.php?f=1&t=8830.

(By the way: your speedtest-test is usefull and showes a fine result, but it is not mentioned on that IPv6-page?)


After an initial question (I'm a newbe on SABnzbd) Sander proposed to use IPv6 (teredo/miredo) for a couple of reasons; such as better performance on free newsservers (as newszilla6.xs4all.nl). I said that I use SABnzbd especially at home. I gave away that I'm using Windows XP + Service Pack 3 (SP3) and that the result of the speedtest was:

Image

My questions thereafter were:
1) How difficult is the installation of teredo. Is it a big and drastical installation and which positive results may I expect afterwards?
2) I plan installing fibrenet at home and asked if this will also give me more speed in the future. I'm also using a wireless network at home.

All info is usefull to me.

Greetings,
Rodolpho
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 13th, 2011, 12:25 pm

Rodolpho wrote:
My questions thereafter were:
1) How difficult is the installation of teredo. Is it a big and drastical installation and which positive results may I expect afterwards?


Open a CMD-box, and type in the two commands mentioned in the manual above (and once again here below). Then, after about 30 seconds you know whether IPv6 works on your systems; visit http://test-ipv6.com/ and that site will tell you...

Code: Select all
netsh interface ipv6 install
netsh interface ipv6 set teredo client
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 13th, 2011, 12:45 pm

I repeat: I am a newbe!
I suppose in Windows I click on Start>uitvoeren, then I choose for cmd and click OK?
Then I got:

Microsoft Windows XP (versie 5.1.2600)
<C> Copyright 1985-2001 Microsoft Corp.

C: Documents and Settings\my name>

What shall I do next?
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 13th, 2011, 12:49 pm

Rodolpho wrote:I repeat: I am a newbe!
I suppose in Windows I click on Start>uitvoeren, then I choose for cmd and click OK?
Then I got:

Microsoft Windows XP (versie 5.1.2600)
<C> Copyright 1985-2001 Microsoft Corp.

C: Documents and Settings\my name>

What shall I do next?


Very good. In that "beautiful" black box, type:

Code: Select all
netsh interface ipv6 install

and then press ENTER.

Then type
Code: Select all
netsh interface ipv6 set teredo client

and then press ENTER

Then wait a few minutes, a visit the test-ipv6.com website ...
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 13th, 2011, 1:08 pm

Here are the results of the test-ipv6com website:

Uw score
7/10 voor je IPv4 stabiliteit en gereedheid als websites op zowel IPv4 als IPv6 bereikbaar zijn.
7/10 voor je IPv6 stabiliteit en gereedheid als websites enkel op IPv6 bereikbaar zijn.

The following tests gave as a result:
Test met een IPv4 DNS record goed (1.125s) gebruik makend van ipv4
Test met een IPv6 DNS record goed (0.984s) gebruik makend van ipv6 6to4
Test met een Dual Stack DNS record goed (0.734s) gebruik makend van ipv4
Test met een Dual Stack DNS en grote pakketten goed (0.422s) gebruik makend van ipv4
Test IPv4 zonder DNS goed (0.406s) gebruik makend van ipv4
Test IPv6 zonder DNS goed (0.406s) gebruik makend van ipv6 6to4
Test IPv6 met grote pakketten goed (0.422s) gebruik makend van ipv6 6to4
Test of uw ISP's DNS server IPv6 gebruikt bad (2.563s)
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 13th, 2011, 1:18 pm

OK, I didn't know that that site spoke Dutch, but 7/10 looks good.

Now you can fill out an IPv6-only newsserver, for example newszilla6.xs4all.nl at Config -> Server (so maybe http://localhost:8080/config/server/ ), 3 connections, no account or password. Click on Save, and then test server. What does SABnzbd say to you?
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 13th, 2011, 1:32 pm

I got the following result:

Image
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 13th, 2011, 1:34 pm

Uhh ... geen SSL gebruiken! Dus: poort = 119, en geen vinkje bij SSL. Dan Opslaan, dan Test Server.
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 13th, 2011, 1:42 pm

OK I can make a connection - maybe I'll really test the server tomorrow. How can I now specify which server I want to use; I have 2 now ?

Already thanks for the fantastic help.
Rodolpho
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 13th, 2011, 2:42 pm

Rodolpho wrote:OK I can make a connection - maybe I'll really test the server tomorrow. How can I now specify which server I want to use; I have 2 now ?


If you have both servers enabled, SABnzbd will use them both. Or, more accurately: SAB will try one server, and if that server hasn't that requested part available, SAB will try the other server.

Please note that newszila6.xs4all.nl has a very low retention: 10 days or so.
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby Rodolpho » November 14th, 2011, 1:23 pm

Following my first tests with the IPv6-newsserver newszilla6.xs4all.nl; the speedburst is enormous:
- with IPv4 reader.xsusenet.com (1) only between 53 and 124 KB/sec.
- with (1) + newszilla6.xs4all.nl between 414 and 879 KB/sec.
P.S.: of course, the retention period of newszilla6.xs4all.nl is much lower.

In the next days I'm going to test if it is usefull adding suplemental newsservers... Are there other free IPv6 newsservers?

Coincidentally today I read an article, in an old EOS-magazine (spring 2011), on the necessary changes from IPv4 to IPv6. As a result, I understand better what there is all behind.

Tomorrow Telenet will install fibrenet at home... I'm very curious if this will result in an additional speed.


Thnx for helping,
Rodolpho
Rodolpho
Newbie
Newbie
 
Posts: 15
Joined: November 9th, 2011, 5:38 pm

Re: SABnzbd and built-in IPv6 (teredo/miredo)

Postby sander » November 14th, 2011, 1:48 pm

Rodolpho wrote:Following my first tests with the IPv6-newsserver newszilla6.xs4all.nl; the speedburst is enormous:
- with IPv4 reader.xsusenet.com (1) only between 53 and 124 KB/sec.
- with (1) + newszilla6.xs4all.nl between 414 and 879 KB/sec.
P.S.: of course, the retention period of newszilla6.xs4all.nl is much lower.

In the next days I'm going to test if it is usefull adding suplemental newsservers... Are there other free IPv6 newsservers?


Congratulations. And enjoy IPv6. See my first post in this thread to see another free IPv6 newsserver.

A question for you: are you using a virusscanner? If so, which type? And a firewall on your PC?
Reason of my question: virusscanners / firewalls other than Microsoft Security Essentials have the strange habit of blocking IPv6 traffic. So I wonder what you use.
User avatar
sander
Release Testers
Release Testers
 
Posts: 4561
Joined: January 22nd, 2008, 3:22 pm

Next

Return to General Discussion