Prosody already gives some insight into current s2s connections, e.g. via the s2s:show() command in the console. This will tell you about all current s2s connections.

However sometimes this is not enough. For example if an s2s connection fails to establish, it won’t show up - you have to go digging through the log file looking for the errors instead.

This module maintains a record of recent connection attempts to a remote domain. You can use this module to answer questions such as:

Note: At the time of writing, this module is not yet finished, and should be considered a proof-of-concept.


Just load the module as normal:

modules_enabled = {


trunk (0.12) and later, e.g. due to 60676b607b6d.


With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server= mod_s2s_status

For earlier versions see the documentation for installing 3rd party modules