Commit Graph

748 Commits

Author SHA1 Message Date
Zoltán Papp
bfe71a3f5a Merge branch 'main' into feature/lazy-connection 2025-03-07 15:43:26 +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
ab7463d7ac Change retry limit 2025-02-28 21:18:30 +01:00
Zoltan Papp
dddb4bcf7e Fix minimum port range 2025-02-28 21:17:17 +01:00
Zoltan Papp
f09d86151b Fix udp address bind 2025-02-28 21:15:03 +01:00
Zoltán Papp
a3e7604661 Avoid panic in test 2025-02-28 21:07:51 +01:00
Zoltán Papp
0f1f023c2b Disable lazy connection in multiple peers test 2025-02-28 20:53:25 +01:00
Zoltán Papp
04f18bfbdb Fix unit test 2025-02-28 20:48:38 +01:00
Zoltan Papp
a89a6c00de Fix use mgr without start 2025-02-28 16:12:09 +01:00
Zoltan Papp
3ff3bbe782 Replace os.setenv to t.setenv 2025-02-28 15:19:36 +01:00
Zoltan Papp
b38ddd8479 Fix TestEngine_UpdateNetworkMap 2025-02-28 15:10:24 +01:00
Zoltan Papp
f8a4cfb611 Fix TestEngine_UpdateNetworkMap 2025-02-28 15:08:57 +01:00
Zoltan Papp
4c39ba3ffb Fix close channel creation 2025-02-28 14:56:38 +01:00
Zoltán Papp
feb8355cdf Fix deadlock 2025-02-28 12:37:54 +01:00
Zoltán Papp
4e33582aaa Fix deprecated event handling 2025-02-28 12:24:44 +01:00
Zoltán Papp
4a5edc1374 Fix postponed remove endpoint config 2025-02-27 16:56:20 +01:00
Zoltán Papp
d0d37babe2 Rename fake to listener
Fix thread handling
2025-02-27 14:57:53 +01:00
Zoltán Papp
aa3cd20214 Fix blocking Close 2025-02-27 12:39:40 +01:00
Zoltán Papp
4f668fdf5f Fix context cancellation 2025-02-27 12:37:59 +01:00
Zoltán Papp
fcca194c8d Fix close 2025-02-27 12:34:18 +01:00
Zoltán Papp
a27227ff6d Fix ip indication for lazy peers in status 2025-02-26 17:08:53 +01:00
Zoltán Papp
6ad66fe3cd Fix slow netbird status -d issue 2025-02-26 16:50:53 +01:00
Zoltán Papp
9188fcabaf Fix constructor of conn.go 2025-02-26 14:37:31 +01:00
Zoltán Papp
884d10cceb Add log lines 2025-02-26 13:36:20 +01:00
Zoltán Papp
e6e070b2e5 Add log lines 2025-02-26 12:38:09 +01:00
Zoltán Papp
f898904fa8 Handle env var 2025-02-26 12:21:54 +01:00
Zoltán Papp
e2e1458878 Remove watcher 2025-02-26 11:24:57 +01:00
Zoltán Papp
309e825d58 Add test for port allocator 2025-02-26 11:19:46 +01:00
Zoltán Papp
8542674a83 Create conn mgr 2025-02-25 23:50:25 +01:00
Zoltán Papp
0457251d09 Add for engine 2025-02-24 17:37:34 +01:00
Zoltán Papp
d6e185086f Fix logic 2025-02-24 17:37:28 +01:00
Zoltán Papp
c8b031e819 Merge branch 'main' into feature/lazy-connection 2025-02-24 16:12:17 +01:00
Zoltan Papp
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
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
Zoltan Papp
db278dba14 Initial concept 2025-02-21 13:36:15 +01:00
Viktor Liu
5134e3a06a [client] Add reverse dns zone (#3217) 2025-02-21 12:52:04 +01:00
Maycon Santos
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