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

Issue 16516003: SSLTCP (pseudo-SSL with fake handshake and unencrypted data) support for p2p socket. (Closed)

Created:
7 years, 6 months ago by Ronghua Wu (Left Chromium)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

SSLTCP (pseudo-SSL with fake handshake and unencrypted data) support for p2p socket. BUG=133742 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207810

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 19

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 6

Patch Set 14 : #

Total comments: 4

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -22 lines) Patch
A content/browser/renderer_host/p2p/DEPS View 1 2 3 4 5 6 7 8 9 14 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +26 lines, -7 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/p2p_sockets.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/p2p/ipc_socket_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ronghua Wu (Left Chromium)
I'm still adding tests for the tcp server case. Apart from that this is ready ...
7 years, 6 months ago (2013-06-15 00:23:35 UTC) #1
Mallinath (Gone from Chromium)
https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc File content/browser/renderer_host/p2p/ssltcp_helper.cc (right): https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc#newcode5 content/browser/renderer_host/p2p/ssltcp_helper.cc:5: #include "content/browser/renderer_host/p2p/ssltcp_helper.h" I discovered this lately, there is already ...
7 years, 6 months ago (2013-06-17 22:13:22 UTC) #2
juberti
On 2013/06/15 00:23:35, Ronghua Wu wrote: > I'm still adding tests for the tcp server ...
7 years, 6 months ago (2013-06-17 22:19:53 UTC) #3
Sergey Ulanov
On 2013/06/17 22:19:53, juberti wrote: > On 2013/06/15 00:23:35, Ronghua Wu wrote: > > I'm ...
7 years, 6 months ago (2013-06-18 20:01:03 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/socket_host_tcp.cc File content/browser/renderer_host/p2p/socket_host_tcp.cc (right): https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/socket_host_tcp.cc#newcode28 content/browser/renderer_host/p2p/socket_host_tcp.cc:28: int id, bool ssl) nit: one argument per line ...
7 years, 6 months ago (2013-06-18 20:01:26 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc File content/browser/renderer_host/p2p/ssltcp_helper.cc (right): https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc#newcode5 content/browser/renderer_host/p2p/ssltcp_helper.cc:5: #include "content/browser/renderer_host/p2p/ssltcp_helper.h" On 2013/06/17 22:13:22, mallinath2 wrote: > I ...
7 years, 6 months ago (2013-06-18 20:05:49 UTC) #6
Ronghua Wu (Left Chromium)
On 2013/06/18 20:05:49, Sergey Ulanov wrote: > https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc > File content/browser/renderer_host/p2p/ssltcp_helper.cc (right): > > https://codereview.chromium.org/16516003/diff/37003/content/browser/renderer_host/p2p/ssltcp_helper.cc#newcode5 ...
7 years, 6 months ago (2013-06-18 20:19:14 UTC) #7
Ronghua Wu (Left Chromium)
On 2013/06/18 20:19:14, Ronghua Wu wrote: > On 2013/06/18 20:05:49, Sergey Ulanov wrote: > > ...
7 years, 6 months ago (2013-06-18 20:25:19 UTC) #8
Sergey Ulanov
On 2013/06/18 20:25:19, Ronghua Wu wrote: > On 2013/06/18 20:19:14, Ronghua Wu wrote: > > ...
7 years, 6 months ago (2013-06-18 20:53:30 UTC) #9
Ronghua Wu (Left Chromium)
* Switched to use FakeSSLClientSocket. * Since we don't have FakeSSLServerSocket, so I will leave ...
7 years, 6 months ago (2013-06-18 22:19:48 UTC) #10
Sergey Ulanov
LGTM when my comments are addressed. https://codereview.chromium.org/16516003/diff/97001/content/browser/renderer_host/p2p/DEPS File content/browser/renderer_host/p2p/DEPS (right): https://codereview.chromium.org/16516003/diff/97001/content/browser/renderer_host/p2p/DEPS#newcode2 content/browser/renderer_host/p2p/DEPS:2: "+jingle/glue", After thinking ...
7 years, 6 months ago (2013-06-19 00:03:10 UTC) #11
Ronghua Wu (Left Chromium)
+brettw for content/DEPS content/common/p2p_sockets.h content/content_browser.gypi https://codereview.chromium.org/16516003/diff/97001/content/browser/renderer_host/p2p/DEPS File content/browser/renderer_host/p2p/DEPS (right): https://codereview.chromium.org/16516003/diff/97001/content/browser/renderer_host/p2p/DEPS#newcode2 content/browser/renderer_host/p2p/DEPS:2: "+jingle/glue", On 2013/06/19 00:03:10, ...
7 years, 6 months ago (2013-06-19 00:17:30 UTC) #12
Ronghua Wu (Left Chromium)
ping brettw
7 years, 6 months ago (2013-06-19 20:28:09 UTC) #13
Ronghua Wu (Left Chromium)
+creis, piman in case brettw is not available. We would like to catch M29. Please ...
7 years, 6 months ago (2013-06-20 20:24:03 UTC) #14
piman
https://codereview.chromium.org/16516003/diff/76003/content/DEPS File content/DEPS (right): https://codereview.chromium.org/16516003/diff/76003/content/DEPS#newcode58 content/DEPS:58: "+jingle/glue", So far, jingle has only been called from ...
7 years, 6 months ago (2013-06-20 20:53:14 UTC) #15
Ronghua Wu (Left Chromium)
https://codereview.chromium.org/16516003/diff/76003/content/DEPS File content/DEPS (right): https://codereview.chromium.org/16516003/diff/76003/content/DEPS#newcode58 content/DEPS:58: "+jingle/glue", On 2013/06/20 20:53:15, piman wrote: > So far, ...
7 years, 6 months ago (2013-06-20 21:05:28 UTC) #16
piman
On Thu, Jun 20, 2013 at 2:05 PM, <ronghuawu@chromium.org> wrote: > > https://codereview.chromium.**org/16516003/diff/76003/**content/DEPS<https://codereview.chromium.org/16516003/diff/76003/content/DEPS> > File ...
7 years, 6 months ago (2013-06-20 21:13:39 UTC) #17
Ronghua Wu (Left Chromium)
PTAL Maybe we can move the fake_ssl_client_socket.h to net/socekt/ in a follow up cl?
7 years, 6 months ago (2013-06-20 21:21:43 UTC) #18
piman
lgtm
7 years, 6 months ago (2013-06-20 21:26:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/16516003/136003
7 years, 6 months ago (2013-06-21 04:26:47 UTC) #20
juberti
lgtm Has this been tested against a real SSLTCP server?
7 years, 6 months ago (2013-06-21 04:35:09 UTC) #21
commit-bot: I haz the power
Change committed as 207810
7 years, 6 months ago (2013-06-21 14:31:22 UTC) #22
Ronghua Wu (Left Chromium)
7 years, 6 months ago (2013-06-21 18:58:44 UTC) #23
Thought the wrapper is already used in other code, so I didn't test with a
real ssltcp server. I did it this morning by creating a ssl tcp socket and
connect to talk.google.com:443. I was able to see the ssl client/server
hello message got exchanged. And the connection was able to established.
I'm not sure how to test the stun ssltcp case. Config our turn server to
listen on 443?  Is there a better way to verify this?


On Thu, Jun 20, 2013 at 9:35 PM, <juberti@google.com> wrote:

> lgtm
>
> Has this been tested against a real SSLTCP server?
>
>
https://codereview.chromium.**org/16516003/<https://codereview.chromium.org/1...
>

Powered by Google App Engine
This is Rietveld 408576698