Maycon Santos
16fffdb75b
sync changes from #3426
2025-03-09 18:48:48 +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
Viktor Liu
fc1da94520
[client, management] Add port forwarding ( #3275 )
...
Add initial support to ingress ports on the client code.
- new types where added
- new protocol messages and controller
2025-03-09 16:06:43 +01:00
Viktor Liu
86370a0e7b
Use bytes for flows event id ( #3439 )
2025-03-07 16:12:47 +01:00
Viktor Liu
54be772ffd
Handle flow updates ( #3455 )
2025-03-07 13:56:00 +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
5ff77b3595
Add flow userspace counters ( #3438 )
2025-03-06 16:52:56 +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
e9f11fb11b
Replace net.IP with netip.Addr ( #3425 )
2025-03-05 18:28:05 +01:00
Viktor Liu
acf172b52c
Add kernel conntrack counters ( #3434 )
2025-03-04 16:46:03 +01:00
Viktor Liu
8c81a823fa
Add flow ACL IDs ( #3421 )
2025-03-04 16:43:07 +01:00
Viktor Liu
bcc5824980
[client] Close userspace firewall properly ( #3426 )
2025-03-04 11:19:42 +01:00
Viktor Liu
0db65a8984
Add routed packet drop flow ( #3410 )
2025-02-28 20:04:59 +01:00
Viktor Liu
c72e13d8e6
Add conntrack flows ( #3406 )
2025-02-28 19:16:29 +01:00
Maycon Santos
f6d7bccfa0
Add flow client with sender/receiver ( #3405 )
...
add an initial version of receiver client and flow manager receiver and sender
2025-02-28 17:16:18 +00:00
Viktor Liu
fa748a7ec2
Add userspace flow implementation ( #3393 )
2025-02-28 11:08:35 +01:00
Maycon Santos
f48cfd52e9
fix logger stop ( #3403 )
...
* fix logger stop
* use context to stop receiver
* update test
2025-02-28 00:28:17 +00:00
Maycon Santos
8276236dfa
Add netflow manager ( #3398 )
...
* Add netflow manager
* fix linter issues
2025-02-27 12:05:20 +00:00
Pascal Fischer
eee0d123e4
[management] add flow settings and credentials ( #3389 )
2025-02-27 12:17:07 +01:00
Viktor Liu
e943203ae2
Add event fields ( #3390 )
...
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com >
2025-02-26 12:06:06 +01:00
Maycon Santos
175674749f
Add memory flow store ( #3386 )
2025-02-25 15:23:43 +00:00
Viktor Liu
81ee172db8
Fix route conflict
2025-02-25 11:44:21 +01:00
Viktor Liu
f8fd65a65f
Merge branch 'main' into feature/port-forwarding
2025-02-25 11:37:52 +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
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
ea469d28d7
Merge branch 'main' into feature/port-forwarding
2025-02-20 13:24:05 +01:00
Viktor Liu
631ef4ed28
[client] Add embeddable library ( #3239 )
2025-02-20 13:22:03 +01:00
Viktor Liu
fcc96417f9
Merge branch 'main' into feature/port-forwarding
2025-02-20 11:45:30 +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
8755211a60
Merge branch 'main' into feature/port-forwarding
2025-02-20 11:39:06 +01: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
Viktor Liu
b41de7fcd1
[client] Enable userspace forwarder conditionally ( #3309 )
...
* Enable userspace forwarder conditionally
* Move disable/enable logic
2025-02-12 11:10:49 +01:00
Viktor Liu
18f84f0df5
[client] Check for fwmark support and use fallback routing if not supported ( #3220 )
2025-02-11 13:09:17 +01:00
Viktor Liu
44407a158a
[client] Fix dns handler chain test ( #3307 )
2025-02-11 12:42:04 +01:00
Viktor Liu
488b697479
[client] Support dns upstream failover for nameserver groups with same match domain ( #3178 )
2025-02-10 18:13:34 +01:00
Zoltan Papp
5953b43ead
[client, relay] Fix/wg watch ( #3261 )
...
Fix WireGuard watcher related issues
- Fix race handling between TURN and Relayed reconnection
- Move the WgWatcher logic to separate struct
- Handle timeouts in a more defensive way
- Fix initial Relay client reconnection to the home server
2025-02-10 10:32:50 +01:00
Viktor Liu
05415f72ec
[client] Add experimental support for userspace routing ( #3134 )
2025-02-07 14:11:53 +01:00
Zoltan Papp
eb69f2de78
Fix nil pointer exception when load empty list and try to cast it ( #3282 )
2025-02-06 10:28:42 +01:00
Viktor Liu
206420c085
[client] Fix grouping of peer ACLs with different port ranges ( #3289 )
2025-02-06 10:28:42 +01:00
Zoltan Papp
ca9aca9b19
Fix nil pointer exception when load empty list and try to cast it ( #3282 )
2025-02-06 10:20:31 +01:00