Geoblocking: Script, systemd Timer, checkmk Plugin, Installer

This commit is contained in:
ARIA
2026-07-21 10:50:52 +02:00
commit db792a5fe1
7 changed files with 689 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=ARIA Geoblocking - Laender-IP-Sperrliste aktualisieren (ipset+iptables)
Documentation=https://git.hacker-net.de/Aria-Software/geoblocking-python-script
After=network-online.target
Wants=network-online.target
ConditionPathExists=__INSTALL_DIR__/aria_geoblock.ini
[Service]
Type=oneshot
User=root
ExecStart=/usr/bin/python3 __INSTALL_DIR__/aria_geoblock.py --config __INSTALL_DIR__/aria_geoblock.ini --apply
# iptables/ipset aendern den Kernel-Netfilter, braucht root (siehe User=root oben)