Page 1 of 1

How to rest MD5SUMs of dirwatch

Posted: 30 Apr 2018, 02:58
by Spork Schivago
Hello,

Is there a way to reset the database that stores the hashes of the files (or directories) listed in the /etc/csf.dirwatch file?

We're working on our site again, and will be continuing to work on it. However, when we make changes, we'd like to inform csf / lfd about the changes so it doesn't send us an email every day stating that the directory contents changed.

Thanks!

Re: How to rest MD5SUMs of dirwatch

Posted: 06 May 2018, 23:35
by Spork Schivago
I believe I figured out how to do it. I moved (just in case it was wrong) /var/lib/csf/csf.tempwatch

Hopefully that worked. After restarting csf, it see it regenerated the file with the MD5 checksums, however, it did not seem to change any of the actual checksums.

How does one go about forcing csf to redownload the blocklists? I was informed by cPanel that Project Honeypot now uses an invalid certificate, one from Symantec or Norton. I guess major browsers removed them from the certificate store, so any SSL certs from them are now null and void. I think it was cPanel who told me this. It could have been my hosting provider, Linode. They're pretty good at looking into things for me as well.

I removed the https from the honeypot link and changed it to http.

I want to see if that works. I found instructions and they said just delete the /var/lib/csf.block.HONEYPOT and restart csf. I did that with a

Code: Select all

csf -ra
But I see the /var/lib/csf.block.HONEYPOT isn't back yet.

Thanks!