MineOS and fail2ban


Sorry for my bad english :slightly_smiling:

I want use fail2ban for reduce account/password bruteforce in WEB-UI.

i guess fail2ban can parse this log, but mineos.log does not save the bad authentication.

unless the bad authentication be recorded elsewhere.


Implemented an auth log at /var/log/mineos.auth.log as of this commit. update your webui and you should then be able to start parsing the file.

Is it possible to incorporate fail2ban in your docker repos? If we try to mount a volume with logs then mineos won’t find supervisor/supervisor.log
and the manual installation of fail2ban in the container would result in : invoke-rc.d: policy-rc.d denied execution of start.