Page MenuHomeVyOS Platform

op-mode: reset vpn silently succeeds for an unknown protocol
Open, Requires assessmentPublic

Description

The standardized op-mode function that resets L2TP/PPTP/SSTP connections creates an IncorrectValue error for an unsupported protocol but never raises it, so the request returns success without doing anything. The CLI only passes supported protocols, but the standardized op-mode interface accepts any value.

Raise the error and add a unit test.

Details

Version
rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)