I want to set up fail2ban for bookstack, but I can't find invalid login attempts properly. I only see 302 responses in the access.log for my invalid/valid login. Is it possible to get responses like "authentication failed, IP = ...."? Bookstack is installed via the developer's default script.
-
I don't have experience with that app, but from my research, BookStack writes failed logins into its application log, usually located at (location may vary): /var/www/bookstack/storage/logs/laravel.log You can create a custom jail file for fail2ban scanning that log and identifying failed attempts.Luis Alberto Barandiaran– Luis Alberto Barandiaran2025-11-20 02:44:01 +00:00Commented Nov 20 at 2:44
Add a comment
|