-------- Original Message --------
*Subject: *  [Fail2ban-users] Fwd: apache-proxy
*From: *     François Patte <francois.pa...@gmx.fr>
*To: *         Fail2ban-users <fail2ban-users@lists.sourceforge.net>
*CC: *
*Date: *      2023-5-19  03:26 AM
Thank you for answering.

# fail2ban-regex filter apache-proxy

Running tests
=============

Use   failregex filter file : apache-proxy, basedir: /etc/fail2ban
Use      single line : filter


Results
=======

Failregex: 0 total

Ignoreregex: 0 total

Date template hits:

Lines: 1 lines, 0 ignored, 0 matched, 1 missed
[processed in 0.02 sec]

|- Missed line(s):
|  filter
`-

I'm not familiar with running it that way. I always run it as:
fail2ban-regex <logfile> /etc/fail2ban/filter.d/<jail>.conf

Maybe try it that way.

The next thing to do is to grep the log file and see if what your jail is 
looking for, is indeed in the log file.

grep "bad stuff" <log file name>



Also I have gotten better results by building my own jails.


Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com



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

Reply via email to