[erlang-questions] Remote "access" points
Wed Nov 18 19:42:52 CET 2009
On Wed, Nov 18, 2009 at 6:32 PM, Andrew Thompson <> wrote:
> But its a message not a function call? Are you proposing to filter all
> messages from other nodes as well as all calls to rpc:call or spawn?
Isn't it a message that requests a function gets executed? Somewhere
in the request, the module name must be in there.
I'd like to make an Erlang node that **only** allows remote nodes to
call functions in the "public" module (whether by spawn, call, or any
If you add , M =:= 'public' to line 396 of
lib/kernel/src/net_kernel.erl in otp_src_R13B02-1, then it prevents
remote nodes from "spawn"ing anything on that node.
I can't find the rpc:call equivalent though.
More information about the erlang-questions