Mercurial > prosody-hg
comparison plugins/mod_admin_telnet.lua @ 10086:4ade3674baf0
mod_admin_telnet: Add c2s:count() to help
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 26 Jul 2019 21:10:42 +0200 |
| parents | bf51a08a94a7 |
| children | 36d3709603d1 |
comparison
equal
deleted
inserted
replaced
| 10085:bf51a08a94a7 | 10086:4ade3674baf0 |
|---|---|
| 244 elseif section == "c2s" then | 244 elseif section == "c2s" then |
| 245 print [[c2s:show(jid) - Show all client sessions with the specified JID (or all if no JID given)]] | 245 print [[c2s:show(jid) - Show all client sessions with the specified JID (or all if no JID given)]] |
| 246 print [[c2s:show_insecure() - Show all unencrypted client connections]] | 246 print [[c2s:show_insecure() - Show all unencrypted client connections]] |
| 247 print [[c2s:show_secure() - Show all encrypted client connections]] | 247 print [[c2s:show_secure() - Show all encrypted client connections]] |
| 248 print [[c2s:show_tls() - Show TLS cipher info for encrypted sessions]] | 248 print [[c2s:show_tls() - Show TLS cipher info for encrypted sessions]] |
| 249 print [[c2s:count() - Count sessions without listing them]] | |
| 249 print [[c2s:close(jid) - Close all sessions for the specified JID]] | 250 print [[c2s:close(jid) - Close all sessions for the specified JID]] |
| 250 print [[c2s:closeall() - Close all active c2s connections ]] | 251 print [[c2s:closeall() - Close all active c2s connections ]] |
| 251 elseif section == "s2s" then | 252 elseif section == "s2s" then |
| 252 print [[s2s:show(domain) - Show all s2s connections for the given domain (or all if no domain given)]] | 253 print [[s2s:show(domain) - Show all s2s connections for the given domain (or all if no domain given)]] |
| 253 print [[s2s:show_tls(domain) - Show TLS cipher info for encrypted sessions]] | 254 print [[s2s:show_tls(domain) - Show TLS cipher info for encrypted sessions]] |
