🔗 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 中的基本新功能
- 连接固定(用于 NTLM 认证直通)
- 原生 IPv6
- 服务质量 (QoS) 流支持
- 原生内存缓存
- SSL 穿透(用于 HTTPS 过滤和适配)
- TProxy v4.1+ 支持
- eCAP 适配模块支持
- 错误页面本地化
- 跟踪 X-Forwarded-For 支持
- X-Forwarded-For 选项扩展(截断、删除、透明)
- Peer-Name ACL
- 回复头到外部 ACL。
- ICAP 和 eCAP 日志记录
- ICAP 服务集和链
- ICY (SHOUTcast) 流协议支持
- 到 Web 服务器和对等节点的连接上的 HTTP/1.1 支持
从 3.1.9 版本开始
- Solaris /dev/poll 支持
从 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 版本开始,已经进行了大量配置清理工作,以使配置更加简单。
此最小配置不适用于 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