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

Handle clients with different versions in IPR #4723

Merged
merged 11 commits into from
Jul 24, 2024
Merged

Conversation

octol
Copy link
Contributor

@octol octol commented Jul 23, 2024

Allow the IPR to handle clients connecting both using v6 and v7, independently.

The motivation is that we want to be able to roll out a API version change gradually for vpn clients without breaking backwards compatibility. The main feature on the new v7 format that is not yet used, is that it adds signatures for connect/disconnect.

Copy link

vercel bot commented Jul 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
nym-explorer ⬜️ Ignored (Inspect) Visit Preview Jul 24, 2024 1:16pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Jul 24, 2024 1:16pm

@octol octol marked this pull request as ready for review July 24, 2024 12:56
@octol octol requested a review from neacsu July 24, 2024 12:58
@octol octol added this to the TopDeck milestone Jul 24, 2024
@octol octol merged commit 02fde4e into develop Jul 24, 2024
20 of 21 checks passed
@octol octol deleted the jon/ipr-request-response branch July 24, 2024 13:36
@benedettadavico
Copy link
Contributor

Testing Completion Date: 31/07/2024

Testing Steps Performed:

Ran the same command (using same gateways deployed from this PR) on different versions of the nym-vpn-cli.
Example:
~/nym-vpn-core-v0.1.10_macos_universal ❯ sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop

~/nym-vpn-core-v0.1.11-dev_macos_universal ❯ sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop

Validation:
[x ] Test Passed

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