On 2022-11-11 23:53, fail2ban-users--- via Fail2ban-users wrote:
Hello!

But i wonder if anyone can help me?

In postfix.conf theres a line like: mdpr-ddos = (?:lost connection after(?! DATA) [A-Z]+|disconnect(?= from \S+(?: \S+=\d+)* auth=0/(?:[1-9]|\d\d+))|(?:PREGREET \d+|HANGUP) after \S+|COMMAND (?:TIME|COUNT|LENGTH) LIMIT)

And i wonder how to add: discard, rank, penalty, AUTH to that. Or if you can add a new line with that only, if thats easier?

So that it also gets catched or filtered. Howerever you say it? :)

But how do i do it so that discard, rank, penalty, AUTH is in to that line.

Like PREGREET and HANGUP.

Hope you understand. New to fail2ban. And can not code or use regex. :(

Thanks in advance!

/T

Solved!
--
T



_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to