[erlang-questions] Disable Distribution

Feiko Nanninga fnanninga@REDACTED
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:
> Hello,
> 
> 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,
> Feiko
> 
> 
> 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
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 




More information about the erlang-questions mailing list