WP Manifestindependent plugin directory
manifest / security / wordfence-blockings-log

Wordfence blockings log

Wordpress Wordfence blockings log

by Cyrille37 · github.com/cyrille37/wordfence-blockings-log · website

3stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/cyrille37/wordfence-blockings-log/archive/refs/heads/main.zip

Wordpress Wordfence blockings log

A Wordpress plugin which logs Wordfence IP blockings to make them available to other software such as Crowdsec.

Configuration

Options page is available in Tools admin menu.

options page

The only setting is about the log file rotation. You have 3 choices:

  • no rotation: nothing append, you can manage rotation with a tool like logrotage
  • day rotation: the log file will be renamed as "...-2024-08-03.log" when the file's modification date is older than the incoming event
  • size rotation: the log file will be renamed as "...20240803_154103" when it become bigger than the file size setting

Crowdsec side

You'll find in crowdsec/hub folder :

  • the parser crowdsec/hub/wordpress-wordfence-blockings-log.yaml
  • scenario crowdsec/hub/wordpress-wordfence-blockings-wsn.yaml to propagate Wordfence Security Network IP to Crowdsec, only those who have visited the website
  • scenario crowdsec/hub/wordpress-wordfence-blockings-san.yaml to propagate to Crowdsec IP who have exceeded a maximum requests per minutes

Thanks & Credits