Question
Owncloud and Fail2ban
I have owncloud in apache behind nginx. I try to ban bad guys by Fail2ban in nginx server.
All is ok, log comes from owncloud, with real IP, and is reading by fail2ban.
But all is missed all the time… I try many regex but with no results.
The line of log
Feb 27 21:01:19 OWNCLOUD1 ownCloud[30242]: {core} Login failed: ’xxxx.xxxx@xxx-xxx-xxx.com’ (Remote IP: ‘xx.xx.xx.xx’)
I try a lot, The last
’.’ Login failed: ’.’ (Remote IP: ’<HOST>) ’.*’
It’s not my first fail2ban, but…
Thanks a lot for your response.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×