[erlang-questions] [ANN] EPMDPXY: A Proxy for the Erlang Port Mapper Deamon

Andre Graf andre.graf@REDACTED
Thu Jan 29 12:19:28 CET 2015


Hello list,

While testing some distributed Erlang features I wanted to quickly
simulate network partitions to see how my distributed Erlang application
reacts.
I came up with this little project, pretty much alpha I must admit,
which simulates the basic functionality of EPMD, just enough to make a
local Erlang cluster work. With one exception though, instead of
replying the remote listener port when requested, it spawns an internal
listener and replies the new (random) port number instead. The newly
spawned listener process accepts one single connection and connects to
the 'real' remote listener, acting as a proxy between the two Erlang nodes.
This enables to 'cut' connections between the nodes (on the TCP level
though). Of course this is not a replacement for real hardware damage ;).

If this sounds interesting, please check it out on
https://github.com/dergraf/epmdpxy

Cheers,
Andre



More information about the erlang-questions mailing list