• I’ve included the following lines in wp-config
    define(‘WP_FAIL2BAN_BLOCK_USER_ENUMERATION’,true);
    define(‘WP_FAIL2BAN_BLOCKED_USERS’,’^(admin|DOMAIN)’);
    //the following line is for CloudFlare
    define(‘WP_FAIL2BAN_PROXIES’,’103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/12,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17,199.27.128.0/21′);

    In my auth.log, I get lines like these;
    Jul 28 09:14:59 xxxxxxxx wordpress(www.xxxx.no)[11984]: Blocked authentication attempt for admin from xxx.xxx.xxx.xxx

    I get mails from WordFence where WordFence has blocked a login attempt, but none of these is logged in auth.log

    I’m using WordFence and Login LockDown on this site.
    Is any of these blocking functions of wp-fail2ban ?

    https://www.ads-software.com/support/plugin/wp-fail2ban

    https://www.ads-software.com/plugins/wp-fail2ban/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MrLeif

    (@mrleif)

    If I turn off WordFence and Login LockDown, the plugin writes to the log.
    Would really like to have this plugin work without removing these

    Plugin Author invisnet

    (@invisnet)

    If you set Mask Login Errors in Login LockDown then you’ll get no logging. However, I don’t understand why you want that plugin if you’re using fail2ban – they do exactly the same thing.

    There doesn’t seem to be a conflict with WordFence. However, you should ensure that the options for WP-f2b and WordFence don’t overlap; for example, blocking user enumeration – use either WP-f2b or WordFence to do it, but not both.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not logging – Known issues with other plugins?’ is closed to new replies.