Page MenuHomeVyOS Platform

Cannot use !tcp or !tcp_udp while adding firewall rule
Closed, ResolvedPublicBUG

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:         [email protected]
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)
Issue type
Bug (incorrect behavior)

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
dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

It seems to work fine in the latest 1.3, assuming it's no longer an issue.

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:14 AM
erkin removed a subscriber: Active contributors.