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
Bethuel Mmbaga
5113c70943
[management] Extends integration and peers manager ( #4450 )
2025-09-06 13:13:49 +03: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
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
Pascal Fischer
b3056d0937
[management] Use DI containers for server bootstrapping ( #4343 )
2025-08-15 17:14:48 +02: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
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
abd152ee5a
[misc] Separate shared code dependencies ( #4288 )
...
* Separate shared code dependencies
* Fix import
* Test respective shared code
* Update openapi ref
* Fix test
* Fix test path
2025-08-05 18:34:41 +02:00
Viktor Liu
1d5e871bdf
[misc] Move shared components to shared directory ( #4286 )
...
Moved the following directories:
```
- management/client → shared/management/client
- management/domain → shared/management/domain
- management/proto → shared/management/proto
- signal/client → shared/signal/client
- signal/proto → shared/signal/proto
- relay/client → shared/relay/client
- relay/auth → shared/relay/auth
```
and adjusted import paths
2025-08-05 15:22:58 +02:00
Viktor Liu
3d3c4c5844
[client] Add full sync response to debug bundle ( #4287 )
2025-08-05 14:55:50 +02:00
hakansa
9ccc13e6ea
[client]: Add config flag to service to override default profile path ( #4276 )
...
[client]: Add config flag to service to override default profile path (#4276 )
2025-08-05 12:33:43 +03:00
Viktor Liu
beb66208a0
[management, client] Add API to change the network range ( #4177 )
2025-08-04 16:45:49 +02:00
Viktor Liu
58eb3c8cc2
[client] Increase ip rule priorities to avoid conflicts ( #4273 )
2025-08-04 11:20:43 +02:00
Viktor Liu
b5ed94808c
[management, client] Add logout feature ( #4268 )
2025-08-04 10:17:36 +02:00
Viktor Liu
5de61f3081
[client] Fix dns ipv6 upstream ( #4257 )
2025-07-30 20:28:19 +02:00
Viktor Liu
980a6eca8e
[client] Disable the dns host manager properly if disabled through management ( #4241 )
2025-07-29 19:37:18 +02:00
hakansa
e1c66a8124
[client] Fix profile directory path handling based on NB_STATE_DIR ( #4229 )
...
[client] Fix profile directory path handling based on NB_STATE_DIR (#4229 )
2025-07-28 13:36:48 +03:00
hakansa
cb8b6ca59b
[client] Feat: Support Multiple Profiles ( #3980 )
...
[client] Feat: Support Multiple Profiles (#3980 )
2025-07-25 16:54:46 +03:00
Viktor Liu
e0d9306b05
[client] Add detailed routes and resolved IPs to debug bundle ( #4141 )
2025-07-25 15:31:06 +02:00
Viktor Liu
cb85d3f2fc
[client] Always register NetBird with plain Linux DNS and use original servers as upstream ( #3967 )
2025-07-25 11:46:04 +02:00
Krzysztof Nazarewski (kdn)
af8687579b
client: container: support CLI with entrypoint addition ( #4126 )
...
This will allow running netbird commands (including debugging) against the daemon and provide a flow similar to non-container usages.
It will by default both log to file and stderr so it can be handled more uniformly in container-native environments.
2025-07-25 11:44:30 +02:00
Louis Li
3f82698089
[client] make ICE failed timeout configurable ( #4211 )
2025-07-25 10:36:11 +02:00
Pascal Fischer
cb1e437785
[client] handle order of check when checking order of files in isChecksEqual ( #4219 )
2025-07-24 21:00:51 +02:00
Zoltan Papp
1a28d18cde
[client] Fix race issues in lazy tests ( #4181 )
...
* Fix race issues in lazy tests
* Fix test failure due to incorrect peer listener identification
2025-07-23 21:03:29 +02:00
Zoltan Papp
86c16cf651
[server, relay] Fix/relay race disconnection ( #4174 )
...
Avoid invalid disconnection notifications in case the closed race dials.
In this PR resolve multiple race condition questions. Easier to understand the fix based on commit by commit.
- Remove store dependency from notifier
- Enforce the notification orders
- Fix invalid disconnection notification
- Ensure the order of the events on the consumer side
2025-07-21 19:58:17 +02:00
Viktor Liu
d6ed9c037e
[client] Fix bind exclusion routes ( #4154 )
2025-07-21 12:13:21 +02:00
Maycon Santos
08fd460867
[management] Add validate flow response ( #4172 )
...
This PR adds a validate flow response feature to the management server by integrating an IntegratedValidator component. The main purpose is to enable validation of PKCE authorization flows through an integrated validator interface.
- Adds a new ValidateFlowResponse method to the IntegratedValidator interface
- Integrates the validator into the management server to validate PKCE authorization flows
- Updates dependency version for management-integrations
2025-07-18 12:18:52 +02:00
Pedro Maia Costa
e67f44f47c
[client] fix test ( #4156 )
2025-07-16 12:09:38 +02:00
Zoltan Papp
0dab03252c
[client, relay-server] Feature/relay notification ( #4083 )
...
- Clients now subscribe to peer status changes.
- The server manages and maintains these subscriptions.
- Replaced raw string peer IDs with a custom peer ID type for better type safety and clarity.
2025-07-15 10:43:42 +02:00
Zoltan Papp
3e6eede152
[client] Fix elapsed time calculation when machine is in sleep mode ( #4140 )
2025-07-12 11:10:45 +02:00
Viktor Liu
a7ea881900
[client] Add rotated logs flag for debug bundle generation ( #4100 )
2025-07-10 16:13:53 +02:00
Zoltan Papp
8942c40fde
[client] Fix nil pointer exception in lazy connection ( #4109 )
...
Remove unused variable
2025-07-06 15:13:14 +02:00
Zoltan Papp
fbb1b55beb
[client] refactor lazy detection ( #4050 )
...
This PR introduces a new inactivity package responsible for monitoring peer activity and notifying when peers become inactive.
Introduces a new Signal message type to close the peer connection after the idle timeout is reached.
Periodically checks the last activity of registered peers via a Bind interface.
Notifies via a channel when peers exceed a configurable inactivity threshold.
Default settings
DefaultInactivityThreshold is set to 15 minutes, with a minimum allowed threshold of 1 minute.
Limitations
This inactivity check does not support kernel WireGuard integration. In kernel–user space communication, the user space side will always be responsible for closing the connection.
2025-07-04 19:52:27 +02:00
Viktor Liu
77ec32dd6f
[client] Implement dns routes for Android ( #3989 )
2025-07-04 16:43:11 +02:00