{"id":115,"date":"2017-10-13T06:46:00","date_gmt":"2017-10-13T06:46:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/squid-configuration-for-cache-antivirus"},"modified":"2017-10-13T10:52:42","modified_gmt":"2017-10-13T10:52:42","slug":"squid-configuration-for-cache-antivirus","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/squid\/squid-configuration-for-cache-antivirus","title":{"rendered":"Squid Cache refresh_pattern for Antivirus Windows Updates"},"content":{"rendered":"<p>Squid Cache <b>refresh_pattern <\/b>configuration for Antivirus Updates for AVG Kaspersky Norton Avira Trend Micro Microsoft updates<\/p>\n<h2><u><b>Squid refresh_pattern for AVG Kaspersky<br \/>\n<\/b><\/u><\/h2>\n<p>To cache the Antivirus update files in squid cache, you have to add the below refresh rules in squid config file.<br \/>\nSo that squid will prevent the users downloading directly from net and it will allow users to download the updates from squid cache.<\/p>\n<p><b style=\"background-color: #cccccc;\">#vim \/etc\/squid\/squid.conf<\/b><\/p>\n<p><b>For AVG add the below lines:<\/b><\/p>\n<div style=\"background-color: #cccccc;\"><b>refresh_pattern guru.avg.com\/.*.(bin) 4320 100% 43200 reload-into-ims;<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>refresh_pattern bguru.avg.com\/.*.(bin) 4320 100% 43200 reload-into-ims;<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>refresh_pattern af.avg.com\/.*.(bin) 4320 100% 43200 reload-into-ims;<\/b><\/div>\n<p>&nbsp;<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"squid-configuration-for-cache-antivirus\" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2011\/05\/squid-AVG-cache-webmin-config-.jpg\" alt=\"squid-configuration-for-cache-antivirus\" width=\"500\" height=\"106\" border=\"0\" \/><\/div>\n<p>For other anit virus updates, you can replace the download URL with that particular url.<\/p>\n<h3><u><b>Squid cache for <\/b><\/u><span style=\"text-decoration: underline;\"><b>Microsoft updates<\/b><\/span><\/h3>\n<p><b><\/b><br \/>\nTo cache Microsoft updates, add the below lines in the squid config file<br \/>\n<b><br \/>\n<\/b><\/p>\n<div style=\"background-color: #cccccc;\"><b>refresh_pattern mbam-cdn.malwarebytes.org\/.*.(exe) 4320 100% 43200 reload-into-ims;<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>refresh_pattern data-cdn.mbamupdates.com\/.*.(ref) 4320 100% 43200 reload-into-ims; <\/b><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Squid Cache refresh_pattern configuration for Antivirus Updates for AVG Kaspersky Norton Avira Trend Micro Microsoft updates Squid refresh_pattern for AVG Kaspersky To cache the Antivirus update files in squid cache,&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/squid\/squid-configuration-for-cache-antivirus\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":291,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[134,84],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/115"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":721,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/115\/revisions\/721"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media\/291"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}