Mercurial > prosody-modules
view mod_ipcheck/README.markdown @ 5296:0f5657db1cfc
mod_isolate_host: handle server-generated stanzas
The hook for setting the no_host_isolation is only called for c2s
sessions. This does not work for stanzas generated by the server,
such as PEP notifications or presence probe answers.
To handle that, we do per-stanza checks for the case that the origin
is local.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Sat, 01 Apr 2023 12:03:08 +0200 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'XEP-0279: Server IP Check' ... Introduction ============ Sometimes for various reasons a client might want to know its IP address as it appears to the server. This [simple XEP](http://xmpp.org/extensions/xep-0279.html) allows the client to ask the server for the IP address it is connected from. Compatibility ============= ----- ------- 0.7 Works 0.6 Works ----- -------