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

Issue 14125003: Do not roll back to SSL 3.0 for Google properties. (Closed)

Created:
7 years, 8 months ago by thaidn_google
Modified:
7 years, 8 months ago
Reviewers:
Lei Zhang, wtc, agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, balfanz_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Do not roll back to SSL 3.0 for Google properties. SSL 3.0 fallback for Google properties can be enabled again with --enable-unrestricted-ssl3-fallback. Delete the obsolete SSL 3.0 fallback on TLS decompression failure. BUG=230171 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195335

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add command line switches to control the enforcement and learning of minimum SSL versions. #

Patch Set 3 : Remove learning mode. Enforce TLS for Google's properties. #

Total comments: 21

Patch Set 4 : disable #

Total comments: 26

Patch Set 5 : Adress rsleevi and agl's comments. #

Patch Set 6 : Cleanup #

Total comments: 20

Patch Set 7 : Address rsleevi's comments. #

Patch Set 8 : Cleanup before sending for reviews. #

Total comments: 17

Patch Set 9 : Final touch. #

Patch Set 10 : Address wtc's comments. #

Patch Set 11 : Cleanup before landing(?). #

Total comments: 10

Patch Set 12 : Change flag to --enable-ssl3-fallback #

Patch Set 13 : Fix a bug that prevents TLS 1.1 -> TLS 1.0 fallback. #

Total comments: 28

Patch Set 14 : Change switch to --enable-unrestricted-ssl3-fallback; Remove obsolete TLS decompression test cases. #

Total comments: 6

Patch Set 15 : Cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -265 lines) Patch
M chrome/browser/net/ssl_config_service_manager_pref.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/net/ssl_config_service_manager_pref_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +30 lines, -31 lines 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -115 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -115 lines 0 comments Download
A net/http/http_network_transaction_ssl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +292 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M net/ssl/ssl_config_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -0 lines 0 comments Download
M net/ssl/ssl_config_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -2 lines 0 comments Download
M net/ssl/ssl_config_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
thaidn_google
Hi Adam, This CL implements "The client MUST NOT roll back to an older version ...
7 years, 8 months ago (2013-04-11 01:14:03 UTC) #1
thaidn_google
Some explanations and questions. https://codereview.chromium.org/14125003/diff/1/chrome/browser/net/transport_security_persister.h File chrome/browser/net/transport_security_persister.h (right): https://codereview.chromium.org/14125003/diff/1/chrome/browser/net/transport_security_persister.h#newcode80 chrome/browser/net/transport_security_persister.h:80: // "ssl_version": integer should be ...
7 years, 8 months ago (2013-04-11 01:31:52 UTC) #2
agl
This is a fairly aggressive change, but perhaps it would be interesting to dip our ...
7 years, 8 months ago (2013-04-11 13:48:57 UTC) #3
thaidn_google
Adam, I've added a switch to control the enforcement of minimum SSL versions for preloaded ...
7 years, 8 months ago (2013-04-12 09:08:46 UTC) #4
agl
Since it's unclear whether requiring >= TLS 1.0 for Google sites is feasible, this isn't ...
7 years, 8 months ago (2013-04-12 14:32:52 UTC) #5
thaidn_google
On 2013/04/12 14:32:52, agl wrote: > Since it's unclear whether requiring >= TLS 1.0 for ...
7 years, 8 months ago (2013-04-12 20:29:49 UTC) #6
agl
On Fri, Apr 12, 2013 at 4:29 PM, <thaidn@google.com> wrote: > Okay. I don't think ...
7 years, 8 months ago (2013-04-12 20:31:15 UTC) #7
thaidn_google
Adam, I've made the changes that you suggested. Please review PS 3. Cheers Thai.
7 years, 8 months ago (2013-04-12 23:30:02 UTC) #8
agl
https://codereview.chromium.org/14125003/diff/19001/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc File chrome/browser/net/ssl_config_service_manager_pref_unittest.cc (right): https://codereview.chromium.org/14125003/diff/19001/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc#newcode227 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc:227: // * |ssl_version_min_learning_enabled| is false. This comment line looks ...
7 years, 8 months ago (2013-04-15 15:23:51 UTC) #9
agl
p.s. needs a change description.
7 years, 8 months ago (2013-04-15 15:24:05 UTC) #10
agl
Chris makes a good point on the bug: there may be MITM proxies that only ...
7 years, 8 months ago (2013-04-15 15:27:47 UTC) #11
Ryan Sleevi
https://codereview.chromium.org/14125003/diff/19001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/14125003/diff/19001/net/http/http_network_transaction.cc#newcode190 net/http/http_network_transaction.cc:190: if (TransportSecurityState::IsGooglePinnedProperty(host, sni_available)) { nit: net/ style is to ...
7 years, 8 months ago (2013-04-15 18:03:28 UTC) #12
thaidn_google
Thanks for the reviews, Adam and Ryan! I've made the changes that you suggested. I ...
7 years, 8 months ago (2013-04-16 00:38:16 UTC) #13
thaidn_google
https://codereview.chromium.org/14125003/diff/5003/net/http/http_network_transaction_ssl_unittest.cc File net/http/http_network_transaction_ssl_unittest.cc (right): https://codereview.chromium.org/14125003/diff/5003/net/http/http_network_transaction_ssl_unittest.cc#newcode33 net/http/http_network_transaction_ssl_unittest.cc:33: net::test_spdy3::SpdySessionDependencies session_deps; Please let me know if you think ...
7 years, 8 months ago (2013-04-16 00:39:11 UTC) #14
agl
I think this is pretty close to landing, although rsleevi should take a look first. ...
7 years, 8 months ago (2013-04-16 15:19:23 UTC) #15
Ryan Sleevi
https://codereview.chromium.org/14125003/diff/5003/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/14125003/diff/5003/chrome/common/chrome_switches.cc#newcode324 chrome/common/chrome_switches.cc:324: // For preloaded Google's properties the minimum version will ...
7 years, 8 months ago (2013-04-16 19:55:26 UTC) #16
thaidn_google
agl, rsleevi: thanks for the reviews. I've made all the changes that you suggest. Please ...
7 years, 8 months ago (2013-04-17 00:46:17 UTC) #17
Ryan Sleevi
Apologies for the back-and-forth, but I'm trying to make sure I pay close attention to ...
7 years, 8 months ago (2013-04-17 01:16:36 UTC) #18
thaidn_google
Ryan, Thanks for the thorough review. I've learned a lot from your comments. I've revised ...
7 years, 8 months ago (2013-04-17 04:34:47 UTC) #19
Ryan Sleevi
Mod nits, I think this LGTM. Adam or Wan-Teh, I wasn't sure if you wanted ...
7 years, 8 months ago (2013-04-17 18:01:27 UTC) #20
wtc
Review comments on patch set 8: I reviewed the CL before you uploaded patch set ...
7 years, 8 months ago (2013-04-17 19:49:50 UTC) #21
thaidn_google
Will address wtc@'s comments in a follow up PS. https://codereview.chromium.org/14125003/diff/74001/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): https://codereview.chromium.org/14125003/diff/74001/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode67 chrome/browser/net/ssl_config_service_manager_pref.cc:67: ...
7 years, 8 months ago (2013-04-17 20:14:39 UTC) #22
thaidn_google
wtc: please take another look. https://codereview.chromium.org/14125003/diff/74001/chrome/browser/net/ssl_config_service_manager_pref.cc File chrome/browser/net/ssl_config_service_manager_pref.cc (right): https://codereview.chromium.org/14125003/diff/74001/chrome/browser/net/ssl_config_service_manager_pref.cc#newcode310 chrome/browser/net/ssl_config_service_manager_pref.cc:310: version_max_str); On 2013/04/17 19:49:50, ...
7 years, 8 months ago (2013-04-17 22:16:07 UTC) #23
wtc
Review comments on patch set 11: this still needs work. https://codereview.chromium.org/14125003/diff/87004/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc File chrome/browser/net/ssl_config_service_manager_pref_unittest.cc (right): https://codereview.chromium.org/14125003/diff/87004/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc#newcode226 ...
7 years, 8 months ago (2013-04-17 23:22:05 UTC) #24
thaidn_google
https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (left): https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc#oldcode1221 net/http/http_network_transaction.cc:1221: case ERR_SSL_VERSION_OR_CIPHER_MISMATCH: On 2013/04/17 23:22:05, wtc wrote: > > ...
7 years, 8 months ago (2013-04-18 00:05:50 UTC) #25
wtc
Patch set 13 LGTM. The main issue is that I still find "ssl3_fallback_enabled" confusing. I ...
7 years, 8 months ago (2013-04-18 18:15:34 UTC) #26
wtc
https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc#newcode1243 net/http/http_network_transaction.cc:1243: if (version_max == SSL_PROTOCOL_VERSION_SSL3 && On 2013/04/18 00:05:50, thaidn_google ...
7 years, 8 months ago (2013-04-18 18:23:09 UTC) #27
thaidn_google
wtc: I've addressed your comments. Please take another look. There is one problem: looks like ...
7 years, 8 months ago (2013-04-19 01:20:43 UTC) #28
thaidn_google
On 2013/04/18 18:23:09, wtc wrote: > https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc > File net/http/http_network_transaction.cc (right): > > https://codereview.chromium.org/14125003/diff/87004/net/http/http_network_transaction.cc#newcode1243 > ...
7 years, 8 months ago (2013-04-19 01:37:46 UTC) #29
thaidn_google
I mark a few unrelated changes that may be confusing. https://codereview.chromium.org/14125003/diff/92003/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/14125003/diff/92003/net/http/http_network_transaction.cc#newcode1084 ...
7 years, 8 months ago (2013-04-19 01:42:55 UTC) #30
agl
LGTM. There's some diff noise (I'm assuming), but I'm ignoring that. One tiny typo. Will ...
7 years, 8 months ago (2013-04-19 14:41:52 UTC) #31
wtc
Patch set 14 LGTM. Thanks! Please make the changes Adam and I suggested in the ...
7 years, 8 months ago (2013-04-19 17:45:17 UTC) #32
wtc
On 2013/04/19 01:20:43, thaidn_google wrote: > > There is one problem: looks like I messed ...
7 years, 8 months ago (2013-04-19 18:01:43 UTC) #33
thaidn_google
Thanks for the review, guys! Please commit it for me. https://codereview.chromium.org/14125003/diff/107001/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc File chrome/browser/net/ssl_config_service_manager_pref_unittest.cc (right): https://codereview.chromium.org/14125003/diff/107001/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc#newcode226 ...
7 years, 8 months ago (2013-04-19 18:21:11 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thaidn@google.com/14125003/113002
7 years, 8 months ago (2013-04-19 18:23:43 UTC) #35
commit-bot: I haz the power
Presubmit check for 14125003-113002 failed and returned exit status 1. INFO:root:Found 17 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-19 18:23:51 UTC) #36
wtc
thestig: could you review the changes to src/chrome in this CL or recommend another reviewer ...
7 years, 8 months ago (2013-04-19 18:29:36 UTC) #37
Lei Zhang
lgtm
7 years, 8 months ago (2013-04-19 19:14:08 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thaidn@google.com/14125003/113002
7 years, 8 months ago (2013-04-19 19:17:27 UTC) #39
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 23:29:36 UTC) #40
Message was sent while issue was closed.
Change committed as 195335

Powered by Google App Engine
This is Rietveld 408576698