Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE cannot download board definitions on IPv6-only network (NAT64 / DNS64) #11179

Open
Nicholas-Johnson-opensource opened this issue Jan 19, 2021 · 0 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug

Comments

@Nicholas-Johnson-opensource

Arduino IDE cannot download board definitions on IPv6-only network (NAT64 / DNS64) on Windows. I will test Linux when I have more time and will update you on Linux. This IPv6-only network works for all applications which support proper networking API calls. It provides access to IPv4 services by synthesising an AAAA record for all domain names without one, and then using the NAT64 to exchange IPv6 <-> IPv4 packets on the network boundary. If I move it onto a different network segment with dual-stack IPv4 / IPv6, then the downloads work using native IPv4.

This can be for a couple of reasons:

  • IPv4 hardcoded literals will fail on IPv6-only network - should always use DNS to resolve addresses
  • Legacy networking API calls which cannot handle any address family

This is a ticking time bomb, as IPv6 adoption grows. https://www.google.com/intl/en/ipv6/statistics.html
ISPs which offer IPv6-only will grow from being rare to becoming common. You will alienate these users, and for what? Holding onto legacy API calls?

Please strongly consider testing the Arduino IDE out on an IPv6-only network, and fix any issues which arise from network connectivity.

You can get an IPv6-only network with which to test:

Thank you!

@per1234 per1234 added Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug labels Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants