Import access list –> “Error parsing file”
-
Hi,
first of all, I am really happy with this plugin. It’s doing a great job! After putting more and more hacker’s IP addresses on the blacklist I have decreased the number of unauthorised login attempts now to zero within the past 10 days!
To me this means my access list is what I need.
Now, I have started a second wordpress page, which immediately got targeted by hundreds of unauthorised login attempts from Russia and Asia, and therefore I wanted to copy my successful access list from my first site to the new one.
I exported it with the download button on site A and tried to upload it on site B, but I always get the error message “Error parsing file”.
Looking at the exported file, I noticed some HTML fragments at the top of the file:
<br /> <b>Notice</b>: Undefined index: exportset in <b>/home/myusername/htdocs/wp-content/plugins/wp-cerber/cerber-tools.php</b> on line <b>128</b><br />
After these lines follows the regular access list:
{"cerber_version":"4.3","home":"https:\/\/mywebsite","date":"16 Mar 2017 11:25:06","acl":[["213.143.60.*","W",""],["83.*.*.*","B",""],["109.*.*.*","B",""],["194.*.*.*","B",""],["168.*.*.*","B",""] (...)
Removing the HTML tags didn’t help. Still the file cannot be parsed.
So I tried to export the list from site B and imported it again right after that. This worked without error.
Next I tried to paste the list of IP addresses from the config file of site A into the one of site B. But still the file cannot be parsed.
Is there some hash value in the end mark of the file?
If so, the root problem lies, obviously, in the error reported during export.
How do I proceed?
Thank you for suggestions and hints,
Sascha
- The topic ‘Import access list –> “Error parsing file”’ is closed to new replies.