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

fix(derp): Filter DNS results by address family #1227

Merged
merged 3 commits into from
Jul 13, 2023

Conversation

flub
Copy link
Contributor

@flub flub commented Jul 13, 2023

Description

We try dialing the derper via both IPv4 and IPv6. However when the
derper address is looked up via DNS we need to filter the DNS results
for the corresponding address family otherwise we'll end up dialing
the same derper twice on the same address.

Notes & open questions

Tested by staring at logs. Can't really wish for more right now.

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

We try dialing the derper via both IPv4 and IPv6.  However when the
derper address is looked up via DNS we need to filter the DNS results
for the corresponding address family otherwise we'll end up dialing
the same derper twice on the same address.
@flub flub requested review from ramfox and dignifiedquire July 13, 2023 14:04
@flub flub enabled auto-merge (squash) July 13, 2023 15:24
@flub flub merged commit b6f9df3 into main Jul 13, 2023
@flub flub deleted the flub/derp-dial-dns-ip-family branch July 13, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants