Update running tests with the new flags (#1476)
This commit is contained in:
parent
c86cf1dd7c
commit
397a8f2cf7
|
|
@ -245,14 +245,20 @@ The binary will be created at
|
||||||
`./build/$HOST_ARCH/stage2-tools/$TARGET_ARCH/release/remote-test-server`. Copy
|
`./build/$HOST_ARCH/stage2-tools/$TARGET_ARCH/release/remote-test-server`. Copy
|
||||||
this over to the remote machine.
|
this over to the remote machine.
|
||||||
|
|
||||||
On the remote machine, run the `remote-test-server` with the `remote` argument
|
On the remote machine, run the `remote-test-server` with the `--bind
|
||||||
(and optionally `-v` for verbose output). Output should look like this:
|
0.0.0.0:12345` flag (and optionally `-v` for verbose output). Output should
|
||||||
|
look like this:
|
||||||
```sh
|
```sh
|
||||||
$ ./remote-test-server -v remote
|
$ ./remote-test-server -v --bind 0.0.0.0:12345
|
||||||
starting test server
|
starting test server
|
||||||
listening on 0.0.0.0:12345!
|
listening on 0.0.0.0:12345!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that binding the server to 0.0.0.0 will allow all hosts able to reach your
|
||||||
|
machine to execute arbitrary code on your machine. We strongly recommend either
|
||||||
|
setting up a firewall to block external access to port 12345, or to use a more
|
||||||
|
restrictive IP address when binding.
|
||||||
|
|
||||||
You can test if the `remote-test-server` is working by connecting to it and
|
You can test if the `remote-test-server` is working by connecting to it and
|
||||||
sending `ping\n`. It should reply `pong`:
|
sending `ping\n`. It should reply `pong`:
|
||||||
```sh
|
```sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue