OP#483 rewrite complete

This commit is contained in:
2026-03-11 12:17:01 +01:00
parent b048bd8f48
commit df88e9602e

View File

@@ -123,7 +123,7 @@ class confdroid_fail2ban::params (
# jail.conf/local # jail.conf/local
String $fn_ignoreip = '127.0.0.1/8', String $fn_ignoreip = '127.0.0.1/8',
String $fn_ignorecommand = '', Optional[String] $fn_ignorecommand = '',
String $fn_bantime = '600', String $fn_bantime = '600',
String $fn_findtime = '600', String $fn_findtime = '600',
String $fn_maxretry = '5', String $fn_maxretry = '5',
@@ -133,7 +133,6 @@ class confdroid_fail2ban::params (
Boolean $fn_enabled = false, Boolean $fn_enabled = false,
String $fn_filter = '%(__name__)s', String $fn_filter = '%(__name__)s',
String $fn_destemail = 'root@localhost', String $fn_destemail = 'root@localhost',
#String $fn_sender = "fail2ban@${fqdn}",
String $fn_mta = 'sendmail', String $fn_mta = 'sendmail',
String $fn_protocol = 'tcp', String $fn_protocol = 'tcp',
String $fn_chain = 'INPUT', String $fn_chain = 'INPUT',
@@ -144,7 +143,7 @@ class confdroid_fail2ban::params (
String $fn_action_ = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]', String $fn_action_ = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]',
String $fn_action_mw = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] String $fn_action_mw = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
%(mta)s-whois[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s"]', %(mta)s-whois[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s"]',
String $fn_action_mwl = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] String $fn_action_mwl = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]'
%(mta)s-whois-lines[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s"]', %(mta)s-whois-lines[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s"]',
String $fn_action_xarf = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] String $fn_action_xarf = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
xarf-login-attack[service=%(__name__)s, sender="%(sender)s", logpath=%(logpath)s, port="%(port)s"]', xarf-login-attack[service=%(__name__)s, sender="%(sender)s", logpath=%(logpath)s, port="%(port)s"]',