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 Windows DNS issues #2076

Merged
merged 8 commits into from
Nov 24, 2022
Merged

Conversation

tewinget
Copy link
Collaborator

@tewinget tewinget commented Nov 22, 2022

Fixes a couple of bugs with Windows DNS handling:

  • OS DNS config matching lokinet upstream config will work now

  • Windivert WINDIVERT_ADDRESS.Outbound flag will now be set correctly, i.e. packet injection will be in the correct direction.

These two points together should fix #2073

Also adds a bunch of debug logging

The DNS resolver code should not and can not be responsible for
preventing packet looping.
We simply keep the WINDIVERT_ADDRESS struct given on recv, so when
using it for send we need to invert the direction (the Output bit)
@majestrate majestrate merged commit 2c6e2e9 into oxen-io:dev Nov 24, 2022
@jagerman jagerman added this to the 0.9.11 milestone Nov 29, 2022
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.

windows dns on 0.9.10 build is buggy
3 participants