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

    Can't get caching updates working

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.4k 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.
    • N
      noumaz
      last edited by

      Help needed guys

      I can't manage to get caching updates working

      I tried all the solution given in the Squid Package Tuning page and can't get them working

      For example

      When Adding Custom Option to PfSense Squid

      refresh_pattern ([^.]+.|)(download|(windows|)update|).(microsoft.|)com/.*.(cab|exe|msi|msp) 4320 100% 43200 reloadnto-ims;
            range_offset_limit -1;

      I get this in the /var/squid/logs/cache.log file

      redreshAddToList: Unknown option '([^.]+.|)(download|(windows|)update|).(microsoft.|)com/..(cab|exe|msi|msp)': reload-into-ims;
      2014/07/09 13:28:04| squid.conf line 87: refresh_pattern ([^.]+.|)(download|(windows|)update|).(microsoft.|)com/.
      .(cab|exe|msi|msp) 4320 100% 43200 reload-into-ims;
      2014/07/09 13:28:04| refreshAddToList: Invalid regular expression '([^.]+.|)(download|(windows|)update|).(microsoft.|)com/.*.(cab|exe|msi|msp)': empty (sub)expression
      2014/07/09 13:28:04| WARNING: No units on 'range_offset_limit -1;', assuming -1.00 bytes

      other solutions doesn't work also

      any help ?

      1 Reply Last reply Reply Quote 0
      • R
        razblack
        last edited by

        I had to go here to get the full details:

        http://wiki.squid-cache.org/SquidFaq/WindowsUpdate

        not 100% it is actually working as intended with those recommendations as lightsquid logs are not totally clear as to whom is getting a hit on the cache for updates… so ya.  maybe that will help you some.

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