【发布时间】:2015-07-27 19:35:56
【问题描述】:
例如,当我查看 https://www.facebook.com 的 HTTP 标头时,我发现它们使用了 GZIP 压缩 Content-Encoding: gzip 和 SSL/TLS 流量。
由于 BREACH/CRIME 攻击,这不是一个坏主意吗?
curl -I -H 'Accept-Encoding: gzip,deflate' https://www.facebook.com
HTTP/1.1 200 OK
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Strict-Transport-Security: max-age=15552000; preload
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Type: text/html
Date: Fri, 15 May 2015 18:56:11 GMT
Connection: keep-alive
Content-Length: 15101
根据http://en.wikipedia.org/wiki/BREACH_%28security_exploit%29
【问题讨论】: