1786
|
1 |
#summary c2s connections throttling module |
|
2 |
#labels Stage-Stable |
|
3 |
|
|
4 |
= Introduction = |
|
5 |
|
|
6 |
This module allows to throttle those client connections which exceed a n*seconds limit. |
|
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"> |
|
15 |
cthrottler_logins_count = 3 -- number of login attempts allowed, default is 3 |
|
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 |