Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5506 มุมมอง

The log entry that appears to be written when a failed login attempt occurs in v11 using nginx as web server is this:

58.6.199.94 - - [03/Feb/2018:09:44:54 +0000] "POST /web/login HTTP/1.1" 200 3339 "http://www.domain.com/web/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:58.0) Gecko/20100101 Firefox/58.0"

How can I write a failregex rule in a fail2ban filter that would adequately detect that log pattern?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Just in case anyone comes across this, the links below pointed me in the right direction to get fail2ban working with Odoo 11 CE. Thanks to Odony for the improvement and instructions.

https://www.odoo.com/forum/help-1/question/fail2ban-not-detecting-failing-logins-from-odoo-11-log-134095

https://github.com/odoo/odoo/commit/86ffb549bf80b054f8bb5131c52d3e7757accb29

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 17
5427
2
ก.ย. 24
2485
1
พ.ค. 24
3670
2
พ.ค. 24
15018
1
เม.ย. 22
9411