Skip to content

Custom filter not being read/not accessible. #3115

Answered by pclimaco
dasdsa1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, dasdsa,

What an odd name, but who am I to judge? :-)

  1. First, this regex will not compile and will fail because you cannot add empty square brackets like this in regex, please refer to http://webagility.com/posts/the-basics-of-regex-explained

You did not provide us with your log file, but somehow I can imagine it something like-

  • Login Failed invalidUser IP:[100.21.64.66]

So you would need this-

  • failregex = Login Failed invalidUser IP:\[<HOST>\].*$
  1. Second, I believe the only issue with your "jail.local" file is that you added a reference to the filter location so completely remove the line "filter".
    Instead your "jail.local" custom entry reference just have to match a file with th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sebres
Comment options

Answer selected by dasdsa1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants