checking auto-carriage return
This commit is contained in:
@@ -100,6 +100,11 @@
|
||||
# in a particular jail
|
||||
# @param [string] fn_fail2ban_agent Format of user-agent
|
||||
# https://tools.ietf.org/html/rfc7231#section-5.5.3
|
||||
# @param [string] fn_banaction Default banning action
|
||||
# @param [string] fn_banaction_allports Default banning action
|
||||
# @param [string] fn_action_ ban only
|
||||
# @param [string] fn_action_mw ban & send an e-mail with whois report to the
|
||||
# destemail.
|
||||
###############################################################################
|
||||
class cd_fail2ban::params (
|
||||
|
||||
@@ -136,7 +141,10 @@ $fn_protocol = 'tcp',
|
||||
$fn_chain = 'INPUT',
|
||||
$fn_port = '0:65535',
|
||||
$fn_fail2ban_agent = 'Fail2Ban/%(fail2ban_version)s',
|
||||
|
||||
$fn_banaction = 'iptables-multiport',
|
||||
$fn_banaction_allports = 'iptables-allports',
|
||||
$fn_action_ = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]',
|
||||
$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"]',
|
||||
|
||||
) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user