Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The problem is that fail2ban responds to a message about some ERROR, an abnormal situation.
And you don’t have any errors either, there is a regular connection to the stream, and then a regular disconnection from the stream.
And fail2ban will not be able to respond to a regular connection-disconnection, otherwise it will ban all connections altogether, totally...
Alternatively, you need to write a script (in an accessible language), run every minute/two/three/five, parse the log, find such connections, check for already banned, and ban. Profit!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question