[Solved] pfBlockerNG-devel Not Downloading ASN Information
-
yes it works
-
@jrey said in [Solved] pfBlockerNG-devel Not Downloading ASN Information:
/usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php asn_shell
What file or function actually calls this? I restored a config back to fresh 24.11 install. Most of the lists repopulated but asn did not.
I updated to the latest pfblockerng_dev version, ran a forced update, still no asn entries. Running the above command manually did repopulate.
-
The ASN will likely only repopulate when the scheduled front job downloads the master list. It is a different cron job than what is controlled or scheduled through the GUI for updating various lists. the cron job referenced is also scheduled for a random time.
If the ASN master is not downloading, you should check the the key is still valid (exists) or the download will fail -- look in the extras.log for errors related to the ASN master download..
It works differently now - before each ASN download went directly to the internet for the file every time cron job updated a list containing an ASN
not the Master ASN data is loaded once per day (based again on the different cron job, random time) --- from then on any update like a force update will load the ASN data from the local master file.
-
@jrey Thank you for clarifying.
The asn is downloading (I did have to do the above shell command to force it first time), but the expectation was it would download immediately upon a first save or update that included asn.
Once primed, once per day more than enough. After all, how often do asn assignments actually get changed?