0.3.0 IPv6 on Vista

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Yarbles
Newbie
Newbie
Posts: 36
Joined: January 25th, 2008, 6:51 am

0.3.0 IPv6 on Vista

Post by Yarbles »

Version:  0.3.0 Final
OS: Vista Business
Install-type:  Windows Installer
Firewall Software: Vista firewall
Are you using IPV6? Trying  :)
Is the issue reproducible? yes

I wanted to try that free IPv6 news server posted in the free usenet thread, so I got everything setup on my Vista system. Because I'm behind a NAT I had to install a tunnel client  (from go6) which went very smoothly. While I'm able to ping newszilla6.xs4all.nl fine, SAB isn't working. The log says:

2008-01-25 06:41:42,513::INFO::[downloader] [email protected] :119: Initiating connection
2008-01-25 06:41:42,516::ERROR::[downloader] Failed to initialize [email protected] :119
Traceback (most recent call last):
  File "sabnzbd\downloader.pyo", line 211, in run
  File "sabnzbd\newswrapper.pyo", line 91, in init_connect
  File "sabnzbd\newswrapper.pyo", line 44, in __init__
gaierror: (11001, 'getaddrinfo failed')
2008-01-25 06:41:42,519::WARNING::[downloader] Thread [email protected] :119: failed to initialize

To further check I installed BNR2, which supports IPv6, and it worked fine with xs4all.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: 0.3.0 IPv6 on Vista

Post by sander »

Yarbles, I was trying to going to help, but it looks like I'm going to give more confusion:

That line 44 is this:

        res = socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM)

So I tried some things from the Python CLI (not SAB itself) on Ubuntu Linux (see below). My goal was to fingerpoint the difference between python on Linux and python on Windows. But the strange thing is that I get the same error now for newszilla6.xs4all.nl. Apparantly the root cause is somewhere else in the SAB code, and not just this line.

Sorry. The SAB authors are needed.
sander@fujitsu:~$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import socket

>>> socket.getaddrinfo('news.xs4all.nl', 119, 0, socket.SOCK_STREAM)
[(2, 1, 6, '', ('194.109.133.133', 119))]

>>> socket.getaddrinfo('newszilla6.xs4all.nl', 119, 0, socket.SOCK_STREAM)
Traceback (most recent call last):
  File "", line 1, in
socket.gaierror: (-2, 'Name or service not known')

>>> socket.getaddrinfo('newszilla6.xs4all.nl', None, socket.AF_INET6, socket.SOCK_DGRAM, socket.IPPROTO_IP, socket.AI_CANONNAME)
[(10, 2, 17, 'newszilla6.xs4all.nl', ('2001:888::119', 0, 0, 0))]
>>>
sander@fujitsu:~$
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.3.0 IPv6 on Vista

Post by shypike »

The IPV6 modifications to newswrapper.py were made by an outside contributer, who claims that this works on his (Windows) system.
Alas, nobody in the team has an IPV6 connection available.

I have applied for an account on SixXS.net, so that I can debug this myself.
You need to have some patience.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: 0.3.0 IPv6 on Vista

Post by sander »

shypike wrote: The IPV6 modifications to newswrapper.py were made by an outside contributer, who claims that this works on his (Windows) system.
If it's based on the patch on http://sourceforge.net/tracker/index.ph ... tid=773611, it does say it's not tested on Windows:
Patch on newswrapper.py to add IPv6 support. I've
tested it on my Linux server to connect to the IPv6
public newsserver newszilla6.xs4all.nl:119. It works
fine. Don't know if it's works on Windows.
But maybe there's another IPv6 patch?
Alas, nobody in the team has an IPV6 connection available.

I have applied for an account on SixXS.net, so that I can debug this myself.
You need to have some patience.
Good; sixxs' aiccu setup is easy and good.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Yarbles
Newbie
Newbie
Posts: 36
Joined: January 25th, 2008, 6:51 am

Re: 0.3.0 IPv6 on Vista

Post by Yarbles »

I used http://go6.net/ as a tunnel broker. Their registration system doesn't require human approval, so I was up and running in 10 minutes.
mekong75
Newbie
Newbie
Posts: 2
Joined: January 28th, 2008, 4:20 pm

Re: 0.3.0 IPv6 on Vista

Post by mekong75 »

sander wrote: Yarbles, I was trying to going to help, but it looks like I'm going to give more confusion:

That line 44 is this:

        res = socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM)

So I tried some things from the Python CLI (not SAB itself) on Ubuntu Linux (see below). My goal was to fingerpoint the difference between python on Linux and python on Windows. But the strange thing is that I get the same error now for newszilla6.xs4all.nl. Apparantly the root cause is somewhere else in the SAB code, and not just this line.

Sorry. The SAB authors are needed.
sander@fujitsu:~$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import socket

>>> socket.getaddrinfo('news.xs4all.nl', 119, 0, socket.SOCK_STREAM)
[(2, 1, 6, '', ('194.109.133.133', 119))]

>>> socket.getaddrinfo('newszilla6.xs4all.nl', 119, 0, socket.SOCK_STREAM)
Traceback (most recent call last):
  File "", line 1, in
socket.gaierror: (-2, 'Name or service not known')

>>> socket.getaddrinfo('newszilla6.xs4all.nl', None, socket.AF_INET6, socket.SOCK_DGRAM, socket.IPPROTO_IP, socket.AI_CANONNAME)
[(10, 2, 17, 'newszilla6.xs4all.nl', ('2001:888::119', 0, 0, 0))]
>>>
sander@fujitsu:~$

Sander, it seems UDP is working but your IPv6 TCP is disfunc? Router problem? If your router is NAT'ed and you setup an IPv6 tunnel
through NAT, your router should support protocol 41 or else it won't work. Try: telnet -6 2001:888::119 119 to test TCP connection.

The IPv6 patch on sabnzbd sourceforge didn't have anything IPv6 specific it just remove any hardcoded IPv4 part.
It choose IPv4 or IPv6 socket depend on DNS resolved result.
Last edited by mekong75 on January 28th, 2008, 7:08 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: 0.3.0 IPv6 on Vista

Post by sander »

@mekong75: My IPv6 and SAB over IPv6 is fully functional; my SAB does all downloads over IPv6.
I think your reply is meant for Yarbles.

HTH
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Yarbles
Newbie
Newbie
Posts: 36
Joined: January 25th, 2008, 6:51 am

Re: 0.3.0 IPv6 on Vista

Post by Yarbles »

That telnet command works fine (minus the -6, which isn't a switch for Vista's telnet):
201 dreader10.news.xs4all.nl NNRP Service Ready - [email protected] (no posti
ng).
As I said in the OP, it also works in BNR2. It was able to connect to the IPv6 sever, download a group list, and headers for a group.
mekong75
Newbie
Newbie
Posts: 2
Joined: January 28th, 2008, 4:20 pm

Re: 0.3.0 IPv6 on Vista

Post by mekong75 »

From your error log, it seems sab can't resolve the servername. Can you try to use the server ipv6 address instead of the servername: 2001:888::119 instead of newszilla6.xs4all.nl? If it didn't work, another possibility is the Windows python version which the maintainer of sabplus use to create the Windows binary doesn't support ipv6.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.3.0 IPv6 on Vista

Post by shypike »

We're working on testing this problem.
Fact is that no one in the team has real IPV6 access.
I have applied for an SiXXS account to solve this dilemma.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: 0.3.0 IPv6 on Vista

Post by sander »

ShyPike,

If sixxs takes too long, you can try www.go6.net ; registration + confirmation will only take a minute.

Groet,

Sander
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.3.0 IPv6 on Vista

Post by shypike »

It took a long time, but I got some test results.

On Windows XP with Microsoft IPV6 and AICCU installed, I can access newszilla6.xs4all.nl fine. No problems.

Testing on Vista is officially not possible this way. The SiXXS website says there is no support for AICCU on Vista.

How do you guys test IPV6 with Vista?

BTW: the error you get from socket.getaddrinfo just means that the address does not resolve properly.
I'll put a clear error message in 0.3.1.
Last edited by shypike on February 8th, 2008, 12:07 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: 0.3.0 IPv6 on Vista

Post by sander »

Shypike, have you tried www.go6.net; it does *not* use AICCU, so it's worth a try on Vista.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Yarbles
Newbie
Newbie
Posts: 36
Joined: January 25th, 2008, 6:51 am

Re: 0.3.0 IPv6 on Vista

Post by Yarbles »

I used go6.net and installed the Gateway6 v5.1 32-bit client.  I don't recall having to take any additional steps (like disabling Vista's built in IPv6 support),  it just worked.
Post Reply