Commit 339759b4 authored by Maciej Delmanowski's avatar Maciej Delmanowski

[debops.ferm] Control state of the ICMP filter

parent 18caa920
...@@ -452,7 +452,7 @@ ferm__default_rules: ...@@ -452,7 +452,7 @@ ferm__default_rules:
type: 'hashlimit' type: 'hashlimit'
weight_class: 'filter-icmp' weight_class: 'filter-icmp'
protocol: 'icmp' protocol: 'icmp'
enabled: '{{ ferm__filter_icmp | bool }}' rule_state: '{{ "present" if (ferm__filter_icmp | bool) else "absent" }}'
hashlimit: '{{ ferm__filter_icmp_limit }}' hashlimit: '{{ ferm__filter_icmp_limit }}'
hashlimit_burst: '{{ ferm__filter_icmp_burst }}' hashlimit_burst: '{{ ferm__filter_icmp_burst }}'
hashlimit_expire: '{{ ferm__filter_icmp_expire }}' hashlimit_expire: '{{ ferm__filter_icmp_expire }}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment