Sample Header Ad - 728x90

Writing a fail2ban multiline regex

-1 votes
1 answer
2362 views
I'm not sure if this the correct regex, but i'm trying to add multiple lines at the ignoreregex Here are the config lines in my ddos.conf: [Definition] failregex = ^ -.*"(GET|POST).* ignoreregex =.*(robots.txt|favicon.ico|jpg|png) ^ -.*"(GET|POST).*(Googlebot|bingbot) Is the code is correct what should i add to multiply lines
Asked by Dr Jay (149 rep)
Apr 15, 2021, 10:44 AM
Last activity: Apr 23, 2025, 08:01 PM