[ejabberd] mod_xmlrpc - listen on a unix socket?
badlop at gmail.com
Fri Feb 6 14:14:22 MSK 2009
2009/1/23 Martin Langhoff <martin.langhoff at gmail.com>:
> Using mod_xmlrpc in a multiuser box is not particularly safe - any
> user can connect to it.
> Is it possible to use an old school unix socket instead of a tcp port?
mod_xmlrpc relies in the Erlang library 'xmlrpc' for managing the XML-RPC stuff.
If the mentioned library supports what you want, then probably
mod_xmlrpc can be improved to use that feature. Otherwise, then
probably it can't be improved.
Looking at its documentation, it seems the library always listens in
some IP address.
Other possibility (only works in ejabberd trunk SVN) is to call
ejabberdctl in the system shell. In that case, the commands are
implemented in mod_admin_extra instead of mod_xmlrpc.
More information about the ejabberd