Software / code / prosody-modules
Comparison
mod_c2s_conn_throttle/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 28 Aug 2015 18:03:58 +0200 |
| parent | 1782:mod_c2s_conn_throttle/README.wiki@29f3d6b7ad16 |
comparison
equal
deleted
inserted
replaced
| 1802:0ab737feada6 | 1803:4d73a1a6ba68 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - 'Stage-Stable' | |
| 4 summary: c2s connections throttling module | |
| 5 ... | |
| 6 | |
| 7 Introduction | |
| 8 ============ | |
| 9 | |
| 10 This module allows to throttle those client connections which exceed a | |
| 11 n\*seconds limit. | |
| 12 | |
| 13 Usage | |
| 14 ===== | |
| 15 | |
| 16 Copy the module folder into your prosody modules directory. Place the | |
| 17 module between your enabled modules either into the global or a vhost | |
| 18 section. | |
| 19 | |
| 20 Optional configuration directives: | |
| 21 | |
| 22 ``` {.lua} | |
| 23 | |
| 24 cthrottler_logins_count = 3 -- number of login attempts allowed, default is 3 | |
| 25 cthrottler_time = 60 -- .. in number of seconds, default is 60 | |
| 26 ``` | |
| 27 | |
| 28 Info | |
| 29 ==== | |
| 30 | |
| 31 - 0.8, works | |
| 32 - 0.9, works |