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

Feat fake dns address #902

Merged
merged 13 commits into from
Jun 8, 2023
Merged

Feat fake dns address #902

merged 13 commits into from
Jun 8, 2023

Conversation

gigovich
Copy link
Contributor

Describe your changes

Add DNS packet catch hook.
Rename SetFiltering to SetFilter.
Add DNS response writer.
Handle userspace network in fake DNS server.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

Base automatically changed from feat-linux-firewall-support to main May 29, 2023 14:00
@gigovich gigovich force-pushed the feat-fake-dns-address branch from 42bfcdc to d49ef3b Compare May 30, 2023 06:33
@mlsmaycon mlsmaycon requested a review from pappz June 2, 2023 07:38
@gigovich gigovich force-pushed the feat-fake-dns-address branch from 2c09b77 to ef7aea9 Compare June 5, 2023 07:52
@gigovich gigovich marked this pull request as ready for review June 5, 2023 14:15
@gigovich gigovich force-pushed the feat-fake-dns-address branch from b638771 to aeb2e8e Compare June 7, 2023 11:13
Copy link
Collaborator

@mlsmaycon mlsmaycon left a comment

Choose a reason for hiding this comment

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

LGTM

@gigovich gigovich merged commit 1d9feab into main Jun 8, 2023
@gigovich gigovich deleted the feat-fake-dns-address branch June 8, 2023 09:46
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
Works only with userspace implementation:
1. Configure host to solve DNS requests via a fake DSN server address in the Netbird network.
2. Add to firewall catch rule for these DNS requests.
3. Resolve these DNS requests and respond by writing directly to wireguard device.
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
Works only with userspace implementation:
1. Configure host to solve DNS requests via a fake DSN server address in the Netbird network.
2. Add to firewall catch rule for these DNS requests.
3. Resolve these DNS requests and respond by writing directly to wireguard device.
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