We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TorLookupIP
Today if the TorLookupIP is used to resolve a hostname, and the first IP returned is actually IPv6, then we'll end up erroring out here:
btcd/connmgr/tor.go
Line 120 in 780cc08
We should update this method to support IPv6 parsing by checking the length response, and parsing an IPv6 address accordingly. This python code may prove to be useful during implementation: https://github.com/torproject/tor/blob/main/contrib/client-tools/tor-resolve.py#L49.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Today if the
TorLookupIP
is used to resolve a hostname, and the first IP returned is actually IPv6, then we'll end up erroring out here:btcd/connmgr/tor.go
Line 120 in 780cc08
We should update this method to support IPv6 parsing by checking the length response, and parsing an IPv6 address accordingly. This python code may prove to be useful during implementation: https://github.com/torproject/tor/blob/main/contrib/client-tools/tor-resolve.py#L49.
The text was updated successfully, but these errors were encountered: