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

[Solved] pfBlockerNG-devel Not Downloading ASN Information

Scheduled Pinned Locked Moved pfBlockerNG
24 Posts 5 Posters 3.9k Views 5 Watching
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 Offline
    Barmaleyster @FCS001FCS
    last edited by Nov 18, 2024, 7:07 PM

    @FCS001FCS

    yes it works

    1 Reply Last reply Reply Quote 1
    • G Offline
      GPz1100 @jrey
      last edited by Jan 4, 2025, 5:39 AM

      @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 Jan 4, 2025, 12:25 PM Reply Quote 0
      • J Offline
        jrey @GPz1100
        last edited by Jan 4, 2025, 12:25 PM

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

        G 1 Reply Last reply Jan 4, 2025, 6:04 PM Reply Quote 0
        • G Offline
          GPz1100 @jrey
          last edited by Jan 4, 2025, 6:04 PM

          @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.
            [[user:consent.lead]]
            [[user:consent.not_received]]