On 9/6/20 10:34 AM, Dan via Fail2ban-users wrote:
On 9/6/2020 3:24 AM, Yassine Chaouche wrote:
The question is : what file should I be patching to see if this solves
my issue ? I have found what seems to be fail2ban python source code
in /usr/share/fail2ban/ but there is no __init__.py at the top level
directory (which would work for file2ban-server/client and regex).
On my system, Ubuntu 20.04 LTS with fail2ban installed via apt, the file
is: /usr/lib/python3/dist-packages/fail2ban/client/__init__.py
Thanks Dan. I also found that file but it seems to be specific to
fail2ban-client (/client/ subdir). I could in theory create an
__init__.py file myself, put it in the top directory
(/usr/lib/python3/dist-packages/fail2ban/ in your case,
/usr/share/fail2ban in mine) and hope for the python interpreter to pick
it up as early as possible.
Yassine.
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users