[PR #3349] [CLOSED] fix: privacy warning on macOS #17173

Open
opened 2026-08-05 04:07:00 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3349
Author: @hurricanehrndz
Created: 2/19/2025
Status: Closed

Base: mainHead: fix_macos_priavcy_warning


📝 Commits (1)

  • 500df9e fix: privacy warning on macOS

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 client/system/static_info.go (+9 -0)

📄 Description

Describe your changes

On macOS, detect cloud and detect platform reach out to broadcast address, thus triggering the network privacy warning. This patch ensures that init is only called by programs running as root, i.e. the daemon.

This will ensure user programs like netbird-ui do not access broadcast address triggering privacy warnings.

static_info is unused by netbird-ui.

fixes #3326

#3326

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/3349 **Author:** [@hurricanehrndz](https://github.com/hurricanehrndz) **Created:** 2/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix_macos_priavcy_warning` --- ### 📝 Commits (1) - [`500df9e`](https://github.com/netbirdio/netbird/commit/500df9ef229dabc7bf1d1567a11a6973f49ceecf) fix: privacy warning on macOS ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `client/system/static_info.go` (+9 -0) </details> ### 📄 Description ## Describe your changes On macOS, detect cloud and detect platform reach out to broadcast address, thus triggering the network privacy warning. This patch ensures that init is only called by programs running as root, i.e. the daemon. This will ensure user programs like netbird-ui do not access broadcast address triggering privacy warnings. static_info is unused by netbird-ui. fixes #3326 ## Issue ticket number and link #3326 ### 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 04:07:00 -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#17173