CrowdSec is a free and open-source security automation tool leveraging local IP behavior detection and a community-powered IP reputation system.
LL::NG provides a CrowdSec bouncer that can reject CrowdSec banned IP requests or just provide an environment variable that can be used in another plugin rule. For example, a second factor may be required if user’s IP is CrowdSec banned.
You can also find CrowdSec agents in CrowdSec hub.
To configure bouncer plugin, go in General Parameters
> Advanced Parameters
> Security
> CrowdSec Bouncer
.
You can then configure:
$env->{CROWDSEC_REJECT} = 1
cscli bouncers add mylemon