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

openvpn: T6591: deprecate OpenVPN server net30 topology #3825

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

dmbaturin
Copy link
Member

@dmbaturin dmbaturin commented Jul 17, 2024

Change Summary

Set the default topology to subnet for new configs, add a deprecation warning, and insert net30 in old configs explicitly for compatibility.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe): default change, deprecation.

Related Task(s)

Related PR(s)

Component(s) name

OpenVPN

Proposed changes

The net30 topology is:

  • only there because it was the default in OpenVPN, but even then it was just for compatibility reasons, not because it's good;
  • bad for Windows clients, they don't work with it;
  • deprecated in OpenVPN and may eventually be removed.

We should set the new default to subnet and mark net30 as deprecated. But some people may rely on the net30 behavior, so we'll use a migration script to inject the old default into old configs explicitly.

How to test

Smoketest result

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

Copy link

github-actions bot commented Jul 17, 2024

👍
No issues in PR Title / Commit Title

Copy link

👍
No issues in unused-imports

Copy link

CI integration ❌ failed!

Details

CI logs

  • CLI Smoketests ❌ failed
  • Config tests 👍 passed
  • RAID1 tests 👍 passed

@sever-sever sever-sever merged commit e2b0534 into vyos:current Jul 18, 2024
13 of 14 checks passed
@dmbaturin
Copy link
Member Author

@Mergifyio backport circinus

Copy link
Contributor

mergify bot commented Jul 18, 2024

backport circinus

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 18, 2024
c-po added a commit that referenced this pull request Jul 19, 2024
openvpn: T6591: deprecate OpenVPN server net30 topology (backport #3825)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants