Squid Web Cache Wiki

Squid Web Cache 文档

🔗 Squid 3.1

   
今天 Squid-3.1 被安全部门 **认为存在危险**。由于未修复的漏洞 **CVE-2014-7141, CVE-2014-7142, CVE-2014-6270, CVE-2014-3609, CVE-2014-0128, CVE-2009-0801 以及其他近期发现的问题。
2012 年 8 月 随着 Squid-3.2 系列的发布,Squid-3.1 系列已 **被弃用**。
2010年3月 发布用于生产环境。

功能已设定,代码更改将保留给后续版本。新增功能仅限于 **安全和错误修复**。

3.1 中的基本新功能

从 3.1.9 版本开始

从 3.1.13 版本开始

squid 3.1 源代码包可在 https://squid.org.cn/Versions/v3/3.1/ 获取。

🔗 Security Advisories

See our Advisories list.

🔗 Open Bugs

🔗 Squid-3.1 默认配置

从 3.1 版本开始,已经进行了大量配置清理工作,以使配置更加简单。

:warning: 此最小配置不适用于 3.1 之前的版本,因为这些版本缺少代码中的特殊清理。

http_port 3128

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

acl manager url_regex -i ^cache_object:// +i ^https?://[^/]+/squid-internal-mgr/

acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

acl localnet src 10.0.0.0/8     # RFC 1918 possible internal network
acl localnet src 172.16.0.0/12  # RFC 1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow localnet
http_access deny all
导航: 站点搜索站点页面分类🔼 向上