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

    HAVP

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.3k Views
    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.
    • L
      LostInIgnorance
      last edited by

      I can't seem to get a consistent file type for the AV database files.  Sometimes the update downloads cvd files, yet other times it downloads cld files.  I can't get consistancy enough so it loads correctly on the AV database widget.  The only way I was able to accomplish it was to add both file names into the list and the one that it is, load the info, the one that is not the same, doesn't load the info.

      From:

      
      function dwg_avbases_info()
      {
          $db  = '';
          $db .= '';
          $db .= havp_avdb_info("daily.cvd");
          $db .= havp_avdb_info("bytecode.cvd");
          $db .= havp_avdb_info("main.cvd");
          $db .= havp_avdb_info("safebrowsing.cvd");
          $db .= '
      
      | Database | Date | Ver. | Signatures | Builder |
      
      ';
          return $db;
      }
      

      To:

      function dwg_avbases_info()
      {
          $db  = '';
          $db .= '';
          $db .= havp_avdb_info("bytecode.cld");
          $db .= havp_avdb_info("bytecode.cvd");
          $db .= havp_avdb_info("daily.cld");
          $db .= havp_avdb_info("daily.cvd");
          $db .= havp_avdb_info("main.cld");
          $db .= havp_avdb_info("main.cvd");
          $db .= havp_avdb_info("safebrowsing.cld");
          $db .= havp_avdb_info("safebrowsing.cvd");
          $db .= '
      
      | Database | Date | Ver. | Signatures | Builder |
      
      ';
          return $db;
      }
      
      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        http://www.gossamer-threads.com/lists/clamav/users/39516

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

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