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

2018-04-10 Thread Joel Peláez Jorge
Hi, I am new in the OpenJDK Community and I contribute with a fix for the bug 8200719 related to networking in macOS system. I wrote a minimal patch that only set the scope id when the address is link-local or multicast. This change avoid send IPv6 packets on a wrong interface. Bug:

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
soring this... Best regards Christoph [1] http://openjdk.java.net/contribute/ -Original Message- From: net-dev [mailto:net-dev-boun...@openjdk.java.net] On Behalf Of Joel Peláez Jorge Sent: Dienstag, 10. April 2018 00:37 To: net-dev@openjdk.java.net Subject: JDK-8200719: Cannot conne

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