Skip to Content
Menu
This question has been flagged
2 Replies
4021 Views

Hi Folks,

I am looking how to secure my server againt brute force attempts to log in.

I am already used fail2ban to secure the ssh access. I would like to use it to check my odoo web interface as well.

Unfortunately  I am not able to find somewhere in the log (/var/log/odoo/odoo.log /var/log/auth.log, ...) a warning when a user keys a wrong password. I don't know where amend the code neither.

If you have any tip for me.

Thanks

Avatar
Discard

Take a look at openerp/addons/web/controllers/main.py - class: Home - function: web_login. Maybe that could help.

This would be a very useful module and I am sure that people would pay for this - ask Webkul to develop it.

Best Answer

Workaround could be to setup some reverse proxy (apache|nginx) with users ssl certificate, 
and if cert is not present on users side you could redirect request to some other page/web/domain... 

combined with password gives you pretty secure server

Avatar
Discard