Summary on IPv6 in trunk version 2009-03-02:
1) [::] in SAB config makes starting SAB impossible
2) :: in SAB config results in SAB functioning and listening on IPv6, BUT auto-starting the webbrowser is not succesful:
Code: Select all
2009-03-03 19:38:17,585::INFO::[SABnzbd:941] Starting web-interface on :::8080
So:
SAB should be able to handle [ and ] around litteral IPv6 address (as it already did)
and/or
in the auto-start URL, SAB should insert [ and ].
Long story (and sorry for the garbage):
I can't get the trunk version of 2009-03-02 to listen on IPv6 with '[::]':
0.0.0.0 does not listen to IPv6 (as already determined)
[::] as host in the SAB config results in SAB not starting up anymore.
Code: Select all
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $ ./SABnzbd.py -f mijn-configje.cfg
Traceback (most recent call last):
File "./SABnzbd.py", line 1024, in <module>
main()
File "./SABnzbd.py", line 694, in main
cherrypy.process.servers.check_port(browserhost, https_port)
File "/home/sander/svn-sabnbzd-2/SABnzbd/trunk/main/cherrypy/process/servers.py", line 228, in check_port
socket.SOCK_STREAM):
socket.gaierror: (-2, 'Name or service not known')
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $ grep '::' mijn-configje.cfg
host = [::]
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $ grep host mijn-configje.cfg
host = [::]
host = news.ipv6.eweka.nl
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $
When I fill out the exact 2001: IPv6 address in the SAB config WITHOUT [ and ], and then connect to that interface, it works:
Code: Select all
sander@linuxmint6 ~ $ telnet 2001:838:3a3:0:218:deaa:fe10:c506 8080
Trying 2001:838:3a3:0:218:deff:fe10:c506...
Connected to 2001:838:3a3:0:218:deff:fe10:c506.
Escape character is '^]'.
GET /
HTTP/1.1 400
Content-Length: 22
Content-Type: text/plain
Malformed Request-LineConnection closed by foreign host.
sander@linuxmint6 ~ $
However, autostarting the web-interface from SAB does not work:
Code: Select all
2009-03-03 19:33:45,657::INFO::[SABnzbd:941] Starting web-interface on 2001:838:3a3:0:218:deff:fe10:c506:8080
which is not correct, of course.
Whenn I fill out [ and ] in the sab conf (like "host = [2001:838:3a3:0:218:deff:fe10:c506]"), I get the same error:
Code: Select all
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $ ./SABnzbd.py -f mijn-configje.cfg
Traceback (most recent call last):
File "./SABnzbd.py", line 1024, in <module>
main()
File "./SABnzbd.py", line 694, in main
cherrypy.process.servers.check_port(browserhost, https_port)
File "/home/sander/svn-sabnbzd-2/SABnzbd/trunk/main/cherrypy/process/servers.py", line 228, in check_port
socket.SOCK_STREAM):
socket.gaierror: (-2, 'Name or service not known')
sander@linuxmint6 ~/svn-sabnbzd-2/SABnzbd/trunk/main $