WP fail2ban

Contents

  • 1. Introduction
  • 2. Features
  • 3. Installation
  • 4. Configuration
  • 5. Usage
  • 6. Maintenance
  • 7. Add-ons

Reference

  • Developers
  • define() Constants
    • All
    • Logging
      • WP_FAIL2BAN_USE_LOG_AUTH
      • WP_FAIL2BAN_USE_LOG_USER
      • WP_FAIL2BAN_LOG_COMMENTS
      • WP_FAIL2BAN_LOG_COMMENT_ATTEMPTS
      • WP_FAIL2BAN_LOG_SPAM
      • WP_FAIL2BAN_LOG_PINGBACKS
      • WP_FAIL2BAN_LOG_PASSWORD_REQUEST
      • WP_FAIL2BAN_AUTH_LOG
      • WP_FAIL2BAN_COMMENT_LOG
      • WP_FAIL2BAN_COMMENT_ATTEMPT_LOG
      • WP_FAIL2BAN_SPAM_LOG
      • WP_FAIL2BAN_PINGBACK_LOG
      • WP_FAIL2BAN_PASSWORD_REQUEST_LOG
      • Premium
        • WP_FAIL2BAN_EX_LOG_PTR
        • WP_FAIL2BAN_EX_LOG_URL
        • WP_FAIL2BAN_EX_LOG_REFERER
        • WP_FAIL2BAN_EX_LOG_USER_AGENT
        • WP_FAIL2BAN_EX_LOG_POST_DATA
        • WP_FAIL2BAN_EX_LOG_HEADERS
        • WP_FAIL2BAN_EX_BLOCK_COUNTRIES_LOG
        • WP_FAIL2BAN_EX_XMLRPC_LOG
        • WP_FAIL2BAN_EX_WAF_LOG
        • WP_FAIL2BAN_EX_HONEYPOT_LOG
      • Removed in v6.0
        • WP_FAIL2BAN_USE_AUTHPRIV
        • WP_FAIL2BAN_LOG_COMMENTS_EXTRA
        • WP_FAIL2BAN_COMMENT_EXTRA_LOG
    • syslog
    • Block
    • Remote IPs
    • Plugins
    • Site Health
    • WAF
    • Honeypot
    • Miscellaneous
    • Development
    • Reserved
  • Facilities
  • Logfile Reference
  • Default Facilities
  • Events
  • Filters
WP fail2ban
  • define() Constants
  • Logging
  • View page source

Logging

  • WP_FAIL2BAN_USE_LOG_AUTH
  • WP_FAIL2BAN_USE_LOG_USER

Enable Logging

  • WP_FAIL2BAN_LOG_COMMENTS
  • WP_FAIL2BAN_LOG_COMMENT_ATTEMPTS
  • WP_FAIL2BAN_LOG_SPAM
  • WP_FAIL2BAN_LOG_PINGBACKS
  • WP_FAIL2BAN_LOG_PASSWORD_REQUEST

Facility

  • WP_FAIL2BAN_AUTH_LOG
  • WP_FAIL2BAN_COMMENT_LOG
  • WP_FAIL2BAN_COMMENT_ATTEMPT_LOG
  • WP_FAIL2BAN_SPAM_LOG
  • WP_FAIL2BAN_PINGBACK_LOG
  • WP_FAIL2BAN_PASSWORD_REQUEST_LOG

Premium

Enable Logging

  • WP_FAIL2BAN_EX_LOG_PTR
  • WP_FAIL2BAN_EX_LOG_URL
  • WP_FAIL2BAN_EX_LOG_REFERER
  • WP_FAIL2BAN_EX_LOG_USER_AGENT
  • WP_FAIL2BAN_EX_LOG_POST_DATA
  • WP_FAIL2BAN_EX_LOG_HEADERS

Facility

  • WP_FAIL2BAN_EX_BLOCK_COUNTRIES_LOG
  • WP_FAIL2BAN_EX_XMLRPC_LOG
  • WP_FAIL2BAN_EX_WAF_LOG
  • WP_FAIL2BAN_EX_HONEYPOT_LOG

Removed in v6.0

  • WP_FAIL2BAN_USE_AUTHPRIV
  • WP_FAIL2BAN_LOG_COMMENTS_EXTRA
  • WP_FAIL2BAN_COMMENT_EXTRA_LOG
Next Previous

© Copyright 2018-2025, Charles Lecklider

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Built with Sphinx using a theme provided by Read the Docs.