Page 1 of 1

CSF stopped blocking temp nor perm

Posted: 17 Jun 2023, 20:48
by inzaghi89
Since latest Ubuntu update (23.04) I've noticed that CSF stopped working correctly. I didn't notice any temp nor perm IP ban. There is also no mail notification about that, but in logfile I see that there is many same connections which are refused after some time/connections. I'm really not sure WHERE is the problem, because before update all seems work well. There is no new changes in configuration (both server, services and csf), so I'm here with question - whats wrong? :D

I've tried reinstallation csf, no success. Fresh config - no success... I've no idea what to do next.

Also LFD sends tons of mails that syslog check failed and logscanner error. I've do some research on forum and someone has told to disable syslog check - ok, but before april update that works.

Re: CSF stopped blocking temp nor perm

Posted: 18 Aug 2023, 19:58
by Firewalls4Life
I'm also seeing this symptom but on RHEL 7.9.

I've noticed that my services aren't restarting when

Code: Select all

CSF -ra
reports that they were restarted. Checking how long ago the services were restarted show that they never correctly stopped and started;

Code: Select all

systemctl status csf.service
and

Code: Select all

systemctl status lfd.service
.

To actually get the services to restart, I'm having to issue the commands:

Code: Select all

systemctl restart 
csf.service and

Code: Select all

systemctl restart lfd.service
.