Community Forums

Home » Vuze Forums » Community Open Support


Thread: Actual status of the IPv6 support in Vuze in Windows Vista environment?


Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 0. Correct answers available: 1.

Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 14 - Pages: 1 - Last Post: Mar 15, 2009 1:09 AM Last Post By: mmore1q3
mmore1q3


Posts: 6,194
Registered: 12/02/07
Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Feb 9, 2009 5:48 AM
 
Click to report abuse...
I started to test with IPv6 connectivity in my Vista, by installing a tunnel through SixXs, which creates a IPv6 tunnel over my ISP's IPv4 only connections. As Vista has native IPv6 support, I am now able to use IPv6 web services just fine. Pinging, tracing and web browsing (to IPv6-only sites like ipv6.google.com) works ok.

However, I am a bit lost assessing the IPv6 support in Vuze in Vista environment.
IPv6 DHT seems to work, peers are found, but I didn't see any real activity last night.
Downloading some torrents from sixxs-ipv6 tracker worked, but no actual connections with peers seem to work.

I tried searching the forum here, and got a bit vague results:
Message from September ( http://forum.vuze.com/thread.jspa?messageID=176680 ) and especially the reference to Sun java bugs and forthcoming changed in JDK7 ( http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ) implies that Vuze IPv6 might not work well in Windows with Java 6.

Also the message from The8472 in the following thread points to the same direction:
http://forum.vuze.com/thread.jspa?messageID=166197#166197

On the other hand, the most recent message, from Nolar in January 2009, makes me think that IPv6 in Vista should work.
http://forum.vuze.com/thread.jspa?messageID=188115#188115
However, my own experince is more similar to Napsterbater's experiences in that same thread.

So, my question is that is the IPv6 support in Vista environment really functional in Vuze 4.1.0.2 and onwards?

Especially when I have the same situation as Napsterbeater:
  • there is the "real connection" with IPv4 to ISP on one adapter, and
  • then there is the IPv6 connection tunnel as another adapter.
This makes the Vuze binding option unusable, as they are different adapters... Is that a correct assumption?

Has anyone been able to determine the working settings in Advanced network settings for supporting both IPv4 & IPv6 in Vista?
Should I enable or disable the "prefer IPv6 when both..."?

Might it be possible to have separate binding options in Advance network settings for IPv4 and IPv6?

Edited by: mmore1q3 on 13-Feb-2009 15:21
No comments from anyone?

Edited by: mmore1q3 on 15-Feb-2009 13:25
Tested a bit more with a torrent, which downloads via IPv6 just perfectly using uTorrent...
Downloading with Vuze fails, as independently of the binding and prefer-IPv6 settings in Adv.Network settings, the contacts to actual clients fail with error (see the log):
13:19:22.949 {peer} Peer connection closed: failed to establish outgoing connection: Address family not supported by protocol family: bind; | TorrentDLM: 'ubuntu-8.10-desktop-i386.ipv6.iso'; Peer: L: 2001:16d8:ff53:1:20c:29ff:fe90:756a:53500
Washii

Posts: 5,261
Registered: 11/14/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Feb 14, 2009 10:04 PM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
Err..I thought I'd asked somebody to look at this. Apparently not. Sorry about that, I'll do it now.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Feb 17, 2009 10:45 AM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
Well, as there seems to be no comments available from the devs, I tested a bit more...

I installed the beta version of Java 7, (build 1.7.0-ea-b47, from February 2009). And that made the IPv6 work in Vuze just fine (even with the combination of the real adapter running with IPv4 and a second "tunnel adapter" with IPv6.) No binding settings were needed.

This makes me think that the one-year-old comment from The_4872 still holds true and IPv6 does not work in Vuze in Windows with java6, although Nolar hints otherwise in his later comment from this January.

20:24:59.480 0 logger **** Logging starts: Vuze 4.1.0.3_B06 ****
20:24:59.481 0 logger java.home=C:\Program Files\Java\jre1.7.0
20:24:59.481 0 logger java.version=1.7.0-ea
20:24:59.481 0 logger os=x86/Windows Vista/6.0
20:24:59.481 0 logger user.dir=C:\Program Files\Vuze
20:24:59.481 0 logger user.home=C:\Users\xxxx
20:24:59.481 0 GUI StartServer: listening on 127.0.0.1:6880 for passed torrent info


Then returning back to normal java 6, breaks again Vuze IPv6.
(and there is the complaint about "nio + ipv6 test failed")

20:32:29.631 0 logger **** Logging starts: Vuze 4.1.0.3_B06 ****
20:32:29.631 0 logger java.home=c:\program files\java\jre6
20:32:29.631 0 logger java.version=1.6.0_12
20:32:29.631 0 logger os=x86/Windows Vista/6.0
20:32:29.631 0 logger user.dir=C:\Program Files\Vuze\
20:32:29.631 0 logger user.home=C:\Users\xxxx
20:32:29.631 0 GUI StartServer: listening on 127.0.0.1:6880 for passed torrent info
20:32:29.800 1 nwman nio + ipv6 test failed
pono650

Posts: 952
Registered: 03/19/08
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Feb 20, 2009 6:03 PM   in response to: mmore1q3 in response to: mmore1q3
Helpful
Click to report abuse...
Thanks mmore1q3 -- we've set up an environment internally to test it and try to figure out what's going on. Personally I need to understand better what the benefit of supporting it would be; my inclination is to fix the broken part (the IP binding failure, if I remember correctly) but to defer working on making the v6 support functional.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Feb 21, 2009 12:28 AM   in response to: pono650 in response to: pono650
 
Click to report abuse...
IPv6 is still somewhere in the future, but will arrive someday to many users' desks.
I got interested about IPv6 because of just that bind-to-ip error message in Vuze, which seems to burden new users a lot (especially in Vista which has IPv6 enabled by default, which is the major change compared to XP). And reading the forum left me confused about the status of the actual situation with IPv6 in Vuze, so as a curious person I have now done some experimenting...

Good that you are looking into the matter, and I agree that fixing the bind-to-ip has higher priority than improving the actual IPv6 support. My gut feeling is that the bind-to-ip is a combination of Vuze's IPv6 detection logic, Vista having IPv6 (but typically no IPv6 connectivity) and in addition the growing amount of laptops with LAN + WLAN adapters (multiple interfaces visible in any case).

Regarding the bind-to-ip, I wrote in an earlier message in November: http://forum.vuze.com/message.jspa?messageID=182792#182792
The only place where that error message can be found, is in new code (related to IPv6 capabilities) inserted into \azureus2\com\aelitis\azureus\core\networkmanager\impl\tcp\IncomingSocketChannelManager.java (approx. lines 396-420) by the8472 on 5 July 2008, i.e. after the 3110 release. So Vuze 4.0 is the first version where the average Joe has got the possibility to run into the 'bind-to-ip' error message. That is the reason why this is now surfacing.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 4, 2009 1:20 PM   in response to: pono650 in response to: pono650
 
Click to report abuse...
Just an update:
I have now IPv6 tunnel to my router, which then routes IPv6 traffic for my (80-bit wide) IPv6 subnet.
Vista picks up its IPv6 address automatically, and autoconfigures routing, as supposed. So, from Vista's perspective, IPv6 works natively alongside the traditional IPv4.
No change in Vuze behaviour:
does not work with JRE6 >>>az.log: 21:49:55.431 1 nwman nio + ipv6 test failed
but works nicely with JRE7.
RHarmsen

Posts: 10
Registered: 02/19/08
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 7, 2009 6:03 AM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
I hope, JRE7 will be made final soon.
This will help getting IPv6 stuff going much easier.

Next to this, I hope IPv6 support in Vuze will be worked on in the future, this will help boosting IPv6 usage, which in turn (hopefully) speeds up ISPs in implementing native IPv6 instead of tunnels.

IPv6 has also the benefit of not needing NAT, which will help resolving other connectivity problems users are experiencing.
The 8472

Posts: 2,169
Registered: 11/13/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 13, 2009 3:59 PM   in response to: mmore1q3 in response to: mmore1q3
Helpful
Click to report abuse...
mmore1q3 wrote:
This makes me think that the one-year-old comment from The_4872 still holds true and IPv6 does not work in Vuze in Windows with java6, although Nolar hints otherwise in his later comment from this January.

20:24:59.480 0 logger **** Logging starts: Vuze 4.1.0.3_B06 ****
20:24:59.481 0 logger java.home=C:\Program Files\Java\jre1.7.0
20:24:59.481 0 logger java.version=1.7.0-ea
20:24:59.481 0 logger os=x86/Windows Vista/6.0
20:24:59.481 0 logger user.dir=C:\Program Files\Vuze
20:24:59.481 0 logger user.home=C:\Users\xxxx
20:24:59.481 0 GUI StartServer: listening on 127.0.0.1:6880 for passed torrent info


Then returning back to normal java 6, breaks again Vuze IPv6.
(and there is the complaint about "nio + ipv6 test failed")

20:32:29.631 0 logger **** Logging starts: Vuze 4.1.0.3_B06 ****
20:32:29.631 0 logger java.home=c:\program files\java\jre6
20:32:29.631 0 logger java.version=1.6.0_12
20:32:29.631 0 logger os=x86/Windows Vista/6.0
20:32:29.631 0 logger user.dir=C:\Program Files\Vuze\
20:32:29.631 0 logger user.home=C:\Users\xxxx
20:32:29.631 0 GUI StartServer: listening on 127.0.0.1:6880 for passed torrent info
20:32:29.800 1 nwman nio + ipv6 test failed

I wrote that test to check if an NIO socket can be bound to an IPv6 address since that is basically the problem with the implementation of NIO under windows, it wasn't ipv6 compatible because the only ipv6 stack available when it was implemented was the separate stack under windows XP, vista didn't exist back then. Java 7 has a new implementation that's compatible with vista's dual stack, hence java7 works with ipv6 + nio and java 6 doesn't.

Basically, there is nothing we can do beyond waiting for the java7 final.

mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 1:55 AM   in response to: The 8472 in response to: The 8472
 
Click to report abuse...
Basically, there is nothing we can do beyond waiting for the java7 final.
Yes, so it seems to be regarding the actual IPv6 support.
But that might be mentioned somewhere, or if possible, we could have an option to disable the IPv6 functionality by default. A minuscular minority of users has even heard about IPv6, and for most it does not work (and may not work for many years if ISPs are slow in adoption). Those, who have IPv6 capability are the knowledgeable minority, who can better tinker with settings than the majority of casual layman users.

The main problem in Vuze comes from the NAT test and the influx of questions about "bind-to-IP" errors since Vuze 4.0, where that message was introduced.
For example, even my Vuze occasinally gives me that error if I run the NAT test (see the attached image with green smilies, NAT OK indicator, and still the bind-to-IP error...)

There are so many network interfaces in Vista enabled by default (Teredo etc.), that it is not wonder that Vuze gets confused sometimes. I get that error message from the test, but still I have only one interface with proper IPv4 address (in addition to loopback):
The following interfaces are available:
eth11 (WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000)
...
lo (Software Loopback Interface 1)
lo[0] 0:0:0:0:0:0:0:1
lo[1] 127.0.0.1
eth2 (Generic Marvell Yukon 88E8056 based Ethernet Controller)
eth2[0] 2001:14b8:----:----:6926:5a18:a42e:57a3
eth2[1] 2001:14b8:----:----:fc6d:f416:1600:85ce
eth2[2] fe80:0:0:0:6926:5a18:a42e:57a3%8
eth2[3] 192.168.0.101
net3 (Teredo Tunneling Pseudo-Interface)
net3[0] fe80:0:0:0:0:100:7f:fffe%11
eth5 (TAP-Win32 Adapter V9)
eth5[0] fe80:0:0:0:5102:e0cd:be85:2f3%13

Couldn't the detection logic in Vuze to be enhanced to search even more carefully for a proper IPv4 address?
Or disregard the IPv6-only interfaces if there are IPv4 interfaces? (Like my system: there is only one interface with non-loopback IPv4 address...)
That might decrease the amount of unneeded bind-to-ip errors.

(I understand that especially in laptops there are sometimes two active IPv4 connections, if both wired and wireless are active. So the approach is not perfect.)
The 8472

Posts: 2,169
Registered: 11/13/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 2:33 AM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
Hum, i've been away for a while... what problems related to "bind to IP" are occurring atm? If no interface it specified it should either bind to "::", i.e. the IPv6-any address or to "0.0.0.0" if ipv6+NIO is not supported.
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 2:38 AM   in response to: The 8472 in response to: The 8472
 
Click to report abuse...
search the forum for bind to ip...
http://forum.vuze.com/search.jspa?q=bind+to+ip
http://forum.vuze.com/search.jspa?q=bind-to-ip

A rather massive amount of newbie users get that message when doing NAT test in Vuze. Ever since Vuze 4.0 was published...

My comments about that a few messages earlier in this thread:
(originally in http://forum.vuze.com/thread.jspa?messageID=182789#182789 in November 2008)
The only place where that error message can be found, is in new code (related to IPv6 capabilities) inserted into \azureus2\com\aelitis\azureus\core\networkmanager\impl\tcp\IncomingSocketChannelManager.java (approx. lines 396-420) by the8472 on 5 July 2008, i.e. after the 3110 release. So Vuze 4.0 is the first version where the average Joe has got the possibility to run into the 'bind-to-ip' error message. That is the reason why this is now surfacing.

I think that most Vista users do get that message...
The 8472

Posts: 2,169
Registered: 11/13/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 4:23 AM   in response to: mmore1q3 in response to: mmore1q3
Helpful
Click to report abuse...
ok, i think i have fixed it... please try the next beta
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 5:01 AM   in response to: The 8472 in response to: The 8472
 
Click to report abuse...
Great, I will test that. Hopefully that solves the issue.
The bind-to-ip message has confused countless number of users, and has been a source to constant flow of suport questions here in forum.
If that test/message really got fixed, it is a major achivement for 4.2.0.0 release ;-)

Looks like you are the only developer familiar with that part of the code...
Pono650 and others have acknowledged the problem months ago here in forum discussions, but nobody has actually dared to do anything to the code...
The 8472

Posts: 2,169
Registered: 11/13/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 14, 2009 11:25 AM   in response to: mmore1q3 in response to: mmore1q3
 
Click to report abuse...
probably because i was the one who broke it ;)
mmore1q3


Posts: 6,194
Registered: 12/02/07
Re: Actual status of the IPv6 support in Vuze in Windows Vista environment?
Posted: Mar 15, 2009 1:08 AM   in response to: The 8472 in response to: The 8472
 
Click to report abuse...
The NAT test seems now to work for me in Vista.
So, most likely that annoying bind-to-ip error message will be history.

And I guess that we will have to wait for JRE7 for getting the proper IPv6 support in Vista.
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums