Fail2Ban bans the IP address of a website visitor: ModSecurity: collection_store: Failed to access DBM file "/var/lib/mod_security/apache-default_SESSION": Resource deadlock avoided

Follow

Comments

3 comments

  • Avatar
    Unknown User

    Hi,

    I tried to add collections_remove_stale into the conf file, but I cannot enable the modsecurity jail.

    This would be a great feature if it worked! :)

    1
    Comment actions Permalink
  • Avatar
    Unknown User

    Doesn't work. 

    The directives:

    collection_store
    collections_remove_stale

    Seem to be invalid

    0
    Comment actions Permalink
  • Avatar
    Unknown User

    The collection_store and collections_remove_stale need to be in the same column/tab as the ignore regex value. Article doesn't show this correctly.

    ignoreregex = ^\[.*?\]\s\S*\s<HOST>\s.*\s\1
                           collection_store
                           collections_remove_stale

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request