From e8fd2ce4240b71182d5f53ee618a31446ce4884f Mon Sep 17 00:00:00 2001 From: vladiliushin Date: Mon, 29 Sep 2025 20:32:39 +0200 Subject: [PATCH] Add ELLIO action --- ChangeLog | 2 + config/action.d/ellio.conf | 79 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 config/action.d/ellio.conf diff --git a/ChangeLog b/ChangeLog index d6588117..93a235f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -76,6 +76,8 @@ ver. 1.1.1-dev-1 (20??/??/??) - development nightly edition * `filter.d/froxlor-auth.conf` - updated the regex to the new logging situation for froxlor and changed logpath in jail.conf (gh-4075). ### New Features and Enhancements +* `action.d/ellio.conf` - new action to send blocked IPs to ELLIO EDL (External Dynamic List) Management for centralized + IP blocking and multi-firewall deployment * backend `systemd` extended with new parameter `rotated` (default `false`, as prevention against "too many open files"), that allows to monitor only actual journals and ignore now a lot of rotated files by default; so can drastically reduce amount of used file descriptors, normally to 1 or 2 descriptors per jail (gh-3391) diff --git a/config/action.d/ellio.conf b/config/action.d/ellio.conf new file mode 100644 index 00000000..e8e57b3f --- /dev/null +++ b/config/action.d/ellio.conf @@ -0,0 +1,79 @@ +# Fail2ban action configuration for ELLIO API +# +# This action sends blocked IPs to ELLIO's EDL (External Dynamic List) Management Platform +# for centralized IP blocking and distribution across multiple firewalls. +# +# Usage in jail.conf or jail.local: +# action = ellio-api[api_key="your_api_key", +# ruleset_id="your_ruleset_id", +# expires_in_days="14"] +# +# Author: ELLIO Technology Integration + +[Definition] + +# Option: actionstart +# Notes.: command executed on demand at the first ban (or at the start of Fail2Ban if actionstart_on_demand is set to false). +# Values: CMD +# +actionstart = + +# Option: actionstop +# Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +# Values: CMD +# +actionstop = + +# Option: actioncheck +# Notes.: command executed once before each actionban command +# Values: CMD +# +actioncheck = + +# Option: actionban +# Notes.: command executed when banning an IP. Take care that the +# command is executed with Fail2Ban user rights. +# Tags: IP address +# number of failures +#