Update of blocklist file

Post Reply
dalomi
Junior Member
Posts: 2
Joined: 15 Mar 2023, 18:54

Update of blocklist file

Post by dalomi »

Hello,

I recently enabled the ipsum blocklist (which seems to be updated regularly) inside csf.blocklists,
which for now seems to be working, but from what I understood, the ip lookup happens in the generated csf.block.blocklistname file inside "/var/lib/csf" folder.
So it happened that this file didn't update on a daily basis, but the public list on the web did, which makes the detection of bad ip's not very accurate.
Is it necessary to create any cronjob which updates (or redownloads) the list from the public url?
Not sure how often the list inside /var/lib/csf would be updated, but a manual deletion and restart of CSF+LDF everytime isn't a suitable solution.
Maybe someone can give any input on this.

Many thanks!
dalomi
Junior Member
Posts: 2
Joined: 15 Mar 2023, 18:54

Re: Update of blocklist file

Post by dalomi »

Found the answer myself. It seems default downloads are every 24h. Didn't know that inside the line in csf.blocklists, the download interval is specified like:
SPAMLISTNAME|86400(download interval, 24h in this case)|0|URL
Post Reply