Viktor Liu
55126f990c
[client] Use native windows sock opts to avoid routing loops ( #4314 )
...
- Move `util/grpc` and `util/net` to `client` so `internal` packages can be accessed
- Add methods to return the next best interface after the NetBird interface.
- Use `IP_UNICAST_IF` sock opt to force the outgoing interface for the NetBird `net.Dialer` and `net.ListenerConfig` to avoid routing loops. The interface is picked by the new route lookup method.
- Some refactoring to avoid import cycles
- Old behavior is available through `NB_USE_LEGACY_ROUTING=true` env var
2025-09-20 09:31:04 +02:00
Diego Romar
2c87fa6236
[android] Add OnLoginSuccess callback to URLOpener interface ( #4492 )
...
The callback will be fired once login -> internal.Login
completes without errors
2025-09-18 15:07:42 +02:00
hakansa
ec8d83ade4
[client] [UI] Down & Up NetBird Async When Settings Updated
...
[client] [UI] Down & Up NetBird Async When Settings Updated
2025-09-18 18:13:29 +07:00
M Essam Hamed
02afd4e849
Move to networkMap.PeerConfig
2025-09-16 11:45:54 +03:00
M Essam Hamed
d19f829f65
Move autoUpdateVersion inside NetworkMap
2025-09-15 19:54:10 +03:00
Zoltan Papp
bd23ab925e
[client] Fix ICE latency handling ( #4501 )
...
The GetSelectedCandidatePair() does not carry the latency information.
2025-09-15 15:08:53 +02:00
Zoltan Papp
47e64d72db
[client] Fix client status check ( #4474 )
...
The client status is not enough to protect the RPC calls from concurrency issues, because it is handled internally in the client in an asynchronous way.
2025-09-11 16:21:09 +02:00
Zoltan Papp
9e81e782e5
[client] Fix/v4 stun routing ( #4430 )
...
Deduplicate STUN package sending.
Originally, because every peer shared the same UDP address, the library could not distinguish which STUN message was associated with which candidate. As a result, the Pion library responded from all candidates for every STUN message.
2025-09-11 10:08:54 +02:00
Zoltan Papp
7aef0f67df
[client] Implement environment variable handling for Android ( #4440 )
...
Some features can only be manipulated via environment variables. With this PR, environment variables can be managed from Android.
2025-09-08 18:42:42 +02:00
Zoltan Papp
69d87343d2
[client] Debug information for connection ( #4439 )
...
Improve logging
Print the exact time when the first WireGuard handshake occurs
Print the steps for gathering system information
2025-09-08 14:51:34 +02:00
M Essam Hamed
ec47a84afe
Remove testing.T.Context() as it's added in go1.24
2025-09-08 12:07:06 +03:00
M. Essam
ecf1e9013e
Merge branch 'main' into feat/auto-upgrade
2025-09-07 20:24:56 +03:00
Bethuel Mmbaga
5113c70943
[management] Extends integration and peers manager ( #4450 )
2025-09-06 13:13:49 +03:00
Zoltan Papp
ad8fcda67b
[client] Move some sys info to static place ( #4446 )
...
This PR refactors the system information collection code by moving static system information gathering to a dedicated location and separating platform-specific implementations. The primary goal is to improve code organization and maintainability by centralizing static info collection logic.
Key changes:
- Centralized static info collection into dedicated files with platform-specific implementations
- Moved `StaticInfo` struct definition to the main static_info.go file
- Added async initialization function `UpdateStaticInfoAsync()` across all platforms
2025-09-06 10:49:28 +02:00
Zoltan Papp
786ca6fc79
Do not block Offer processing from relay worker ( #4435 )
...
- do not miss ICE offers when relay worker busy
- close p2p connection before recreate agent
2025-09-05 11:02:29 +02:00
Diego Romar
dfebdf1444
[internal] Add missing assignment of iFaceDiscover when netstack is disabled ( #4444 )
...
The internal updateInterfaces() function expects iFaceDiscover to not
be nil
2025-09-04 23:00:10 +02:00
Bethuel Mmbaga
a8dcff69c2
[management] Add peers manager to integrations ( #4405 )
2025-09-04 23:07:03 +03:00
M Essam Hamed
6025eb1962
Add unit tests
2025-09-03 14:10:03 +03:00
M Essam Hamed
59ae92cf8f
Refactor handleAutoUpdateVersion to outside handleSync
2025-09-01 15:14:32 +03:00
M Essam Hamed
d2e198bd76
Fix lint
2025-09-01 15:13:14 +03:00
M Essam Hamed
58d48127e0
Define constants for version semantics
2025-09-01 15:13:14 +03:00
M Essam Hamed
84501a3f56
Fix deadlock issues
2025-09-01 15:13:14 +03:00
M Essam Hamed
762b9b7b56
Restructure version.Update to use channel
2025-09-01 15:13:13 +03:00
M Essam Hamed
c6328788ca
Resolve comments
2025-09-01 15:13:13 +03:00
M Essam Hamed
bc59749859
Feature: Auto-update client
2025-09-01 15:13:12 +03:00
Zoltan Papp
21368b38d9
[client] Update Pion ICE to the latest version ( #4388 )
...
- Update Pion version
- Update protobuf version
2025-09-01 10:42:01 +02:00
Viktor Liu
d4c067f0af
[client] Don't deactivate upstream resolvers on failure ( #4128 )
2025-08-29 17:40:05 +02:00
Krzysztof Nazarewski (kdn)
7ce5507c05
[client] fix darwin dns always throwing err ( #4403 )
...
* fix: dns/host_darwin.go was missing if err != nil before throwing error
2025-08-27 09:59:39 +02:00
Viktor Liu
f063866ce8
[client] Add flag to configure MTU ( #4213 )
2025-08-26 16:00:14 +02:00
plusls
9f84165763
[client] Add netstack support for Android cli ( #4319 )
2025-08-26 15:40:01 +02:00
Bethuel Mmbaga
968d95698e
[management] Bump github.com/golang-jwt/jwt from 3.2.2+incompatible to 5.3.0 ( #4375 )
2025-08-21 15:02:51 +03:00
Zoltan Papp
f425870c8e
[client] Avoid duplicated agent close ( #4383 )
2025-08-20 18:50:51 +02:00
hakansa
533d93eb17
[management,client] Feat/exit node auto apply ( #4272 )
...
[management,client] Feat/exit node auto apply (#4272 )
2025-08-19 18:19:24 +03:00
Zoltan Papp
12cad854b2
[client] Fix/ice handshake ( #4281 )
...
In this PR, speed up the GRPC message processing, force the recreation of the ICE agent when getting a new, remote offer (do not wait for local STUN timeout).
2025-08-18 20:09:50 +02:00
Viktor Liu
7cd5dcae59
[client] Fix rule order for deny rules in peer ACLs ( #4147 )
2025-08-18 11:17:00 +02:00
Pascal Fischer
b3056d0937
[management] Use DI containers for server bootstrapping ( #4343 )
2025-08-15 17:14:48 +02:00
Misha Bragin
e97f853909
Improve wording in the NetBird client app ( #4316 )
2025-08-13 22:03:48 +02:00
hakansa
70db8751d7
[client] Add --disable-update-settings flag to the service ( #4335 )
...
[client] Add --disable-update-settings flag to the service (#4335 )
2025-08-13 21:05:12 +03:00
Bethuel Mmbaga
a4e8647aef
[management] Enable flow groups ( #4230 )
...
Adds the ability to limit traffic events logging to specific peer groups
2025-08-13 00:00:40 +03:00
Viktor Liu
160b811e21
[client] Distinguish between NXDOMAIN and NODATA in the dns forwarder ( #4321 )
2025-08-12 15:59:42 +02:00
Viktor Liu
5e607cf4e9
[client] Skip dns upstream servers pointing to our dns server IP to prevent loops ( #4330 )
2025-08-12 15:41:23 +02:00
Viktor Liu
0fdb944058
[client] Create NRPT rules separately per domain ( #4329 )
2025-08-12 15:40:37 +02:00
Viktor Liu
1022a5015c
[client] Eliminate upstream server strings in dns code ( #4267 )
2025-08-11 11:57:21 +02:00
Maycon Santos
9acf7f9262
[client] Update Windows installer description ( #4306 )
...
* [client] Update Windows installer description
* Update netbird.wxs
2025-08-08 21:18:58 +02:00
Viktor Liu
82937ba184
[client] Increase logout timeout ( #4311 )
2025-08-08 19:16:48 +02:00
Krzysztof Nazarewski (kdn)
0926400b8a
fix: profilemanager panic when reading incomplete config ( #4309 )
...
fix: profilemanager panic when reading incomplete config (#4309 )
2025-08-08 18:44:25 +03:00
Viktor Liu
bef99d48f8
[client] Rename logout to deregister ( #4307 )
2025-08-08 15:48:30 +02:00
hakansa
6da3943559
[client] fix ssh command for non-default profile ( #4298 )
...
[client] fix ssh command for non-default profile (#4298 )
2025-08-07 13:08:30 +03:00
Viktor Liu
3d19468b6c
[client] Add windows arm64 build ( #4206 )
2025-08-07 11:30:19 +02:00
Misha Bragin
dfd8bbc015
Change Netbird to NetBird in CMD ( #4296 )
2025-08-06 18:32:35 +02:00