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

Netstack #1403

Merged
merged 46 commits into from Jan 3, 2024
Merged

Netstack #1403

merged 46 commits into from Jan 3, 2024

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Dec 19, 2023

Describe your changes

Add netstack support for the agent to run it without privileges.

  • use interface for tun device
  • use common IPC for userspace WireGuard integration
  • move udpmux creation and sharedsock to tun layer

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

@pappz pappz force-pushed the feature/netstack branch 2 times, most recently from 43fae76 to 41397b0 Compare December 21, 2023 10:32
@pappz pappz changed the title Refactor the tun code. Netstack Dec 27, 2023
@pappz pappz force-pushed the feature/netstack branch 4 times, most recently from db17cd1 to 16875df Compare December 27, 2023 17:47
Fix wg interface configuration order
@pappz pappz marked this pull request as ready for review December 29, 2023 14:02
iface/netstack/env.go Outdated Show resolved Hide resolved
iface/netstack/env.go Outdated Show resolved Hide resolved
client/internal/engine.go Outdated Show resolved Hide resolved
@pappz pappz merged commit 1de3bb5 into main Jan 3, 2024
20 checks passed
@pappz pappz deleted the feature/netstack branch January 3, 2024 15:06
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
Add netstack support for the agent to run it without privileges.

- use interface for tun device
- use common IPC for userspace WireGuard integration
- move udpmux creation and sharedsock to tun layer
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.

None yet

2 participants