Hi,
Clearing the database table helped, but it looks like that the brute force thingie still isn’t turned off. For testing, I’ve connected with cadaver via WebDAV to my Nextcloud installation. I’ve created a directory “test” and deleted it afterwards.
dav:/owncloud/remote.php/webdav/> mkdir test
Creating `test': succeeded.
dav:/owncloud/remote.php/webdav/> rmcol test
Deleting collection `test': succeeded.
dav:/owncloud/remote.php/webdav/>
The new directory was created quickly, but deleting it took about two minutes. During this operation, these messages appeared in the log:
/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#113","level":3,"time":"2017-04-11T14:12:13+02:00","method":"OPTIONS","url":"\/owncloud\/remote.php\/webdav\/","user":"--","version":"11.0.2.7"}
{"reqId":"eCqfOytiPHEaSIRSJFuT","remoteAddr":"","app":"PHP","message":"inet_ntop(): Invalid in_addr value at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#121","level":3,"time":"2017-04-11T14:12:13+02:00","method":"OPTIONS","url":"\/owncloud\/remote.php\/webdav\/","user":"--","version":"11.0.2.7"}
{"reqId":"GXYxuSjxd\/OKQkgiJqGU","remoteAddr":"","app":"PHP","message":"inet_pton(): Unrecognized address at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#113","level":3,"time":"2017-04-11T14:12:13+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"--","version":"11.0.2.7"}
{"reqId":"GXYxuSjxd\/OKQkgiJqGU","remoteAddr":"","app":"PHP","message":"inet_ntop(): Invalid in_addr value at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#121","level":3,"time":"2017-04-11T14:12:13+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"--","version":"11.0.2.7"}
{"reqId":"heMhfX6i3EaswpJV\/wWH","remoteAddr":"","app":"PHP","message":"inet_pton(): Unrecognized address at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#113","level":3,"time":"2017-04-11T14:12:25+02:00","method":"MKCOL","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
{"reqId":"heMhfX6i3EaswpJV\/wWH","remoteAddr":"","app":"PHP","message":"inet_ntop(): Invalid in_addr value at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#121","level":3,"time":"2017-04-11T14:12:25+02:00","method":"MKCOL","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
{"reqId":"heMhfX6i3EaswpJV\/wWH","remoteAddr":"","app":"PHP","message":"stream_get_contents() expects parameter 2 to be integer, string given at \/usr\/local\/www\/nextcloud\/3rdparty\/sabre\/http\/lib\/Message.php#81","level":3,"time":"2017-04-11T14:12:26+02:00","method":"MKCOL","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"ihsan","version":"11.0.2.7"}
{"reqId":"bfiSecfD8Nv3R6AzDVd9","remoteAddr":"","app":"PHP","message":"inet_pton(): Unrecognized address at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#113","level":3,"time":"2017-04-11T14:12:47+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
{"reqId":"bfiSecfD8Nv3R6AzDVd9","remoteAddr":"","app":"PHP","message":"inet_ntop(): Invalid in_addr value at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#121","level":3,"time":"2017-04-11T14:12:47+02:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
{"reqId":"vIyA0E+jqaI7Wc9Wg6U8","remoteAddr":"","app":"PHP","message":"inet_pton(): Unrecognized address at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#113","level":3,"time":"2017-04-11T14:12:47+02:00","method":"DELETE","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
{"reqId":"vIyA0E+jqaI7Wc9Wg6U8","remoteAddr":"","app":"PHP","message":"inet_ntop(): Invalid in_addr value at \/usr\/local\/www\/nextcloud\/lib\/private\/Security\/Bruteforce\/Throttler.php#121","level":3,"time":"2017-04-11T14:12:47+02:00","method":"DELETE","url":"\/owncloud\/remote.php\/webdav\/test\/","user":"--","version":"11.0.2.7"}
And my config.php:
<?php
$CONFIG = array (
'instanceid' => ‚**********‘,
'passwordsalt' => ‚*************‘,
'secret' => ‚****************‘,
'auth.bruteforce.protection.enabled' => 'false',
'trusted_domains' =>
array (
0 => 'cloud.dogan.ch',
),
'datadirectory' => '/var/nextcloud/data',
'overwrite.cli.url' => 'https://cloud.example.com/owncloud',
'dbtype' => 'mysql',
'version' => '11.0.2.7',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => ‚********‘,
'dbpassword' => ‚******‘,
'logtimezone' => 'Europe/Zurich',
'log_rotate_size' => '104857600',
'memcache.local' => '\\OC\\Memcache\\APCu',
'installed' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'php',
'mail_domain' => ‚example.com‘,
'maintenance' => false,
'loglevel' => 2,
);
Probably something is still not all right.