Hakan Sariman
092cb33215
Add go.uber.org/mock dependency to go.mod
2025-03-18 22:18:04 +08:00
Hakan Sariman
a01e5abfee
Refactor stateManager parameter to use value type instead of pointer in multiple functions
2025-03-18 20:34:44 +08:00
Hakan Sariman
01d01ac16f
Remove event generation check for non-echo requests in ICMP tracker test
2025-03-18 19:22:46 +08:00
Hakan Sariman
a7be9fdcfc
Update ICMP tracker test to clarify event generation for non-echo requests
2025-03-18 19:21:42 +08:00
Hakan Sariman
c6f9a36e0e
Add ICMP tracking tests for outbound and inbound connections
2025-03-18 19:18:19 +08:00
Maycon Santos
1d9fced073
[management] Add redis cache ( #3516 )
...
Refactor IdP user data caching by introducing a Redis cache implementation alongside an in-memory fallback, adding a Marshaler interface for flexible serialization, and updating related tests and account management code.
- Added a new cache store implementation with support for Redis and in-memory backends.
- Introduced Marshaler and wrapper types for handling serialization with msgpack and JSON.
- Updated account and user management modules to integrate and test the new caching strategy.
2025-03-18 11:07:20 +01:00
Pascal Fischer
0fa65eab5d
[client] Flow keep token data during config update ( #3526 )
2025-03-18 11:03:59 +01:00
Pascal Fischer
4a5cd74bfe
extract signal config creation
2025-03-17 22:00:41 +01:00
hakansa
f88b93e53f
[client] Add DNS and Exit Node collection configuration to Netflow ( #3522 )
...
[client] Add DNS and Exit Node collection configuration to Netflow (#3522 )
2025-03-17 23:44:22 +08:00
Pascal Fischer
40d932e011
[management] peer update on extra settings change ( #3513 )
2025-03-17 14:23:40 +01:00
Pascal Fischer
2e3fde4024
remove log from getPeerByID
2025-03-17 14:07:44 +01:00
Hakan Sariman
7f17cd348a
Merge branch 'main' into feature/flow
2025-03-17 21:06:24 +08:00
hakansa
4ee8b66c42
[client] refactor: optimize forwarder initialization checks in packet handling ( #3521 )
...
[client] refactor: optimize forwarder initialization checks in packet handling (#3521 )
2025-03-17 17:17:13 +08:00
dependabot[bot]
df71cb4690
[client,management] Bump golang.org/x/net from 0.33.0 to 0.36.0 ( #3492 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 17:55:22 +01:00
levindecaro
4508c61728
[client] Fix Advanced Setting unable to open on Windows 11 with Chinese Locale Setting. ( #3483 )
...
Fix #3345 and #2603
2025-03-16 17:51:42 +01:00
Viktor Liu
0ef476b014
[client] Fix state dump panic ( #3519 )
v0.38.2
2025-03-16 15:13:04 +01:00
Maycon Santos
0051fac5fd
Merge branch 'main' into feature/flow
2025-03-15 11:51:00 +01:00
Viktor Liu
671e77c359
Fix squashed policy ID ( #3512 )
2025-03-15 00:15:37 +01:00
Zoltan Papp
6f82e96d6a
[client] Set info logs ( #3504 )
...
collect and log connection stats per peer every 10 minutes
v0.38.1
2025-03-14 22:34:41 +01:00
Pascal Fischer
fe16a162e4
remove log from store
2025-03-14 21:33:41 +01:00
Pascal Fischer
1a87f6e05e
[management] Flow settings ( #3509 )
2025-03-14 20:36:07 +01:00
Pascal Fischer
17ff31316a
[management] Export resource constants ( #3508 )
2025-03-14 13:42:21 +01:00
hakansa
64f27aee55
[client] add resource id fields to netflow events ( #3445 )
...
* [client] add resource id fields to netflow events
2025-03-14 18:57:23 +08:00
Viktor Liu
a2faae5d62
[client] Fix anonymized addresses documentation ( #3505 )
2025-03-14 11:38:16 +01:00
hakansa
78b86e0beb
[management] fix force-push to feature/flow branch ( #3500 )
2025-03-14 01:36:46 +08:00
Zoltan Papp
4a3cbcd38a
Nil check on route manager ( #3486 )
2025-03-13 00:04:00 +01:00
Misha Bragin
c2980bc8cf
Update link to kubernetes operator ( #3489 )
2025-03-12 21:18:19 +01:00
bcmmbaga
18871b554f
Merge branch 'main' into feature/flow
2025-03-11 15:06:24 +03:00
Pascal Fischer
67ae871ce4
[management] return empty array instead of null on networks endpoints ( #3480 )
v0.38.0
2025-03-11 00:20:54 +01:00
Maycon Santos
39ff5e833a
[misc] Update slack invite link ( #3479 )
2025-03-11 00:12:11 +01:00
Viktor Liu
76d73548d6
Fix more conflicts
2025-03-10 18:46:01 +01:00
Viktor Liu
11828a064a
Fix conflict
2025-03-10 18:35:32 +01:00
Viktor Liu
0c2a3dd937
Merge branch 'main' into feature/flow
2025-03-10 18:30:45 +01:00
Zoltan Papp
cd9eff5331
Increase the timeout to 50 sec ( #3481 )
2025-03-10 18:23:47 +01:00
Viktor Liu
47dcf8d68c
Fix forwarder IP source/destination ( #3463 )
2025-03-10 14:55:07 +01:00
Viktor Liu
80ceb80197
[client] Ignore candidates that are part of the the wireguard subnet ( #3472 )
2025-03-10 13:59:21 +01:00
Bethuel Mmbaga
cc8f6bcaf3
[management] Fix tests circular dependency ( #3460 )
...
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com >
2025-03-10 15:54:36 +03:00
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
Maycon Santos
81040ff80a
[docs] Update typo ( #3477 )
2025-03-10 11:52:36 +01:00
Viktor Liu
c73481aee4
[client] Enable windows stderr logs by default ( #3476 )
2025-03-10 11:30:49 +01:00
Maycon Santos
d8bcf745b0
update integrations
2025-03-09 19:32:38 +01:00
Maycon Santos
8430139d80
fix missing method
2025-03-09 19:03:57 +01:00
Maycon Santos
a2962b4ce0
sync go.sum
2025-03-09 18:50:20 +01:00
Maycon Santos
16fffdb75b
sync changes from #3426
2025-03-09 18:48:48 +01:00
Maycon Santos
036cecbf46
update integrations and go mod
2025-03-09 18:47:05 +01:00
Maycon Santos
3482852bb6
sync proto and sum
2025-03-09 18:02:33 +01:00
Maycon Santos
fd62665b1f
Merge branch 'main' into feature/flow
...
# Conflicts:
# client/cmd/testutil_test.go
# client/firewall/iptables/router_linux.go
# client/firewall/nftables/router_linux.go
# client/firewall/uspfilter/allow_netbird.go
# client/firewall/uspfilter/allow_netbird_windows.go
# client/firewall/uspfilter/uspfilter_test.go
# client/internal/engine.go
# client/internal/engine_test.go
# client/server/server_test.go
# go.mod
# go.sum
# management/client/client_test.go
# management/cmd/management.go
# management/proto/management.pb.go
# management/proto/management.proto
# management/server/account.go
# management/server/account_test.go
# management/server/dns_test.go
# management/server/http/handler.go
# management/server/http/testing/testing_tools/tools.go
# management/server/integrations/port_forwarding/controller.go
# management/server/management_proto_test.go
# management/server/management_test.go
# management/server/nameserver_test.go
# management/server/peer.go
# management/server/peer_test.go
# management/server/route_test.go
2025-03-09 17:42:16 +01:00