About Erlang system nodes

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Tue Mar 28 09:52:25 CEST 2006


This seems impossible. There is only one tcp session
between two erlang nodes. All communication, be it 
spawn commands or pure message passing, is passed 
on the same link.

The erlang:send/2 function (the ! operator) is 
implemented in the virtual machine. The VM knows
which port is mapped to a given node, and sends 
messages through that port. If that port is opened
over SSL, all communication between the two nodes
will be encrypted.

BR,
Ulf W

> -----Original Message-----
> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of Renyi Xiong
> Sent: den 27 mars 2006 18:44
> To: chandru; tzheng@REDACTED
> Cc: erlang-questions@REDACTED
> Subject: Re: About Erlang system nodes
> 
> But I found if we run distributed erlang over SSL, it only 
> affects those distributed command like spawn_link. It doesn't 
> affect primitive command like message passing command - '!' 
> which we concern about. Cause that means if we run 
> distributed Mnesia, it doesn't automatically have encrypted 
> communication between Mnesia nodes even if SSL is employed. 
> Is that correct?
> 
> Thanks a lot,
> Renyi.
> 
> ----- Original Message -----
> From: "chandru" <chandrashekhar.mullaparthi@REDACTED>
> To: <tzheng@REDACTED>
> Cc: <erlang-questions@REDACTED>; "Renyi Xiong" <rxiong@REDACTED>
> Sent: Friday, March 24, 2006 1:32 AM
> Subject: Re: About Erlang system nodes
> 
> 
> On 23/03/06, Tony Zheng <tzheng@REDACTED> wrote:
> > Hi Chandru
> >
> > Are there any encrypted mechanisms when Mnesia replicate tables on
> > different Erlang nodes? We will put Erlang nodes in 
> different locations
> > on internet, we want to know if it is secure for Mnesia to replicate
> > tables on internet.
> > Thanks.
> 
> 
> You can run distributed erlang over SSL. That will encrypt all traffic
> between the nodes.
> See 
> http://www.erlang.org/doc/doc-5.4.13/lib/ssl-3.0.11/doc/html/u
> sersguide_frame.html
> for more info on how to do this.
> 
> cheers
> Chandru 
> 



More information about the erlang-questions mailing list