[erlang-questions] Erlang cookies, rpc, security, mnesia, hidden nodes, VPN tunnels and stuff!

Chandru <>
Wed Sep 21 23:59:08 CEST 2016


Hi Trent,

On 20 September 2016 at 19:47, Trent Hampton <> wrote:

> Greetings Erlang Wizards!
>
> I have a client server erlang application where each server is connected
> to every other and is running an instance of an mnesia database across
> point to point VPN tunnels.
>
> I would like to be able to use erlang rpc on the clients to make function
> calls on the servers without exposing raw access to the mnesia database.
> That is, I do not want to expose, to the clients, the cookie that I use to
> connect mnesia nodes together.
>

Try using 'erpc' - https://github.com/bet365/erpc

It mostly has the same API as native rpc module, but on the server side you
can specify access controls for each client. You can specify which client
ips are allowed to connect, and for each incoming IP address, what
combination of {Module, Function} are allowed.

regards,
Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160921/0998a71b/attachment.html>


More information about the erlang-questions mailing list