Zoltan Papp
636a0e2475
[client] Fix engine restart ( #3435 )
...
- Refactor the network monitoring to handle one event and it after return
- In the engine restart cancel the upper layer context and the responsibility of the engine stop will be the upper layer
- Before triggering a restart, the engine checks whether the state is already down. This helps avoid unnecessary delayed network restart events.
2025-03-10 13:32:12 +01:00
Viktor Liu
e66e329bf6
[client] Add option to autostart netbird ui in the Windows installer ( #3469 )
2025-03-10 13:19:17 +01:00
Zoltan Papp
aaa23beeec
[client] Prevent to block channel writing ( #3474 )
...
The "runningChan" provides feedback to the UI or any client about whether the service is up and running. If the client exits earlier than when the service successfully starts, then this channel causes a block.
- Added timeout for reading the channel to ensure we don't cause blocks for too long for the caller
- Modified channel writing operations to be non-blocking
2025-03-10 13:17:09 +01:00
Zoltan Papp
6bef474e9e
[client] Prevent panic in case of double close call ( #3475 )
...
Prevent panic in case of double close call
2025-03-10 13:16:28 +01:00
Viktor Liu
c73481aee4
[client] Enable windows stderr logs by default ( #3476 )
2025-03-10 11:30:49 +01:00
Viktor Liu
fc1da94520
[client, management] Add port forwarding ( #3275 )
...
Add initial support to ingress ports on the client code.
- new types where added
- new protocol messages and controller
2025-03-09 16:06:43 +01:00
Zoltan Papp
4b76d93cec
[client] Fix TURN-Relay switch ( #3456 )
...
- When a peer is connected with TURN and a Relay connection is established, do not force switching to Relay. Keep using TURN until disconnection.
-In the proxy preparation phase, the Bind Proxy does not set the remote conn as a fake address for Bind. When running the Work() function, the proper proxy instance updates the conn inside the Bind.
2025-03-07 12:00:25 +01:00
Viktor Liu
c111675dd8
[client] Handle large DNS packets in dns route resolution ( #3441 )
2025-03-05 18:57:17 +01:00
hakansa
60ffe0dc87
[client] UI Refactor Icon Paths ( #3420 )
...
[client] UI Refactor Icon Paths (#3420 )
2025-03-04 18:29:29 +03:00
Viktor Liu
bcc5824980
[client] Close userspace firewall properly ( #3426 )
2025-03-04 11:19:42 +01:00
robertgro
af5796de1c
[client] Add Netbird GitHub link to the client ui about sub menu ( #3372 )
2025-03-03 17:32:50 +01:00
Philippe Vaucher
9d604b7e66
[client Fix env var typo ( #3415 )
2025-03-03 17:22:51 +01:00
Zoltan Papp and Hakan Sariman
0819df916e
[client] Replace string to netip.Prefix ( #3362 )
...
Replace string to netip.Prefix
---------
Co-authored-by: Hakan Sariman <hknsrmn46@gmail.com >
2025-02-24 15:51:43 +01:00
hakansa
dabdef4d67
[client] fix extra DNS labels parameter to Register method in client ( #3371 )
...
[client] fix extra DNS labels parameter to Register method in client (#3371 )
2025-02-24 14:53:59 +03:00
Zoltán Papp
990aa8f7cd
Remove wg initiator logic
2025-02-24 10:46:22 +01:00
Zoltán Papp
2e6a44af1f
Merge branch 'main' into fix/pkg-loss
2025-02-24 10:44:32 +01:00
Viktor Liu
cc48594b0b
[client][ui] Disable notifications by default ( #3375 )
2025-02-24 01:14:31 +01:00
Carlos Hernandez
559e673107
[client] fix privacy warning on macOS ( #3350 )
...
* fix: macos privacy warning
Move GetDesktopUIUserAgent to its own package so UI does not have to
import client/system package that reaches out to broadcasts address.
Thus, fixing the network privacy warnings.
2025-02-22 12:41:24 +01:00
Viktor Liu
9a0354b681
[client] Update local interface addresses when gathering candidates ( #3324 )
2025-02-21 19:44:50 +01:00
Viktor Liu
a74208abac
[client] Fix udp forwarder deadline ( #3364 )
2025-02-21 18:51:52 +01:00
Viktor Liu
b307298b2f
[client] Add netbird ui improvements ( #3222 )
2025-02-21 16:29:21 +01:00
Zoltán Papp
559d347588
Revert async WireGuard handshake
2025-02-21 16:19:28 +01:00
Zoltán Papp
06d71257b4
Build rawsocket code on linux only.
2025-02-21 16:00:31 +01:00
Zoltán Papp
62d10496ee
Merge branch 'main' into fix/pkg-loss
2025-02-21 15:52:51 +01:00
Zoltán Papp
651e88d611
Eliminate code duplication
2025-02-21 14:59:42 +01:00
Zoltán Papp
d496d21693
Apply same pausedCond logic on all implementation
2025-02-21 14:55:56 +01:00
Zoltan Papp and Viktor Liu
648b4cdf72
Update client/iface/wgproxy/udp/proxy.go
...
Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com >
2025-02-21 14:50:29 +01:00
Viktor Liu
5134e3a06a
[client] Add reverse dns zone ( #3217 )
2025-02-21 12:52:04 +01:00
Maycon Santos and snyk-bot
6554026a82
[client] fix client/Dockerfile to reduce vulnerabilities ( #3359 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE321-MUSL-8720634
- https://snyk.io/vuln/SNYK-ALPINE321-MUSL-8720634
- https://snyk.io/vuln/SNYK-ALPINE321-OPENSSL-8690014
- https://snyk.io/vuln/SNYK-ALPINE321-OPENSSL-8690014
- https://snyk.io/vuln/SNYK-ALPINE321-OPENSSL-8710358
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2025-02-21 12:04:26 +01:00
Zoltan Papp
96de928cb3
Interface code cleaning ( #3358 )
...
Code cleaning in interfaces files
2025-02-21 10:19:38 +01:00
Pedro Maia Costa
77e40f41f2
[management] refactor auth ( #3296 )
2025-02-20 20:24:40 +00:00
Viktor Liu
d7d5b1b1d6
Skip CLI session expired notifcation if notifications are disabled ( #3266 )
2025-02-20 15:01:53 +01:00
Viktor Liu
631ef4ed28
[client] Add embeddable library ( #3239 )
2025-02-20 13:22:03 +01:00
hakansa and Viktor Liu
39986b0e97
[client, management] Support DNS Labels for Peer Addressing ( #3252 )
...
* [client] Support Extra DNS Labels for Peer Addressing
* [management] Support Extra DNS Labels for Peer Addressing
---------
Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com >
2025-02-20 13:43:20 +03:00
Viktor Liu
62a0c358f9
[client] Add UI client event notifications ( #3207 )
2025-02-20 11:00:02 +01:00
Carlos Hernandez
33cf9535b3
[client] Use go build to embed less icons ( #3351 )
2025-02-20 10:55:44 +01:00
Viktor Liu
27b3891b14
[client] Set up local dns policy additionally if a gpo policy is detected ( #3336 )
2025-02-19 12:35:30 +01:00
Zoltán Papp
f0020ad4ce
Fallback to package loss solution if the raw socket does not work.
2025-02-18 13:58:20 +01:00
Zoltán Papp
1eacff250e
Remove WireGuard kernel code from FreeBSD
2025-02-18 13:47:42 +01:00
hakansa
50926bdbb4
[client] [ui] issue when changing setting in GUI while peer session is expired ( #3334 )
...
* [client] [ui] fix issue when changing settings in GUI while peer session is expired
2025-02-18 13:17:34 +03:00
Karsa
f67e56d3b9
[client][ui] added accessible tray icons ( #3335 )
...
Added accessible tray icons with:
- dark mode support on Windows and Linux, kudos to @burgosz for the PoC
- template icon support on MacOS
Also added appropriate connecting status icons
2025-02-18 02:21:44 +01:00
Zoltán Papp
1f83ba4563
Ignore err in tests
2025-02-17 22:06:04 +01:00
Zoltán Papp
3d80a25b4d
Fix possible blocker if the bind will be closed earlier then proxy
2025-02-17 22:03:15 +01:00
Zoltán Papp
1963644c99
Add close test for all implementation
2025-02-17 21:47:34 +01:00
Zoltán Papp
360c7134f7
Add unit test
2025-02-17 21:26:37 +01:00
Zoltán Papp
775b4feb7e
Fix close operation
2025-02-17 20:17:47 +01:00
Zoltán Papp
aca443bdec
Build UDP proxy on Linux only
2025-02-17 19:26:40 +01:00
Zoltán Papp
335866ac60
Close unused rawsocket
2025-02-17 15:56:48 +01:00
Zoltán Papp
082452eb5f
Add info log line
2025-02-17 15:50:49 +01:00
Zoltán Papp
2d5b5f59c2
Remove log line
2025-02-17 15:49:04 +01:00