Skip to content
www.linuxonlinehelp.eu
Nonprofit Linux PC & Server Support since 2004
  • Support Grundlagen
  • Support Basics
  • Index
  • Get Support
  • Impressum
www.linuxonlinehelp.eu
  • Support Grundlagen
  • Support Basics
  • Index
  • Get Support
  • Impressum

NEXTCLOUD OWNCLOUD BUG FAIL2BAN

Posted on 2018-03-08

FAIL2BAN blocks access to “.ocdata” file!

Apache Error Log:

..AH01630: client denied by server configuration: ... cloud/data/.ocdata

create with a Custom Rule for FAIL2BAN do:
 $sudo nano /etc/fail2ban/filter.d/apache-auth.local

insert:
[apache-auth]
ignoreregex = nextcloud/data/.ocdata

do:
$sudo service fail2ban restart

Check Log:
tail -f n50 /var/log/apache2/error.log

Remark:
Sometimes the Login take long time after Enter the Password
this indicates a filled up “oc_bruteforce_attempts” Table!!

login into mysql:

$mysql -u user -p

select database:
USE Nextcloud;

show all values from the oc_bruteforce_attempts table, use:
SELECT * FROM oc_bruteforce_attempts;

remove “ALL” IP’s from the table, do step by step:
DELETE FROM oc_bruteforce_attempts WHERE IP="xxx.xxx.xxx.xxx";

Logout of mysql with exit..

Login into nextcloud as Admin and delete first the App Bruteforce Login cause FAIL2BAN works WITHOUT MYSQL!!

Filed under: Apache, Cloud Office, Howto, nextcloud, Open Source Software Bug Reports, owncloud

← Previous PostNext Post →

Categories

Affiliate Android Apache AVM Backup Blogging CentOS Red Hat Enterprise Smeserver Bluequartz Strongbolt Cloud Office Debian Facebook Firefox Thunderbird Firewall FreeBSD Unix fritzbox Green IT Hardware Bugs on Linux Howto Laptop Handling Tips Linux Einstieg Newbie Linux Fehler-Bugs Linux General Linux Micro Server Projekt Maintenance MySQL News nextcloud Open Source Software Bug Reports openwrt owncloud raspian Router Security Infos Slim Socialmedia Support Technic Tips Terminal Tinycorelinux twitter ubuntu unity Webserver Wordpress Bugs Wordpress Help Workarounds

IT Security Bookmarks

  • DSA Debian Security Bugs
  • Kali Linux Tool OS
  • Privoxy Proxy NoAds
  • Tails Ram OS Secure
  • Tor Net Anonymous
  • USN Ubuntu Security Bugs
  • Vulnerability Database

Linux Bookmarks

  • Debian Forum
  • Debian Linux Home
  • Devuan NEW!
  • Download Ubuntu
  • Elementary OS Linux
  • Linux Kernel Bugs Library
  • LXDE Window Manager
  • Openbox Windowmanager
  • Openmips Multimedia OS
  • Openwrt LEDE Bugs
  • Openwrt Router OS
  • Raspberry Pi Project
  • Tiny Core Linux
  • Ubuntu Forum German
  • Ubuntu Linux Home
  • Xfce4 Desktop Home

Unix Bookmarks

  • Forum DesktopBSD
  • FreeBSD Unix OS
  • FreeBSD Wiki
  • Monowall Firewall OS 32bit
  • OPN Sense (mOnOWall)
  • PF Sense Firewall OS BSD 64bit
© 2023 - www.linuxonlinehelp.eu | All rights reserved
Powered by Linuxonlinehelp_eu