[erlang-questions] Disable Distribution
Thu Apr 14 18:29:38 CEST 2016
As it turns out, I can leave -sname/-name and -setcookie out in vm.args
as long as I do not use relx's extended starting script.
But will that be enough to keep other nodes from connecting?
On 14.04.2016 18:00, Feiko Nanninga wrote:
> I'd like to deploy a non-distributed application with a sane
> security configuration (preferably using a relx release).
> How can I entirely disable other nodes from connecting? Is there an
> option to pass to erl (to add in vm.args)?. It seems using a release
> requires me give the node a name and set a cookie. Now I can hope nobody
> guesses the cookie or I can keep other users on the same system from
> reading files which contain the cookie; but this is not a clean solution.
> Would not setting -sname or -name achieve this goal?
> Best regards,
> PS: If you don't provide vm.args yourself, relx generates one for you
> with a predictable cookie. This is a BAD default.
> erlang-questions mailing list
More information about the erlang-questions