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

Web interface for OpenVPN server crashes when user database is removed #997

Closed
cotosso opened this issue Jan 7, 2025 · 2 comments
Closed
Assignees
Labels
verified All test cases were verified successfully

Comments

@cotosso
Copy link
Contributor

cotosso commented Jan 7, 2025

Steps to Reproduce

  • Connect a firewall to a remote user database.
  • Create a RoadWarrior server using that user database.
  • Create VPN accounts.
  • Remove the user database.

Expected Behavior
The system should prevent the removal of a user database if it is actively used by a service.

Actual Behavior
The web interface of the OpenVPN server crashes. Specifically, the ns.ovpnrw list-users command fails. It becomes impossible to manage or repair the VPN server from the interface.

Proposed Solution
Implement a check to prevent the removal of user databases if a service such as OpenVPN is actively utilizing it.

Components
NethSecurity 8 23.05.5-ns.1.4.1

@gsanchietti
Copy link
Member

gsanchietti commented Jan 8, 2025

Testing image.

Test case
Check the issue is not reproducible

@gsanchietti gsanchietti added the testing Packages are available from testing repositories label Jan 8, 2025
@nethbot nethbot moved this from In Progress 🛠 to Testing in NethSecurity Jan 8, 2025
@cotosso cotosso self-assigned this Jan 8, 2025
@cotosso
Copy link
Contributor Author

cotosso commented Jan 9, 2025

The bug is not reproducible
Image

@cotosso cotosso added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jan 9, 2025
@nethbot nethbot moved this from Testing to Verified in NethSecurity Jan 9, 2025
@github-project-automation github-project-automation bot moved this from Verified to Done ✅ in NethSecurity Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Status: Done ✅
Development

No branches or pull requests

3 participants