Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[client,management] add netflow support to client and update management #3414

Draft
wants to merge 86 commits into
base: main
Choose a base branch
from

Conversation

mlsmaycon
Copy link
Collaborator

Describe your changes

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

pascal-fischer and others added 30 commits January 27, 2025 17:47
Client-side forward handling

Co-authored-by: Viktor Liu <[email protected]>

---------

Co-authored-by: Viktor Liu <[email protected]>
* add peers manager

* Extend peers manager to support retrieving all peers

Signed-off-by: bcmmbaga <[email protected]>

* add network map calc

* move integrations interface

* update management-integrations

* merge main and fix

* go mod tidy

* [management] port forwarding add peer manager fix network map (#3264)

* [management] fix testing tools (#3265)

* Fix net.IPv4 conversion to []byte

* update test to check ipv4

---------

Signed-off-by: bcmmbaga <[email protected]>
Co-authored-by: bcmmbaga <[email protected]>
Co-authored-by: Zoltán Papp <[email protected]>
Add new package ipfwdstate that implements reference counting for IP forwarding
state management. This allows multiple usage to safely request IP forwarding
without interfering with each other.
* add peers ip and name filters

Signed-off-by: bcmmbaga <[email protected]>

* add get peers filter

Signed-off-by: bcmmbaga <[email protected]>

* fix get account peers

Signed-off-by: bcmmbaga <[email protected]>

* Extend GetAccountPeers store to support filtering by name and IP

Signed-off-by: bcmmbaga <[email protected]>

* Fix get peers references

Signed-off-by: bcmmbaga <[email protected]>

---------

Signed-off-by: bcmmbaga <[email protected]>
The nhooyr.io/websocket package was renamed to github.com/coder/websocket when
the project was transferred to "coder" as the new maintainer.

Use the new import path and update go.mod and go.sum accordingly.

Signed-off-by: Christian Stewart <[email protected]>
* fix tag for get endpoint

* update labels
Base automatically changed from feature/port-forwarding to main March 9, 2025 15:06
mlsmaycon and others added 13 commits March 9, 2025 17:42
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants