Squid Web Cache Wiki

Squid Web Cache 文档

🔗 Squid 3.2

   
今天 Squid-3.2 被安全人员认定为存在严重风险。由于存在未修复的漏洞 CVE-2014-7141CVE-2014-7142CVE-2014-6270CVE-2014-3609CVE-2014-0128 以及其他近期发现的问题。
2013年2月 随着 Squid-3.3 系列的发布,Squid-3.2 系列已被弃用
2012 年 8 月 发布用于生产环境。

功能已经确定,大规模的代码修改将留待后续版本。

新增功能仅限于

此版本中从 2.7 移植的功能

3.2 中的基本新功能

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

🔗 Security Advisories

See our Advisories list.

🔗 Open Bugs

🔗 Squid-3.2 默认配置

从 3.2 开始,进一步进行了配置清理,使事情更简单、更安全。manager、localhost 和 to_localhost ACL 定义现在是内置的。

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 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
导航: 站点搜索站点页面分类🔼 向上