Page MenuHomeVyOS Platform

Cannot use !tcp or !tcp_udp while adding firewall rule
Open, Requires assessmentPublicBUG

Description

Cannot use !tcp or !tcp_udp while adding firewall rule

{"op": "set", "path": ["firewall", "name", "allow-all", "rule", "23", "protocol", "!tcp_udp"]}
{'key': 'xxxx', 'data': '{"op": "set", "path": ["firewall", "name", "allow-all", "rule", "23", "protocol", "!tcp_udp"]}'}
400
<Response [400]>
{'data': None,
 'error': 'invalid protocol !tcp_udp\n\nValue validation failed\nSet failed\n',
 'success': False}
False
Version:          VyOS 1.3-rolling-202005100117
Release Train:    equuleus

Built by:         autobuild@vyos.net
Built on:         Sun 10 May 2020 01:17 UTC
Build UUID:       aa1e03bc-7360-40b3-a58c-cdae46958353
Build Commit ID:  2cb6f390d7bdaa

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  Red Hat
Hardware model:   OpenStack Compute
Hardware S/N:     00000000-0000-0000-0000-0cc47af88ada
Hardware UUID:    d9c8f859-4d07-4019-9a10-fe80d8dc0764

Copyright:        VyOS maintainers and contributors

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202005100117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

same of

{"op": "set", "path": ["firewall", "group", "port-group", "yyyy", "port", "!100-200"]}
{'key': 'xxxx', 'data': '{"op": "set", "path": ["firewall", "group", "port-group", "yyyy", "port", "!100-200"]}'}
400