owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector
Apache License 2.0
1.59k stars 282 forks source link

Add blacklistd support #215

Closed psa closed 4 years ago

psa commented 4 years ago

BSDs have a hook to the packet filter called blacklistd and it would be nice to be able to call that for block requests.

I'm thinking the implementation can be simple, a flag modsecurity_blacklistd On|Off; which enables|disables calls to blacklistd on any block action.

An example of adding blacklistd support to postfix can be found here: https://github.com/NetBSD/src/commit/3ae4028

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days