[PR #1031] [CLOSED] Add DNS forwarder logic #13242

Closed
opened 2026-08-05 02:07:52 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1031
Author: @pappz
Created: 7/26/2023
Status: Closed

Base: mainHead: kernel-fake-dns


📝 Commits (3)

📊 Changes

14 files changed (+471 additions, -41 deletions)

View changed files

client/internal/dns/forwarder/bpf_bpfeb.go (+123 -0)
client/internal/dns/forwarder/bpf_bpfeb.o (+0 -0)
client/internal/dns/forwarder/bpf_bpfel.go (+123 -0)
client/internal/dns/forwarder/bpf_bpfel.o (+0 -0)
client/internal/dns/forwarder/src/port_fwd.c (+100 -0)
client/internal/dns/forwarder/traffic_forwarder.go (+89 -0)
📝 client/internal/dns/server.go (+3 -10)
📝 client/internal/dns/server_test.go (+4 -4)
📝 client/internal/dns/service.go (+2 -2)
📝 client/internal/dns/service_listener.go (+20 -4)
📝 client/internal/dns/service_memory.go (+3 -3)
📝 go.mod (+1 -0)
📝 go.sum (+2 -17)
📝 iface/iface.go (+1 -1)

📄 Description

Describe your changes

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1031 **Author:** [@pappz](https://github.com/pappz) **Created:** 7/26/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `kernel-fake-dns` --- ### 📝 Commits (3) - [`f185107`](https://github.com/netbirdio/netbird/commit/f18510726850c78711d7b41397a82f700dbf0dac) Add forwarder logic - [`32b7ced`](https://github.com/netbirdio/netbird/commit/32b7ced0f8fb79cc2afb0d80ac4802668b534d82) Fix build without import C - [`23a6d7e`](https://github.com/netbirdio/netbird/commit/23a6d7e5a9e8694db194d84b812bad4228934797) Fix map reading ### 📊 Changes **14 files changed** (+471 additions, -41 deletions) <details> <summary>View changed files</summary> ➕ `client/internal/dns/forwarder/bpf_bpfeb.go` (+123 -0) ➕ `client/internal/dns/forwarder/bpf_bpfeb.o` (+0 -0) ➕ `client/internal/dns/forwarder/bpf_bpfel.go` (+123 -0) ➕ `client/internal/dns/forwarder/bpf_bpfel.o` (+0 -0) ➕ `client/internal/dns/forwarder/src/port_fwd.c` (+100 -0) ➕ `client/internal/dns/forwarder/traffic_forwarder.go` (+89 -0) 📝 `client/internal/dns/server.go` (+3 -10) 📝 `client/internal/dns/server_test.go` (+4 -4) 📝 `client/internal/dns/service.go` (+2 -2) 📝 `client/internal/dns/service_listener.go` (+20 -4) 📝 `client/internal/dns/service_memory.go` (+3 -3) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -17) 📝 `iface/iface.go` (+1 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:52 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13242