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 permissive mode to rosenpass #1599

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

pascal-fischer
Copy link
Collaborator

Describe your changes

THe current implementation for rosenpass does not allow fallback in case a remote peer does not support rosenpass or does not have it enabled. With this PR we introduce a second flag --rosenpass-permissive to allow the client to fall back to a standard connection for those cases. This way improving usability when rosenpass is enabled.

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/root.go Outdated Show resolved Hide resolved
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
@braginini braginini self-requested a review February 21, 2024 16:22
@pascal-fischer pascal-fischer merged commit e18bf56 into main Feb 21, 2024
16 checks passed
@pascal-fischer pascal-fischer deleted the feature/rosenpass-permissive-mode branch February 21, 2024 16:23
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
* add rosenpass-permissive flag

* Clarify rosenpass-permissive flag message

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>

---------

Co-authored-by: Misha Bragin <bangvalo@gmail.com>
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.

None yet

3 participants