ansible-personal/roles
Alan Orth d7c34a30a3
roles/common: Add Spamhaus DROP lists to firewalld ipsets
This configures the recommended DROP, EDROP, and DROPv6 lists from
Spamhaus as ipsets in firewalld. First we copy an empty placeholder
ipset to seed firewalld, then we use a shell script to download the
real lists and activate them. The same shell script is run daily as
a service (update-spamhaus-lists.service) by a systemd timer.

I am strictly avoiding any direct ipset commands here because I want
to make sure that this works on older hosts where ipsets is used as
well as newer hosts that have moved to nftables such as Ubuntu 20.04.
So far I have tested this on Ubuntu 16.04, 18.04, and 20.04, but ev-
entually I need to abstract the tasks and run them on CentOS 7+ as
well.

See: https://www.spamhaus.org/drop/
2021-07-21 09:34:51 +03:00
..
common roles/common: Add Spamhaus DROP lists to firewalld ipsets 2021-07-21 09:34:51 +03:00
mariadb roles/mariadb: Only create users on 127.0.0.1 and ::1 2021-02-13 13:11:28 +02:00
munin roles/munin: Remove tomcat config 2020-07-14 09:47:39 +03:00
nginx roles/nginx: Add convenience tags to fact task 2021-07-01 18:17:14 +03:00
php-fpm roles: Remove mentions of Piwik 2021-01-06 09:00:18 +02:00