🔗 缓存 AV 更新
作者:Yuri Voinov
🔗 目录
最常见的任务之一是缓存 AV(防病毒)更新。
🔗 用法
为此,您可以修改 Squid 的 refresh_pattern。
🔗 Squid 配置文件
像这样粘贴配置文件
# AV updates
refresh_pattern -i \.symantecliveupdate\.com\/.*\.(zip|7z|irn|[m|x][0-9][0-9]) 4320 100% 43200 reload-into-ims
refresh_pattern -i .*dnl.*\.geo\.kaspersky\.(com|ru)\/.*\.(zip|avc|kdc|nhg|klz|d[at|if]) 4320 100% 43200 reload-into-ims
refresh_pattern -i \.kaspersky-labs\.(com|ru)\/.*\.(cab|zip|exe|ms[i|p]) 4320 100% 43200 reload-into-ims
refresh_pattern -i \.kaspersky\.(com|ru)\/.*\.(cab|zip|exe|ms[i|p]|avc) 4320 100% 43200 reload-into-ims
refresh_pattern -i .update\.geo\.drweb\.com 4320 100% 43200 reload-into-ims
refresh_pattern -i \.avast.com\/.*\.(vp[u|aa]) 4320 100% 43200 reload-into-ims
refresh_pattern -i \.avg.com\/.*\.(bin) 4320 100% 43200 reload-into-ims
⚠️ Disclaimer: Any example presented here is provided "as-is" with no support
or guarantee of suitability. If you have any further questions about
these examples please email the squid-users mailing list.
类别: ConfigExample
导航: 站内搜索, 站点页面, 类别, 🔼 向上