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

Add latency checks to peer connection and status output #1725

Merged
merged 11 commits into from
Mar 20, 2024

Conversation

pascal-fischer
Copy link
Contributor

Describe your changes

This PR uses the ice agents healthchecks to extend out connection object with the latency between peers. This is also added to the status details output of the CLI.

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

client/cmd/status.go Outdated Show resolved Hide resolved
lixmal
lixmal previously approved these changes Mar 20, 2024
@pascal-fischer pascal-fischer merged commit 8468719 into main Mar 20, 2024
21 checks passed
@pascal-fischer pascal-fischer deleted the feature/peer-healthcheck branch March 20, 2024 10:18
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
* adding peer healthcheck

* generate proto file

* fix return in udp mux and replace with continue

* use ice agent for latency checks

* fix status output

* remove some logs

* fix status test

* revert bind and ebpf code

* fix error handling on binding response callback

* extend error handling on binding response callback

---------

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
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.

3 participants