Mercurial > prosody-wiki
annotate mod_c2s_conn_throttle.wiki @ 389:b4f1aeb37ae7
Describe the actual feature
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 15 Jul 2013 01:56:57 +0200 |
parents | 5597754f81ea |
children |
rev | line source |
---|---|
325 | 1 #summary c2s connections throttling module |
2 #labels Stage-Stable | |
3 | |
4 = Introduction = | |
5 | |
326
8fe2ec8a9f77
slight correction to the wiki.
Marco Cirillo <maranda@lightwitch.org>
parents:
325
diff
changeset
|
6 This module allows to throttle those client connections which exceed a n*seconds limit. |
325 | 7 |
8 = Usage = | |
9 | |
10 Copy the module folder into your prosody modules directory. | |
11 Place the module between your enabled modules either into the global or a vhost section. | |
12 | |
13 Optional configuration directives: | |
14 <code language="lua"> | |
327
5597754f81ea
correct grammar mistake.
Marco Cirillo <maranda@lightwitch.org>
parents:
326
diff
changeset
|
15 cthrottler_logins_count = 3 -- number of login attempts allowed, default is 3 |
325 | 16 cthrottler_time = 60 -- .. in number of seconds, default is 60 |
17 </code> | |
18 | |
19 = Info = | |
20 | |
21 * 0.8, works | |
22 * 0.9, works |