C
CrowdSec8mo ago
alukas

whitelist from file

Hi all! I have a custom script modifying a whitelist file that can be downloaded from a website. I have set a whitelist up with the data attribute (source_url, dest_file, type) and I'm wondering if it automatically downloads the file periodically, or only whenever crowdsec restarts. Any help is much appreciated.
6 Replies
CrowdSec
CrowdSec8mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
iiamloz
iiamloz8mo ago
if you have installed it on bare metal linux, there is a cron.daily job that runs each day which will attempt to see if the file is out of date, however, it depends on the file headers if there is no X-Modified-Date returned then it will just wait 7 days before downloading it again
alukas
alukasOP8mo ago
thank you very much! is it the script that runs hub update and hub upgrade?
iiamloz
iiamloz8mo ago
yeah from 1.6.5 it now updates local data files as well as "official" hub ones
alukas
alukasOP8mo ago
Thank you very much!
CrowdSec
CrowdSec8mo ago
Resolving whitelist from file This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?