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

    Ghost WAN traffic when enable Cache Dynamic Content

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 754 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.
    • A
      Abhishek
      last edited by

      
      #range_offset_limit 0;
      refresh_pattern ([^.]+.|)(download|(windows|)update|).(microsoft.|)com/.*\.(cab|exe|msi|msp) 4320 100% 43200 reload-into-ims;
      refresh_pattern -i microsoft.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
      refresh_pattern -i windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
      refresh_pattern -i my.windowsupdate.website.com/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims;
      
      refresh_pattern ([^.]+.|)avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims;
      refresh_pattern ([^.]+.|)spywareblaster.net/.*\.(dtb) 4320 100% 64800 reload-into-ims;
      refresh_pattern ([^.]+.|)symantecliveupdate.com/.*\.(zip|exe) 43200 100% 43200 reload-into-ims
      refresh_pattern ([^.]+.|)avast.com/.*\.(vpu|vpaa) 4320 100% 43200 reload-into-ims
      
      

      50 Hosts
      PFsense as Routing /Firewall / Proxy Non transparent / cache server

      i am winding WAN traffic in traffic real time display but no LAN traffic , i guess its due to caching some files like windows update

      i would like caching to stop auto download when client stops downloading or cancels download

      also can anyone explain 4320 100% 43200 reload-into-ims;  means ? like value 4320  , 100% , 43200 what does these value means

      2.3-RC (amd64)
      built on Mon Apr 04 17:09:32 CDT 2016
      FreeBSD 10.3-RELEASE
      Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz

      darkstat 3.1.2_1
      Lightsquid 3.0.3_1
      mailreport 3.0_1
      pfBlockerNG 2.0.9_1  
      RRD_Summary 1.3.1_2
      snort 3.2.9.1_9  
      squid 0.4.16_1  
      squidGuard 1.14_1
      syslog-ng 1.1.2_2

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

        i am winding WAN traffic in traffic real time display but no LAN traffic

        This is a problem with Squid and dynamic content.  For each smaller segment of a file that your system requests, squid will download the entire file.  This means taht for 100MB of LAN traffic, you may be downloading more than 1 GB.  I don't know how to fix that.  I usually disable Dynamic Content in Squid.

        also can anyone explain 4320 100% 43200 reload-into-ims;  means ?

        http://www.squid-cache.org/Doc/config/

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