BOINC not working in NAT64?

Message boards : BOINC client : BOINC not working in NAT64?
Message board moderation

To post messages, you must log in.

AuthorMessage
MLx

Send message
Joined: 11 Dec 10
Posts: 4
Slovakia
Message 80265 - Posted: 17 Aug 2017, 7:20:18 UTC
Last modified: 17 Aug 2017, 7:23:08 UTC

Has anyone tried using BOINC in a NAT64+DNS64 network? I've moved my laptop to such network (after previously using it in IPv4-only and dual-stack Internet-connected networks), and nothing seems to work - boincstats BAM won't connect (fails with Account manager RPC failed: transient HTTP error), projects won't connect (tried LHC@home, RNA World and climateprediction.net, all fail with Scheduler request failed: Server returned nothing (no headers, no data).)

BOINC 7.6.34 on macOS 10.12.6

Dev guide: https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

Long story short:
    IPv4-only servers must be accessed via hostname. The translated address from the 64:ff9b::/96 prefix is provided by the DNS64 server (using google's 2001:4860:4860::6464)
    IPv4 literals won't work, use high-level APIs that will work with either IPv4 and IPv6

ID: 80265 · Report as offensive     Reply Quote
Profile Ageless
Volunteer moderator
Project administrator
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 12103
Netherlands
Message 80266 - Posted: 17 Aug 2017, 9:19:01 UTC - in response to Message 80265.  

I don't know, so I forwarded your question to the BOINC development email list. Let's see what kind of answers come in.
Jord
Please do not private message me for tech support. Use the forums for that. Tech PMs will be ignored.
ID: 80266 · Report as offensive     Reply Quote
MLx

Send message
Joined: 11 Dec 10
Posts: 4
Slovakia
Message 80267 - Posted: 17 Aug 2017, 10:03:13 UTC

Ran Wireshark and sure enough - there are DNS queries going out for rnaworld.de and bam.boincstats.com, but the requested record is A, not AAAA.

I read somewhere (had a quick google session), that BOINC uses its own DNS resolver - is that (still) true? That's where the problem most likely is.

@Devs: If you don't have access to proper NAT64, macOS can be used to create such a network (System Preferences -> Sharing -> Internet) since 10.11 I believe (see link to guidelines in the OP). There is a small difference (all DNS queries from the client are changed to A queries to upstream DNS, so all connections use NAT64), though that shouldn't make a difference as long as the servers are available via IPv4.
ID: 80267 · Report as offensive     Reply Quote
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 669
Finland
Message 80411 - Posted: 22 Aug 2017, 20:01:50 UTC - in response to Message 80267.  
Last modified: 22 Aug 2017, 20:02:09 UTC

BOINC uses libcurl to handle its connections to outside world. The Mac version uses IPv4 only to work around some bug. I asked our Mac developer to take a look if the workaround is still needed.
ID: 80411 · Report as offensive     Reply Quote

Message boards : BOINC client : BOINC not working in NAT64?

Copyright © 2017 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.