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

Issue 2125343002: Ban cross origin WebSocket connections to the service protocol (Closed)

Created:
4 years, 5 months ago by Cutch
Modified:
4 years, 5 months ago
Reviewers:
skybrian, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Ban cross origin WebSocket connections to the service protocol. - Explicitly allow connections from localhost/127.0.0.1 and the server's ip address and host name. - This has the negative effect of breaking our Dartium work flow, so, I've added the "--disable-service-origin-check" flag to the standalone embedder which disables the security check. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/af85432e28cf8080c5ba353793e9dea409c84c9a

Patch Set 1 #

Patch Set 2 : hacking.md #

Total comments: 4

Patch Set 3 : skybrian review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -15 lines) Patch
M runtime/bin/gen_snapshot.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M runtime/bin/main.cc View 1 2 4 chunks +16 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/server.dart View 1 2 3 chunks +54 lines, -7 lines 0 comments Download
M runtime/bin/vmservice/vmservice_io.dart View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/bin/vmservice_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/vmservice_impl.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M runtime/observatory/HACKING.md View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
Cutch
4 years, 5 months ago (2016-07-07 17:41:17 UTC) #4
siva
lgtm
4 years, 5 months ago (2016-07-07 18:06:50 UTC) #5
skybrian
https://codereview.chromium.org/2125343002/diff/20001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/2125343002/diff/20001/runtime/bin/main.cc#newcode505 runtime/bin/main.cc:505: { "--service-dev-mode", ProcessServiceDevModeOption }, The meaning of this flag ...
4 years, 5 months ago (2016-07-07 18:08:08 UTC) #7
Cutch
https://codereview.chromium.org/2125343002/diff/20001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/2125343002/diff/20001/runtime/bin/main.cc#newcode505 runtime/bin/main.cc:505: { "--service-dev-mode", ProcessServiceDevModeOption }, On 2016/07/07 18:08:08, skybrian wrote: ...
4 years, 5 months ago (2016-07-07 18:31:56 UTC) #8
Cutch
4 years, 5 months ago (2016-07-07 19:14:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
af85432e28cf8080c5ba353793e9dea409c84c9a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698