Skip to content

Conversation

Roasbeef
Copy link
Member

Replaces #4988

Crypt-iQ and others added 3 commits February 5, 2021 15:37
With this commit, if --tor.active is specified, then IPv6 addresses
will no longer go through the connmgr.TorLookupIP function from btcd.
This function does not have proper IPv6 support and would fail with
the error "tor general error". Instead, use the system resolver.
In this commit, we fix a bug that would cause resolution of items in
/etc/hosts (or the like) to fail as Tor wouldn't recognize them as
proper host names. With this commit, we'll catch this error and fall
back to the system's resolver.
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@Roasbeef
Copy link
Member Author

This is mainly a short term fix, once this lands we should modify btcd's connmgr lookup method to also support IPv6

@Roasbeef Roasbeef merged commit 3ad8b86 into lightningnetwork:master Feb 11, 2021
@cfromknecht cfromknecht mentioned this pull request Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants