Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 2272323004: Add UMA histogram for Expect-CT header processing (Closed)

Created:
4 years, 3 months ago by estark
Modified:
4 years, 3 months ago
Reviewers:
eroman, jwd, Eran Messeri
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA histogram for Expect-CT header processing This CL adds a histogram to record the result of processing an Expect-CT header. (An Expect-CT header tells Chrome that the site wants to receive reports whenever a connection does not comply with Chrome CT policy.) For example, a header might be received but thrown out because the site was not on the preload list, or it might be ignored because the site complied with the CT policy. This histogram will help us sanity-check server-side metrics. (In particular, we aren't receiving any reports -- we'd like to sanity check that that is because Chrome users are always getting CT-compliant connections, and not because there is a bug in report-sending or Expect-CT header-serving.) This will also give us an easy way to estimate worst-case traffic on the report collection server (if we know how many users are seeing Expect-CT headers, we can estimate the number of reports that would be sent if a large-scale misconfiguration made an Expect-CT site non-compliant.) BUG=638871 Committed: https://crrev.com/d7ef7ecd31c1a7a6cbbe054445e96ca5130a0f1d Cr-Commit-Position: refs/heads/master@{#414940}

Patch Set 1 #

Total comments: 4

Patch Set 2 : eroman comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -13 lines) Patch
M net/http/transport_security_state.cc View 1 1 chunk +44 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
estark
eroman, can you please review //net? jwd, can you please review histograms.xml?
4 years, 3 months ago (2016-08-25 23:28:55 UTC) #4
estark
+eranm as well
4 years, 3 months ago (2016-08-25 23:29:08 UTC) #6
eroman
nit in CL description " or it might be ignore because" --> " or it ...
4 years, 3 months ago (2016-08-25 23:34:03 UTC) #7
estark
On 2016/08/25 23:34:03, eroman wrote: > nit in CL description " or it might be ...
4 years, 3 months ago (2016-08-25 23:36:21 UTC) #9
eroman
lgtm https://codereview.chromium.org/2272323004/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2272323004/diff/1/net/http/transport_security_state.cc#newcode1298 net/http/transport_security_state.cc:1298: // histogrammed, so do not reorder or remove ...
4 years, 3 months ago (2016-08-25 23:39:31 UTC) #10
jwd
LGTM with eroman@'s comments
4 years, 3 months ago (2016-08-26 20:20:18 UTC) #13
estark
Thanks, both! https://codereview.chromium.org/2272323004/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2272323004/diff/1/net/http/transport_security_state.cc#newcode1298 net/http/transport_security_state.cc:1298: // histogrammed, so do not reorder or ...
4 years, 3 months ago (2016-08-27 15:20:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2272323004/20001
4 years, 3 months ago (2016-08-27 15:20:17 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-27 16:43:28 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 16:45:08 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d7ef7ecd31c1a7a6cbbe054445e96ca5130a0f1d
Cr-Commit-Position: refs/heads/master@{#414940}

Powered by Google App Engine
This is Rietveld 408576698