Page MenuHomeVyOS Platform

firewall group network-group long names restriction incorrect behavior
Confirmed, Requires assessmentPublic

Description

Tested in VyOS 1.3.0-epa3

There is a limit of 31 characters for the group name.
There is an error when trying to create a long group name (this is good)
When trying to create a group of 32 characters, there is no errors:

vyos@vyos# set firewall group network-group MySecret-Inside-Private-Network
[edit]

But if you try a commit after that, you get this:

vyos@vyos# set firewall group network-group MySecret-Inside-Private-Network
[edit]
vyos@vyos# commit
[ firewall group network-group MySecret-Inside-Private-Network ]
ipset v6.38: Error in line 1: Syntax error: setname 'MySecret-Inside-Private-Network-2106' is longer than 31 characters
Error: problem copying group

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3.0-epa3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Dmitry changed the task status from Open to Confirmed.Dec 9 2021, 2:17 PM