Good morning,
We currently have a custom blocklist and we managed to implement a webui for asking an unblock. But as the blocklist can only be reloaded each 3600s, the user have to wait a maximum time of 3600s to get unblocked.
Is there a way to trigger a blocklist reload within CSF/LFD from SSH? In this way we'll be able to unblock instantly an user.
How to force to reload a blocklist?
Re: How to force to reload a blocklist?
yes, in CSF are the instructions for this:
# After making any changes to this file you must restart csf and then lfd
#
# If you want to redownload a blocklist you must first delete
# /var/lib/csf/csf.block.NAME and then restart csf and then lfd
Re: How to force to reload a blocklist?
You're welcome.
Re: How to force to reload a blocklist?
Confused could use some help.
The instructions state:
Does that mean they were or were not upgraded/reloaded?
I simply want to automate new lists downloads and it's hard fo find out how to this specific task.
Thank you!
The instructions state:
That's easy enough to understand but when I simply re-start csf/lfd without deleting anything beforehand, I'm seeing new timestampts on the files.# After making any changes to this file you must restart csf and then lfd
#
# If you want to redownload a blocklist you must first delete
# /var/lib/csf/csf.block.NAME and then restart csf and then lfd
Does that mean they were or were not upgraded/reloaded?
I simply want to automate new lists downloads and it's hard fo find out how to this specific task.
Thank you!