mod_c2s_conn_throttle/README.markdown
changeset 1807 4d73a1a6ba68
parent 1786 29f3d6b7ad16
equal deleted inserted replaced
1806:0ab737feada6 1807: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