[PR #1043] [CLOSED] Fix/peer list notification #13256

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1043
Author: @pappz
Created: 8/2/2023
Status: Closed

Base: mainHead: fix/peer_list_notification


📝 Commits (4)

  • 337020b Add forwarder logic
  • 9a418e8 Fix build without import C
  • b5affa1 Fix map reading
  • c92ca4a After add listener automatically trigger peer list change event

📊 Changes

16 files changed (+479 additions, -42 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)
📝 client/internal/peer/notifier.go (+3 -0)
📝 client/internal/peer/status.go (+5 -1)
📝 go.mod (+1 -0)
📝 go.sum (+2 -17)
📝 iface/iface.go (+1 -1)

📄 Description

Describe your changes

In case of alway-on start the peer list was invalid on Android UI.

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/1043 **Author:** [@pappz](https://github.com/pappz) **Created:** 8/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/peer_list_notification` --- ### 📝 Commits (4) - [`337020b`](https://github.com/netbirdio/netbird/commit/337020bf59c9ad66d307788441228cb6c2d052bc) Add forwarder logic - [`9a418e8`](https://github.com/netbirdio/netbird/commit/9a418e8dbf0a6274e874b195278d7bdef1f7e048) Fix build without import C - [`b5affa1`](https://github.com/netbirdio/netbird/commit/b5affa1b1284de1a22ce15037bf4851796a86471) Fix map reading - [`c92ca4a`](https://github.com/netbirdio/netbird/commit/c92ca4a0dc8a0cad63d3756025b54783d66f5f01) After add listener automatically trigger peer list change event ### 📊 Changes **16 files changed** (+479 additions, -42 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) 📝 `client/internal/peer/notifier.go` (+3 -0) 📝 `client/internal/peer/status.go` (+5 -1) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -17) 📝 `iface/iface.go` (+1 -1) </details> ### 📄 Description ## Describe your changes In case of alway-on start the peer list was invalid on Android UI. ## Issue ticket number and link ### Checklist - [x] 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 --- <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:54 -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#13256