Fail2ban is useful to prevent brute-force attacks. Its purpose is to ban an IP address which attempted too login incorrectly too many times. It is often used for SSH connections, but it can also be used in KooZic.
Enable proxy mode¶
The first step is to make sure that the
proxy_mode option is turned on in KooZic, which is not
the case by default. To do so, edit the file
~/.odoorc and add the line:
proxy_mode = True
~/ refers to the home directory of the user running KooZic (
root by default).
Then, restart the service:
service koozic@<USER> restart