Mercurial > prosody-wiki
annotate mod_c2s_conn_throttle.wiki @ 424:3ed760b4fa14
I'll just go ahead and call mod_carbons Beta, but it's really actually pretty stable (Thanks Ben)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Feb 2014 17:26:49 +0100 |
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 |