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

    Refresh pattern error

    Cache/Proxy
    2
    3
    968
    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.
    • A
      autotalon
      last edited by

      Hey all, I've been doing some testing of Squid3 caching windows updates here.  I have a virtual test network set up and I followed the wiki page for the most part to set it up.  I added the refresh patterns to the relevant portion of the config on my test router, and tested it and it's working as intended.  However, i tried to duplicate this on a production router (which was running 2.1 originally and I upgraded) and I get the following error in the cache.log.  Squid seems to do no filtering at all though, and i'm not sure why.  Everything I can see is the same in regards to the squid setup.  Here's the error:

      
      2015/07/16 10:01:14| pinger: Initialising ICMP pinger ...
      2015/07/16 10:01:38 kid1| refreshAddToList: Unknown option '([^.]+\.)?(download|(windows)?update)\.(microsoft\.)?com/.*\.(cab|exe|msi|msp|psf)': reload-into-ims;
      2015/07/16 10:01:38 kid1| refreshAddToList: Unknown option '([^.]+\.)?(download|(windows)?update)\.(microsoft\.)?com/.*\.(cab|exe|msi|msp|psf)': range_offset_limit
      2015/07/16 10:01:38 kid1| refreshAddToList: Unknown option '([^.]+\.)?(download|(windows)?update)\.(microsoft\.)?com/.*\.(cab|exe|msi|msp|psf)': -1;
      2015/07/16 10:01:38| pinger: Initialising ICMP pinger ...
      
      

      The odd thing is this exact same setup works just fine in the test router.  I'm not sure what the deal is.  Any suggestions would be appreciated.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        The version of Squid in 2.2.x was bumped to 3.4.  It's possible that some of your directives aren't supported under the older squid.

        1 Reply Last reply Reply Quote 0
        • A
          autotalon
          last edited by

          Hmm I'll compare package versions and see if that figures in.

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