Latest fail2ban upgrade broked everything.

As title,

the latest fail2ban update switched to a new datedetector.py

this detector does not intercept date like this:

Oct 1 10:06:14 (maillog format)

or this:

30/Sep/2013:19:44:50 (sslaccesslog)

for this I have this entry:

# Apache format [31/Oct/2006:09:22:55 -0000]
template = DateStrptime()
template.setName("Day/MONTH/Year:Hour:Minute:Second")
template.setRegex("\d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}")
template.setPattern("%d/%b/%Y:%H:%M:%S")

I am trying to insert the correct entry in the date detector to match this date

but without any luck.

Have you got fail2ban working for this entry?

1 Reply

please ignore this thread I have a problem in the multiplexer so no problem with fail2ban.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct