Commit Graph

6 Commits

Author SHA1 Message Date
Ben Konyi 15b11b0183 [ VM / Service / Observatory ] The VM service now requires an authentication code by default.
Previously, a valid web socket connection would use the following URI:

`ws://127.0.0.1/ws`

Now, by default, the VM service requires a connection to be made with a
URI similar to the following:

`ws://127.0.0.1:8181/Ug_U0QVsqFs=/ws`

where `Ug_U0QVsqFs` is an authentication code generated and shared by the
service.

This behavior can be disabled with the `--disable-service-auth-codes`
flag.

Change-Id: I288aac58e3ba9d35dca8071f3f7e7a073896c271
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98433
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-04-09 22:57:29 +00:00
Ben Konyi 700254996f [ Observatory / Dartium ] Updated observatory documentation and tests to remove references to Dartium.
Change-Id: Ibc64b3371353850ff15153c06970a30e47a24888
Reviewed-on: https://dart-review.googlesource.com/c/89900
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2019-01-16 20:28:21 +00:00
Devon Carew 60a8ed5d47 Fix some observatory analysis issues.
BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2920603003 .
2017-06-08 23:59:26 -07:00
Kevin Moore 4d75bf77a5 Fix a couple of links in runtime/observatory
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2513703002 .
2016-11-17 12:31:00 -08:00
John McCutchan af85432e28 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

Review URL: https://codereview.chromium.org/2125343002 .
2016-07-07 12:14:54 -07:00
Carlo Bernaschina a601b65261 Added HACKING.md to observatory
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2079953002 .
2016-06-27 10:50:49 -07:00