mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: Change badips.py default score to "3"
As per recommendation from Amy from badips.com
This commit is contained in:
parent
476d79d3cc
commit
de43d1d6d5
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class BadIPsAction(ActionBase):
|
|||
category : str
|
||||
Valid badips.com category for reporting failures.
|
||||
score : int, optional
|
||||
Minimum score for bad IPs. Default 5.
|
||||
Minimum score for bad IPs. Default 3.
|
||||
age : str, optional
|
||||
Age of last report for bad IPs, per badips.com syntax.
|
||||
Default "24h" (24 hours)
|
||||
|
|
@ -76,7 +76,7 @@ class BadIPsAction(ActionBase):
|
|||
_Request = partial(
|
||||
Request, headers={'User-Agent': "Fail2Ban %s" % f2bVersion})
|
||||
|
||||
def __init__(self, jail, name, category, score=5, age="24h",
|
||||
def __init__(self, jail, name, category, score=3, age="24h",
|
||||
banaction=None, bancategory=None, updateperiod=900):
|
||||
super(BadIPsAction, self).__init__(jail, name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue