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

Issue 1638153002: Set up an stunnel endpoint for the engine. (Closed)

Created:
4 years, 11 months ago by marcinjb
Modified:
4 years, 10 months ago
CC:
chromium-reviews, nyquist, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set up an stunnel endpoint for the engine. This puts an stunnel proxy in the engine's Docker container. The client will connect on the same port, stunnel will intercept and forward the underlying traffic to the engine which is now listening on another port. BUG=575421 Committed: https://crrev.com/cc9d2934094ab0dfdbaf210fe7cc2ea924b1edab Cr-Commit-Position: refs/heads/master@{#372199}

Patch Set 1 #

Patch Set 2 : Added documentation on opening a port with Docker #

Total comments: 10

Patch Set 3 : Pass args, die if either stunnel or engine die, doc updates #

Total comments: 2

Patch Set 4 : Added note about using self signed certificates #

Patch Set 5 : Documentation updates #

Total comments: 2

Patch Set 6 : No loger apt-get updating twice #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -23 lines) Patch
M blimp/docs/container.md View 1 2 3 4 1 chunk +25 lines, -17 lines 0 comments Download
M blimp/engine/BUILD.gn View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M blimp/engine/Dockerfile View 1 2 3 4 5 2 chunks +4 lines, -6 lines 0 comments Download
A blimp/engine/start_engine.sh View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M blimp/tools/bundle-engine.py View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
marcinjb
First pass review for Docker and stunnel usage.
4 years, 11 months ago (2016-01-27 01:39:23 UTC) #2
nyquist
drive-by-review https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/browser/blimp_engine_session.cc File blimp/engine/browser/blimp_engine_session.cc (right): https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/browser/blimp_engine_session.cc#newcode52 blimp/engine/browser/blimp_engine_session.cc:52: const uint16_t kDefaultPort = 12345; Why this change? ...
4 years, 11 months ago (2016-01-27 02:02:26 UTC) #4
marcinjb
https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/browser/blimp_engine_session.cc File blimp/engine/browser/blimp_engine_session.cc (right): https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/browser/blimp_engine_session.cc#newcode52 blimp/engine/browser/blimp_engine_session.cc:52: const uint16_t kDefaultPort = 12345; On 2016/01/27 02:02:26, nyquist ...
4 years, 11 months ago (2016-01-27 16:38:09 UTC) #5
maniscalco
https://codereview.chromium.org/1638153002/diff/20001/blimp/docs/container.md File blimp/docs/container.md (right): https://codereview.chromium.org/1638153002/diff/20001/blimp/docs/container.md#newcode91 blimp/docs/container.md:91: ### Mapping Ports for the Docker Container I think ...
4 years, 11 months ago (2016-01-27 17:02:11 UTC) #6
marcinjb
PTAL https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/BUILD.gn File blimp/engine/BUILD.gn (right): https://codereview.chromium.org/1638153002/diff/20001/blimp/engine/BUILD.gn#newcode98 blimp/engine/BUILD.gn:98: _rebased_manifest, On 2016/01/27 17:02:10, maniscalco wrote: > I ...
4 years, 10 months ago (2016-01-28 19:29:45 UTC) #7
maniscalco
LGTM modulo adding a comment to start_engine.sh and some doc changes we talked about OOB. ...
4 years, 10 months ago (2016-01-28 21:17:24 UTC) #8
marcinjb
Punting over to marshallk@ for engine review https://codereview.chromium.org/1638153002/diff/40001/blimp/engine/start_engine.sh File blimp/engine/start_engine.sh (right): https://codereview.chromium.org/1638153002/diff/40001/blimp/engine/start_engine.sh#newcode17 blimp/engine/start_engine.sh:17: wait -n ...
4 years, 10 months ago (2016-01-28 21:41:10 UTC) #10
Kevin M
https://codereview.chromium.org/1638153002/diff/50006/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/1638153002/diff/50006/blimp/engine/Dockerfile#newcode10 blimp/engine/Dockerfile:10: RUN apt-get update && apt-get install -yq stunnel4 This ...
4 years, 10 months ago (2016-01-28 21:54:12 UTC) #12
Kevin M
4 years, 10 months ago (2016-01-28 21:54:13 UTC) #13
marcinjb
PTAL https://codereview.chromium.org/1638153002/diff/50006/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/1638153002/diff/50006/blimp/engine/Dockerfile#newcode10 blimp/engine/Dockerfile:10: RUN apt-get update && apt-get install -yq stunnel4 ...
4 years, 10 months ago (2016-01-28 22:15:38 UTC) #14
Kevin M
lgtm
4 years, 10 months ago (2016-01-28 22:18:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1638153002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1638153002/90001
4 years, 10 months ago (2016-01-28 22:26:41 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:90001)
4 years, 10 months ago (2016-01-28 23:05:09 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 23:06:03 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cc9d2934094ab0dfdbaf210fe7cc2ea924b1edab
Cr-Commit-Position: refs/heads/master@{#372199}

Powered by Google App Engine
This is Rietveld 408576698