[ejabberd] let client find out server's node name

Holger Weiß holger at zedat.fu-berlin.de
Fri Sep 18 10:31:21 MSK 2015


* Daniel Dormont <dan at greywallsoftware.com> [2015-09-17 15:41]:
> In an ejabberd cluster I want my client to be able to find out which
> node it is connected to (the actual connection in my case is assigned
> by haproxy, and it is inconvenient for various reasons for me to try
> to get this information from haproxy itself). The user is an ejabberd
> admin if it matters. I can see why this might not always be desirable
> for security reasons, but is there a way to get this information if I
> do need it?

I see no way to do this out of the box, but it would be trivial to
implement a custom module that returns the node name.

Holger


More information about the ejabberd mailing list