[ejabberd] Custom Erlang Authentication Module, and Client IP Address

Evgeny Khramtsov xramtsov at gmail.com
Tue May 5 17:55:34 MSK 2015

Tue, 5 May 2015 10:16:17 -0400
Richard Hall <richardardrichard at gmail.com> wrote:

> Hello,
> I am currently writing an auth module (ejabberd_auth_…), and am
> having an issue. While running the auth module is running fine, I
> need to access the client’s IP address that they are connecting to
> the Ejabberd server with. Is there an easy way to do this from the
> auth module?
> Thanks

No, ejabberd_auth API doesn't provide user's IP.

More information about the ejabberd mailing list