Commit Graph

512 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
Viktor Liu
bcc5824980 [client] Close userspace firewall properly (#3426) 2025-03-04 11:19:42 +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
Viktor Liu
9a0354b681 [client] Update local interface addresses when gathering candidates (#3324) 2025-02-21 19:44:50 +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
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
631ef4ed28 [client] Add embeddable library (#3239) 2025-02-20 13:22:03 +01:00
hakansa
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
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
hakansa
039a985f41 [client] Normalize DNS record names to lowercase in local handler update (#3323)
* [client] Normalize DNS record names to lowercase in lookup
2025-02-14 13:13:40 +03:00
Viktor Liu
c4a6dafd27 [client] Use GPO DNS Policy Config to configure DNS if present (#3319) 2025-02-13 18:17:18 +01:00
Zoltan Papp
a930c2aecf Fix priority handling (#3313) 2025-02-13 15:48:10 +01:00