equal
deleted
inserted
replaced
|
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 |