diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-13 18:43:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-13 18:43:09 +0200 |
commit | 37a08888d103556326ecd13e4738301ac901c861 (patch) | |
tree | 6253eabbc4ccddc70598ec556d7c50387356c6e6 /data | |
parent | 049c8d556085db31265290e3f706c1af33b0ae85 (diff) | |
download | vyos-1x-37a08888d103556326ecd13e4738301ac901c861.tar.gz vyos-1x-37a08888d103556326ecd13e4738301ac901c861.zip |
sshguard: T4408: rename whitelist-address -> allow-from
We do not only allow individual host addresses but also prefixes.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ssh/sshguard_whitelist.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/ssh/sshguard_whitelist.j2 b/data/templates/ssh/sshguard_whitelist.j2 index 1e05ac00f..47a950a2b 100644 --- a/data/templates/ssh/sshguard_whitelist.j2 +++ b/data/templates/ssh/sshguard_whitelist.j2 @@ -1,7 +1,7 @@ ### Autogenerated by ssh.py ### -{% if dynamic_protection is vyos_defined and dynamic_protection.whitelist_address is vyos_defined %} -{% for address in dynamic_protection.whitelist_address %} +{% if dynamic_protection.allow_from is vyos_defined %} +{% for address in dynamic_protection.allow_from %} {{ address }} {% endfor %} {% endif %} |