Page MenuHomeVyOS Platform

SSTP: local-user static-ip CLI node accepts invalid IPv4 addresses
Closed, ResolvedPublicBUG

Description

[email protected]# set vpn sstp authentication local-users username foo static-ip 1.2.3.9999
[edit]

XML code lacs a constraint section

<leafNode name="static-ip">
  <properties>
    <help>Static client IP address</help>
  </properties>
  <defaultValue>*</defaultValue>
</leafNode>

Details

Difficulty level
Easy (less than an hour)
Version
1.3.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)