• Resolved rnexussix

    (@rnexussix)


    After adding a section to jail.local and copying the wordpress.conf to filter.d , restarting fail2ban, displays an error message:

    * Restarting authentication failure monitor fail2ban
    ERROR Failed during configuration: Bad value substitution:
    section: [wordpress]
    option : action
    key : port
    rawval : “, protocol=”%(protocol)s”, chain=”%(chain)s”]

    I have standard LAMP install on Ubuntu 14.04.1 LTE

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • rchman

    (@rchman)

    It took me a bit to figure this out but the jail.local is missing the port definition.

    add port = http,https to your jail.local file.

    [wordpress]
    enabled = true
    filter = wordpress
    port = http,https
    logpath = /var/log/auth.log

    Awesome! That fixed it for me as well. Thank you!

    Plugin Author invisnet

    (@invisnet)

    That’s actually covered in the FAQ – see “Why is fail2ban complaining on my flavour of Linux?”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Message’ is closed to new replies.