--On Tuesday, November 10, 2020 9:48 AM -0500 Robert Kudyba
<rkud...@fordham.edu> wrote:
Here's another useful resource: https://iptoasn.com/
Any idea how to download the list and update /etc/hosts on a regular
basis?
I don't, but haven't messed with it much. I haven't tried the API. When
stuff like that doesn't work, I take Obi-wan's advice: Use the source,
Luke! :D There's a link at the bottom of the page to the web service source
code on GitHub.
Instead of /etc/hosts, I'd load the values into an ipset, probaby using
firewalld's commands to make them persistent and to reference them in a
"direct" iptables rule.
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users