Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Solved] pfBlockerNG-devel Not Downloading ASN Information

    pfBlockerNG
    5
    24
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Barmaleyster @FCS001FCS
      last edited by

      @FCS001FCS

      yes it works

      1 Reply Last reply Reply Quote 1
      • GPz1100G
        GPz1100 @jrey
        last edited by

        @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.

        J 1 Reply Last reply Reply Quote 0
        • J
          jrey @GPz1100
          last edited by

          @GPz1100

          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.

          GPz1100G 1 Reply Last reply Reply Quote 0
          • GPz1100G
            GPz1100 @jrey
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.