Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index bba0069b55ea8d66ca9883825aac51903da77ba4..c23c88c6f70a56ecf0bb8c78fd8f980792e8c680 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -2969,6 +2969,228 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="DataReductionProxy.HTTPHeaderTamperDetected"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. We add tamper |
+ detect logic and thus some of the response will be checked for tampered or |
+ not. This histogram counts the number of responses we checked, for HTTP |
+ traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ChromeProxy"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on Chrome-Proxy header field. The buckets are |
+ MCC (mobile country code) and MNC (mobile network code). This histogram is |
+ for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ContentLength_CSS"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the CSS |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ContentLength_Image"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the image |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ContentLength_JS"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the JavaScript |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ContentLength_Other"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the other types |
+ of responses. The buckets are MCC (mobile country code) and MNC (mobile |
+ network code). This histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_ontentLength"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the response. |
+ The buckets are MCC (mobile country code) and MNC (mobile network code). |
+ This histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_OtherHeaders"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the values of a predefined header list. The |
+ buckets are MCC (mobile country code) and MNC (mobile network code). This |
+ histogram is for HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPHeaderTampered_Via"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. A standard |
+ middlebox or proxy should append its name in Via header, after data |
+ reduction proxy's tag. This histogram counts the number of response that |
+ have some proxy occurs after data reduction proxy. The buckets are MCC |
+ (mobile country code) and MNC (mobile network code). This histogram is for |
+ HTTP traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTamperDetected"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ For HTTPS traffic, middleboxes cannot easily tamper response sent by data |
+ reduction proxy; the tampering for HTTPS traffic means man-in-the-middle- |
+ attack. We add tamper detect logic and thus some of the response will be |
+ checked for tampered or not. This histogram counts the number of responses |
+ we checked, for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ChromeProxy"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ For HTTPS traffic, middleboxes cannot easily tamper response sent by data |
+ reduction proxy; the tampering for HTTPS traffic means man-in-the-middle- |
+ attack. This histogram counts the tampering happend on Chrome-Proxy header |
+ field. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ContentLength"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the response. |
+ The buckets are MCC (mobile country code) and MNC (mobile network code). |
+ This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ContentLength_CSS"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the CSS |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ContentLength_Image"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the image |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ContentLength_JS"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the JavaScript |
+ responses. The buckets are MCC (mobile country code) and MNC (mobile network |
+ code). This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_ContentLength_Other"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the Content-Length field of the other types |
+ of responses. The buckets are MCC (mobile country code) and MNC (mobile |
+ network code). This histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_OtherHeaders"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. This histogram |
+ counts the tampering happend on the values of a predefined header list. The |
+ buckets are MCC (mobile country code) and MNC (mobile network code). This |
+ histogram is for HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DataReductionProxy.HTTPSHeaderTampered_Via"> |
+ <owner>xingx@chromium.org</owner> |
+ <owner>bolian@chromium.org</owner> |
+ <owner>bengr@chromium.org</owner> |
+ <summary> |
+ Middleboxes may tamper response sent by data reduction proxy. A standard |
+ middlebox or proxy should append its name in Via header, after data |
+ reduction proxy's tag. This histogram counts the number of response that |
+ have some proxy occurs after data reduction proxy. The buckets are MCC |
+ (mobile country code) and MNC (mobile network code). This histogram is for |
+ HTTPS traffic only. |
+ </summary> |
+</histogram> |
+ |
<histogram name="DataReductionProxy.ProbeURL" |
enum="DataReductionProxyProbeURLFetchResult"> |
<owner>bengr@chromium.org</owner> |