You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'recent time' command for firewall rules has changed from a decimal to a choice of 'second/minute/hour'. Documentation link and link to line in code where it should be changed.
# /usr/lib/python3/dist-packages/ansible_collections
Collection Version
---------- -------
vyos.vyos 4.0.1
CONFIGURATION
CONFIG_FILE() = /etc/ansible/ansible.cfg
OS / ENVIRONMENT
Ubuntu 22.04 running ansible to a vyos system running VyOS 1.4-rolling-202303170317 (current)
STEPS TO REPRODUCE
Run the following with vyos.vyos.vyos_config:
- name: Drop SSH if too many triesvyos.vyos.vyos_config:
lines:
- set firewall name EXTERNAL-LOCAL rule 30 action 'drop'
- set firewall name EXTERNAL-LOCAL rule 30 destination port '22'
- set firewall name EXTERNAL-LOCAL rule 30 protocol 'tcp'
- set firewall name EXTERNAL-LOCAL rule 30 recent count '4'
- set firewall name EXTERNAL-LOCAL rule 30 recent time minute
- set firewall name EXTERNAL-LOCAL rule 30 state new 'enable
or attempt to add a rule with vyos.vyos.vyos_firewall_rule:
- name: Set EXTERNAL-LOCAL firewall rulesvyos.vyos.vyos_firewall_rules:
config:
- afi: ipv4rule_sets:
- name: EXTERNAL-LOCALdefault_action: droprules
- number: 30description: deny SSH if too many timesaction: dropprotocol: tcpdestination:
port: 22state:
new: truerecent:
count: 4time: minute
EXPECTED RESULTS
Current version of vyos is able to use 'minute' as expected
ACTUAL RESULTS
I can't add a fireall rule with recent options
The text was updated successfully, but these errors were encountered:
SUMMARY
The 'recent time' command for firewall rules has changed from a decimal to a choice of 'second/minute/hour'.
Documentation link and link to line in code where it should be changed.
ISSUE TYPE
COMPONENT NAME
vyos.vyos.vyos_firewall_rules
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 22.04 running ansible to a vyos system running VyOS 1.4-rolling-202303170317 (current)
STEPS TO REPRODUCE
Run the following with vyos.vyos.vyos_config:
or attempt to add a rule with vyos.vyos.vyos_firewall_rule:
EXPECTED RESULTS
Current version of vyos is able to use 'minute' as expected
ACTUAL RESULTS
I can't add a fireall rule with
recent
optionsThe text was updated successfully, but these errors were encountered: