mirror of https://github.com/fail2ban/fail2ban
Use httpS with badips
parent
7070664772
commit
e2665d39fd
|
@ -81,7 +81,7 @@ class BadIPsAction(ActionBase): # pragma: no cover - may be unavailable
|
||||||
"""
|
"""
|
||||||
|
|
||||||
TIMEOUT = 10
|
TIMEOUT = 10
|
||||||
_badips = "http://www.badips.com"
|
_badips = "https://www.badips.com"
|
||||||
def _Request(self, url, **argv):
|
def _Request(self, url, **argv):
|
||||||
return Request(url, headers={'User-Agent': self.agent}, **argv)
|
return Request(url, headers={'User-Agent': self.agent}, **argv)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue