CSF stopped blocking temp nor perm

Post Reply
inzaghi89
Junior Member
Posts: 1
Joined: 17 Jun 2023, 20:38

CSF stopped blocking temp nor perm

Post 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.
Firewalls4Life
Junior Member
Posts: 73
Joined: 21 Nov 2011, 18:43

Re: CSF stopped blocking temp nor perm

Post 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
.
Post Reply