From 3c6d10b5975f97d21f8cbe31639b97baa94b6257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 1 Apr 2019 11:37:42 +0200 Subject: [PATCH] bootnodes listen on UDP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- _assets/compose/bootnode/Makefile | 2 +- _assets/compose/bootnode/README.md | 2 +- _assets/compose/bootnode/docker-compose.yml | 2 +- _assets/compose/mailserver/Makefile | 2 +- _assets/compose/mailserver/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_assets/compose/bootnode/Makefile b/_assets/compose/bootnode/Makefile index 93ef155e2..ad3e22977 100644 --- a/_assets/compose/bootnode/Makefile +++ b/_assets/compose/bootnode/Makefile @@ -52,7 +52,7 @@ enode: keys/nodeaddr info: @echo "$(GREEN)Your bootnode is listening on:$(RESET) $(BOLD)$(PUBLIC_IP):$(LISTEN_PORT)$(RESET)" - @echo "$(YELLOW)Make sure that address and port are available from the internet!$(RESET)" + @echo "$(YELLOW)Make sure that address and UDP port are available from the internet!$(RESET)" @echo "$(GREEN)Your enode address is:$(RESET)" diff --git a/_assets/compose/bootnode/README.md b/_assets/compose/bootnode/README.md index 7a95be602..9ba1dd619 100644 --- a/_assets/compose/bootnode/README.md +++ b/_assets/compose/bootnode/README.md @@ -26,7 +26,7 @@ To simply start a container run `make`, other commands include: All settings are passed through environment variables: * `PUBLIC_IP` - Your IP visible from the internet and advertised by the Bootnode. -* `LISTEN_PORT` - Bootnode port, by default it's `30303` but you might want to use `443`. +* `LISTEN_PORT` - Bootnode UDP port, by default it's `30303` but you might want to use `443`. * `RPC_PORT` - Control port making it possible to use the [JSON-RPC API](https://github.com/ethereum/wiki/wiki/JSON-RPC). * `API_MODULES` - API modules to be made available via the `RPC_PORT`. * `CONTAINER_NAME` - Name of the container that will be created. diff --git a/_assets/compose/bootnode/docker-compose.yml b/_assets/compose/bootnode/docker-compose.yml index 64c6a9328..0f5a5c101 100644 --- a/_assets/compose/bootnode/docker-compose.yml +++ b/_assets/compose/bootnode/docker-compose.yml @@ -10,6 +10,6 @@ services: -nodekey=/keys/nodekey -addr=0.0.0.0:${LISTEN_PORT} ports: - - '0.0.0.0:${LISTEN_PORT}:${LISTEN_PORT}' + - '0.0.0.0:${LISTEN_PORT}:${LISTEN_PORT}/udp' volumes: - '${PWD}/keys:/keys' diff --git a/_assets/compose/mailserver/Makefile b/_assets/compose/mailserver/Makefile index 3c7ed3ff5..3c7e3ca96 100644 --- a/_assets/compose/mailserver/Makefile +++ b/_assets/compose/mailserver/Makefile @@ -52,7 +52,7 @@ enode: info: @echo "$(GREEN)Your mailserver is listening on:$(RESET) $(BOLD)$(PUBLIC_IP):$(LISTEN_PORT)$(RESET)" - @echo "$(YELLOW)Make sure that address and port are available from the internet!$(RESET)" + @echo "$(YELLOW)Make sure that address and TCP port are available from the internet!$(RESET)" @echo "$(GREEN)Your enode address is:$(RESET)" show: diff --git a/_assets/compose/mailserver/README.md b/_assets/compose/mailserver/README.md index 9b2beba8e..4e4bb5a23 100644 --- a/_assets/compose/mailserver/README.md +++ b/_assets/compose/mailserver/README.md @@ -25,7 +25,7 @@ To simply start a container run `make`, other commands include: All settings are passed through environment variables: * `PUBLIC_IP` - Your IP visible from the internet and advertised by the Mailserver. -* `LISTEN_PORT` - Mailserver port, by default it's `30303` but you might want to use `443`. +* `LISTEN_PORT` - Mailserver TCP port, by default it's `30303` but you might want to use `443`. * `RPC_PORT` - Control port making it possible to use the [JSON-RPC API](https://github.com/ethereum/wiki/wiki/JSON-RPC). * `API_MODULES` - API modules to be made available via the `RPC_PORT`. * `DATA_PATH` - Location of Mailserver storage and keys. (Default: `/var/tmp/status-go-mail`)