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

Issue 2167363002: Log how often DTLS negotiation failed because of incompatible ciphersuites. (Closed)

Created:
4 years, 5 months ago by Zhi Huang
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Log how often DTLS negotiation failed because of incompatible ciphersuites. Log the DTLS handshake error code in OpenSSLStreamAdapter. Forward the error code to WebRTCSession with the Signals. This part is only for the WebRTC native code. To make it work, need another CL for Chromium. BUG=webrtc:5959 Committed: https://crrev.com/d82eee0675cf971cdc5f02340b5799bb303449e3 Cr-Commit-Position: refs/heads/master@{#13940}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rename the enum, fix small issues. #

Patch Set 3 : fix the in-line destructor related compiling issue. #

Patch Set 4 : Desctructor related compiling error. #

Total comments: 3

Patch Set 5 : Remove the new defined enum. Use the error code in ssl.h directly. #

Total comments: 4

Patch Set 6 : Use enum for handshake error code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -3 lines) Patch
M webrtc/api/umametrics.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/base/opensslstreamadapter.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/base/sslstreamadapter.h View 1 2 3 4 5 3 chunks +7 lines, -3 lines 0 comments Download
M webrtc/base/sslstreamadapter.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportchannelimpl.h View 5 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 5 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
Zhi Huang
I noticed that there are some compiled issues on some of the trybots. The error ...
4 years, 5 months ago (2016-07-21 21:44:44 UTC) #2
skvlad
https://codereview.webrtc.org/2167363002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/2167363002/diff/1/webrtc/api/webrtcsession.cc#newcode2014 webrtc/api/webrtcsession.cc:2014: metrics_observer_->IncrementEnumCounter( Please add a DCHECK(metrics_observer_ != NULL) https://codereview.webrtc.org/2167363002/diff/1/webrtc/base/sslstreamadapter.h File ...
4 years, 5 months ago (2016-07-22 01:25:14 UTC) #3
skvlad
On 2016/07/21 21:44:44, Zhi Huang wrote: > I noticed that there are some compiled issues ...
4 years, 5 months ago (2016-07-22 01:28:08 UTC) #4
honghaiz3
https://codereview.webrtc.org/2167363002/diff/1/webrtc/api/webrtcsession.cc File webrtc/api/webrtcsession.cc (right): https://codereview.webrtc.org/2167363002/diff/1/webrtc/api/webrtcsession.cc#newcode2014 webrtc/api/webrtcsession.cc:2014: metrics_observer_->IncrementEnumCounter( On 2016/07/22 01:25:14, skvlad wrote: > Please add ...
4 years, 5 months ago (2016-07-22 21:35:26 UTC) #5
Zhi Huang
https://codereview.webrtc.org/2167363002/diff/1/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/1/webrtc/base/opensslstreamadapter.cc#newcode859 webrtc/base/opensslstreamadapter.cc:859: if ((err_code = ERR_peek_last_error()) != 0 && On 2016/07/22 ...
4 years, 5 months ago (2016-07-25 17:24:29 UTC) #6
skvlad
lgtm https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc#newcode862 webrtc/base/opensslstreamadapter.cc:862: SignalSSLHandshakeError(ssl_handshake_err); I wonder if it could be better ...
4 years, 4 months ago (2016-07-27 00:29:19 UTC) #7
honghaiz3
https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc#newcode862 webrtc/base/opensslstreamadapter.cc:862: SignalSSLHandshakeError(ssl_handshake_err); On 2016/07/27 00:29:18, skvlad wrote: > I wonder ...
4 years, 4 months ago (2016-07-27 17:11:48 UTC) #8
Zhi Huang
https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/60001/webrtc/base/opensslstreamadapter.cc#newcode862 webrtc/base/opensslstreamadapter.cc:862: SignalSSLHandshakeError(ssl_handshake_err); On 2016/07/27 17:11:48, honghaiz3 wrote: > On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 21:04:14 UTC) #11
honghaiz3
https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/opensslstreamadapter.cc#newcode862 webrtc/base/opensslstreamadapter.cc:862: SignalSSLHandshakeError(err_reason); Should this just be int err_reason = ERR_GET_REASON(err_code); ...
4 years, 4 months ago (2016-07-29 15:49:54 UTC) #12
honghaiz3
lgtm https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/opensslstreamadapter.cc#newcode862 webrtc/base/opensslstreamadapter.cc:862: SignalSSLHandshakeError(err_reason); On 2016/07/29 15:49:54, honghaiz3 wrote: > Should ...
4 years, 4 months ago (2016-08-01 17:19:19 UTC) #13
Zhi Huang
Hi Peter, Please take a look. I got two lgtms.
4 years, 4 months ago (2016-08-02 00:17:04 UTC) #15
pthatcher1
https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/sslstreamadapter.h File webrtc/base/sslstreamadapter.h (right): https://codereview.webrtc.org/2167363002/diff/120001/webrtc/base/sslstreamadapter.h#newcode209 webrtc/base/sslstreamadapter.h:209: sigslot::signal1<int> SignalSSLHandshakeError; We should document what values will be ...
4 years, 4 months ago (2016-08-03 22:40:46 UTC) #16
Zhi Huang
Please take another look, thanks.
4 years, 4 months ago (2016-08-22 19:41:14 UTC) #17
pthatcher1
lgtm
4 years, 4 months ago (2016-08-23 00:15:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2167363002/140001
4 years, 4 months ago (2016-08-23 18:36:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 4 months ago (2016-08-23 20:36:28 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2167363002/140001
4 years, 4 months ago (2016-08-23 20:37:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 4 months ago (2016-08-23 22:38:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2167363002/140001
4 years, 3 months ago (2016-08-25 20:44:11 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-08-25 22:44:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2167363002/140001
4 years, 3 months ago (2016-08-26 18:17:04 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 3 months ago (2016-08-26 18:25:12 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 18:25:15 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d82eee0675cf971cdc5f02340b5799bb303449e3
Cr-Commit-Position: refs/heads/master@{#13940}

Powered by Google App Engine
This is Rietveld 408576698