[erlang-questions] TLS distribution: why proxy?
Wed Oct 28 17:31:38 CET 2015
I'm looking into the code for running the Erlang distribution protocol over
TLS, as described in
http://www.erlang.org/doc/apps/ssl/ssl_distribution.html . I've noticed
that the code uses a proxy: for each node, there is one TLS-encrypted
connection to the remote node, and one non-encrypted connection over
localhost, all managed by a proxy process that just receives data on the
non-encrypted connection and sends it to the TLS connection and vice versa.
To me it would seem more rational to use a TLS connection directly, so
surely there must be a good reason for things being done this way, but I
haven't found any, neither in comments nor in the version history. Does
anyone know why the TLS distribution is set up in this way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions