Squid configuration for cache Antivirus Updates | AVG | Kaspersky | Norton | Avira | Trend Micro | Microsoft updates


Squid configuration for cache Antivirus Updates

To cache the Antivirus update files in squid cache, you have to add the below refresh rules in squid config file.
So that squid will prevent the users downloading directly from net and it will allow users to download the updates from squid cache.

#vim /etc/squid/squid.conf

For AVG add the below lines:

refresh_pattern guru.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims;
refresh_pattern bguru.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims;
refresh_pattern af.avg.com/.*\.(bin) 4320 100% 43200 reload-into-ims;








For other anit virus updates, you can replace the download URL with that particular url.

Microsoft updates:
 To cache Microsoft updates, add the below lines in the squid config file


refresh_pattern mbam-cdn.malwarebytes.org/.*\.(exe) 4320 100% 43200 reload-into-ims;
refresh_pattern data-cdn.mbamupdates.com/.*\.(ref) 4320 100% 43200 reload-into-ims;


-----------------------------------------------------------------------------------------------------------



FOLLOW US :-    
   





0 comments :

Post a Comment