RE: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-16 Thread Langer, Christoph
m>; Joel Peláez Jorge > <joelpel...@gmail.com>; net-dev@openjdk.java.net > Subject: Re: JDK-8200719: Cannot connect to IPv6 host when exists any active > network interface without IPv6 address > > On 13/04/18 14:57, Langer, Christoph wrote: > > Hi Chris, Joel, > >

Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-13 Thread Chris Hegarty
: Mittwoch, 11. April 2018 18:11 To: Langer, Christoph <christoph.lan...@sap.com>; Joel Peláez Jorge <joelpel...@gmail.com>; net-dev@openjdk.java.net Subject: Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address On 11/04/18 15:44, Lange

RE: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-13 Thread Langer, Christoph
@sap.com>; Joel Peláez Jorge > <joelpel...@gmail.com>; net-dev@openjdk.java.net > Subject: Re: JDK-8200719: Cannot connect to IPv6 host when exists any active > network interface without IPv6 address > > On 11/04/18 15:44, Langer, Christoph wrote: > > Hi Joel, >

Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Joel Peláez Jorge
Hi Brend, I don't want remove all code related to scope_id assignation because it can break compatibility with old software, the new code only allows unicast packets be routed by the OS. I couldn't find the reason to exists of that (old) code. Linux has a filesystem than allow to applications

Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Bernd Eckenfels
jdk.java.net Subject: Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address On 11/04/18 15:44, Langer, Christoph wrote: > Hi Joel, > > Sounds good to me then. I created a webrev and uploaded it: > http://cr.openjdk.java.net/~clanger/

Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Chris Hegarty
On 11/04/18 15:44, Langer, Christoph wrote: Hi Joel, Sounds good to me then. I created a webrev and uploaded it: http://cr.openjdk.java.net/~clanger/webrevs/8200719.0/ I will run it through the tests here at SAP and check the results. I will run it through the test system here in Oracle

RE: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Langer, Christoph
: Joel Peláez Jorge [mailto:joelpel...@gmail.com] > Sent: Mittwoch, 11. April 2018 12:54 > To: Langer, Christoph <christoph.lan...@sap.com>; net- > d...@openjdk.java.net > Subject: Re: JDK-8200719: Cannot connect to IPv6 host when exists any active > network interface w

Re: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Joel Peláez Jorge
Hi Christoph, OS X has a issue that needs "always" add a sin6_scope_id a multicast packet, I check that exists a old issue that logged it and add that piece of code: https://bugs.openjdk.java.net/browse/JDK-7144274 The DefaultInterface class in OS X is a plain Java class that list all

RE: JDK-8200719: Cannot connect to IPv6 host when exists any active network interface without IPv6 address

2018-04-11 Thread Langer, Christoph
Hi Joel, your fix sounds reasonable. In fact, I'm not even sure if the sin6_scope_id should be set for multicast. Maybe it should be done only for link local addresses. Additionally, I guess the selection of the default interface (for IPv6) should be improved because I still can imagine a