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

Issue 9982019: Implement RFC 5764 (DTLS-SRTP). (Closed)

Created:
8 years, 8 months ago by wtc
Modified:
8 years, 6 months ago
Reviewers:
ekr, wtc1, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Implement RFC 5764 (DTLS-SRTP). The patch is contributed by Eric Rescorla. R=rsleevi@chromium.org,ekr@rtfm.com BUG=120938 TEST=none (eventually covered by libjingle tests) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140535

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix coding style nits, require DTLS for the use_srtp extension #

Total comments: 10

Patch Set 3 : First full review #

Total comments: 19

Patch Set 4 : Change how we read the cipher list and make changes suggested by ekr #

Total comments: 2

Patch Set 5 : Avoid goto #

Total comments: 2

Patch Set 6 : Add NSS bug number #

Total comments: 25

Patch Set 7 : Make the changes suggested by rsleevi #

Patch Set 8 : Fix the all-or-nothing behavior of SSL_SetSRTPCiphers #

Patch Set 9 : Sync before checkin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -8 lines) Patch
M net/third_party/nss/ssl/ssl.h View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl3ext.c View 1 2 3 4 5 6 7 8 5 chunks +211 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/sslimpl.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/sslproto.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/sslsock.c View 1 2 3 4 5 6 7 8 5 chunks +82 lines, -6 lines 0 comments Download
M net/third_party/nss/ssl/sslt.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 34 (0 generated)
wtc
Ekr: Patch set 1 is your original patch in the upstream NSS bug https://bugzilla.mozilla.org/show_bug.cgi?id=737178, excluding ...
8 years, 8 months ago (2012-04-04 23:32:49 UTC) #1
ekr
https://chromiumcodereview.appspot.com/9982019/diff/1/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): https://chromiumcodereview.appspot.com/9982019/diff/1/net/third_party/nss/ssl/ssl3ext.c#newcode1679 net/third_party/nss/ssl/ssl3ext.c:1679: sender = (ss->version > SSL_LIBRARY_VERSION_3_0 || IS_DTLS(ss)) ? On ...
8 years, 8 months ago (2012-04-19 14:29:35 UTC) #2
wtc
Ekr: the CL is ready for your review. Patch set 1 is your original NSS ...
8 years, 8 months ago (2012-04-20 02:02:13 UTC) #3
ekr
I had a little trouble with Rietveld figuring out how to isolate each patch set, ...
8 years, 8 months ago (2012-04-26 14:33:42 UTC) #4
wtc
Ekr: thank you for reviewing my changes. I answer your questions below. http://codereview.chromium.org/9982019/diff/5001/net/third_party/nss/ssl/ssl.h File net/third_party/nss/ssl/ssl.h ...
8 years, 8 months ago (2012-04-27 01:06:08 UTC) #5
ekr
See comments. http://codereview.chromium.org/9982019/diff/5001/net/third_party/nss/ssl/ssl.h File net/third_party/nss/ssl/ssl.h (right): http://codereview.chromium.org/9982019/diff/5001/net/third_party/nss/ssl/ssl.h#newcode846 net/third_party/nss/ssl/ssl.h:846: unsigned int numCiphers); On 2012/04/27 01:06:08, wtc ...
8 years, 8 months ago (2012-04-27 03:36:33 UTC) #6
wtc
Ekr: I will send you a new patch set some time next week. See my ...
8 years, 8 months ago (2012-04-27 17:32:55 UTC) #7
ekr
On Fri, Apr 27, 2012 at 10:32 AM, <wtc@chromium.org> wrote > http://codereview.chromium.org/9982019/diff/13001/net/third_party/nss/ssl/ssl3ext.c#newcode2038 > net/third_party/nss/ssl/ssl3ext.c:2038: } ...
8 years, 8 months ago (2012-04-27 17:41:21 UTC) #8
wtc
Ekr: please review patch set 4. If it looks good, please also test it. Thanks! ...
8 years, 7 months ago (2012-05-03 02:00:15 UTC) #9
wtc
Ekr: Please review patch set 5. I got rid of the goto.
8 years, 7 months ago (2012-05-04 00:43:49 UTC) #10
ekr
Except for the above comment, I think this is fine. I have tested it against ...
8 years, 7 months ago (2012-05-07 22:51:00 UTC) #11
wtc
rsleevi: please review patch set 6. This CL was based on Eric Rescorla's NSS patch, ...
8 years, 7 months ago (2012-05-08 22:15:11 UTC) #12
ekr
On Tue, May 8, 2012 at 3:15 PM, <wtc@chromium.org> wrote: > rsleevi: please review patch ...
8 years, 7 months ago (2012-05-08 22:17:47 UTC) #13
Ryan Sleevi
wtc: Based on the ChromeOS TPM work ongoing, I'm not sure I'll have a chance ...
8 years, 7 months ago (2012-05-08 22:55:36 UTC) #14
wtc
rsleevi: since you reviewed the previous DTLS patch, I think you are the best reviewer ...
8 years, 7 months ago (2012-05-09 18:58:02 UTC) #15
Ryan Sleevi
wtc: I only focused on the code, and did not focus on the implementation of ...
8 years, 7 months ago (2012-05-10 19:43:10 UTC) #16
wtc
Make the changes suggested by rsleevi
8 years, 7 months ago (2012-05-12 00:54:33 UTC) #17
wtc
rsleevi: please review patch set 7. Thank you very much for your thoughtful review. I ...
8 years, 7 months ago (2012-05-12 01:00:59 UTC) #18
Ryan Sleevi
http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c#newcode1892 net/third_party/nss/ssl/ssl3ext.c:1892: if (!IS_DTLS(ss) || !ss->ssl3.dtlsSRTPCipherCount) On 2012/05/12 01:00:59, wtc wrote: ...
8 years, 7 months ago (2012-05-12 01:13:05 UTC) #19
ekr
On Fri, May 11, 2012 at 6:00 PM, <wtc@chromium.org> wrote: > > http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl.h > File ...
8 years, 7 months ago (2012-05-14 22:49:14 UTC) #20
ekr
http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c#newcode2049 net/third_party/nss/ssl/ssl3ext.c:2049: break; On 2012/05/12 01:13:06, Ryan Sleevi wrote: > On ...
8 years, 7 months ago (2012-05-14 22:50:49 UTC) #21
wtc
http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (right): http://codereview.chromium.org/9982019/diff/37002/net/third_party/nss/ssl/ssl3ext.c#newcode2010 net/third_party/nss/ssl/ssl3ext.c:2010: */ On 2012/05/12 01:13:06, Ryan Sleevi wrote: > > ...
8 years, 7 months ago (2012-05-15 00:56:41 UTC) #22
ekr
lso came to the same conclusion that we probably should > enable SRTP cipher suites ...
8 years, 7 months ago (2012-05-16 18:52:16 UTC) #23
ekr
Wan-Teh, are you able to to do this, or should I pick it back up? ...
8 years, 7 months ago (2012-05-24 18:27:34 UTC) #24
wtc1
On Thu, May 24, 2012 at 11:26 AM, Eric Rescorla <ekr@rtfm.com> wrote: > Wan-Teh, are ...
8 years, 7 months ago (2012-05-24 18:46:31 UTC) #25
ekr
On Thu, May 24, 2012 at 11:46 AM, Wan-Teh Chang <wtc@google.com> wrote: > On Thu, ...
8 years, 7 months ago (2012-05-24 22:57:26 UTC) #26
wtc1
On Thu, May 24, 2012 at 3:56 PM, Eric Rescorla <ekr@rtfm.com> wrote: > On Thu, ...
8 years, 7 months ago (2012-05-24 23:22:27 UTC) #27
wtc
Ekr: please review patch set 8. You can just review the delta between patch sets ...
8 years, 6 months ago (2012-06-02 01:19:57 UTC) #28
ekr
lgtm
8 years, 6 months ago (2012-06-03 15:44:07 UTC) #29
Ryan Sleevi
lgtm
8 years, 6 months ago (2012-06-04 17:56:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/9982019/65002
8 years, 6 months ago (2012-06-05 13:17:47 UTC) #31
commit-bot: I haz the power
Try job failure for 9982019-65002 on win for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=14375 Step "update" is always ...
8 years, 6 months ago (2012-06-05 13:19:21 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/9982019/65002
8 years, 6 months ago (2012-06-05 14:53:57 UTC) #33
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 16:39:03 UTC) #34
Change committed as 140535

Powered by Google App Engine
This is Rietveld 408576698