]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/reference.conf
Move to ratbox3 reject and throttle code.
[irc/rqf/shadowircd.git] / doc / reference.conf
index eb742e8e329e52ddd8dbb5a92a05570b970ead2a..0b64947bfa11ea021b59ca6e2807a391177a2a12 100755 (executable)
@@ -59,7 +59,7 @@
  * /identify support                                 -- m_identify.so
  * Opers cannot be invisible (umode +i)              -- no_oper_invis.so
  * Far connection notices (snomask +F)               -- sno_farconnect.so
- * Remote k/d/g/x line active notices                -- sno_globalkline.so
+ * Remote k/d/x line active notices                  -- sno_globalkline.so
  * Remote oper up notices                            -- sno_globaloper.so
  * /whois notifications (snomask +W)                 -- sno_whois.so
  */
@@ -580,6 +580,9 @@ shared {
         *    all     - allow oper/server to do all of above.
         *    locops  - allow locops - only used for servers who cluster
         *    rehash  - allow rehashing
+        *    dline   - allow setting perm/temp dlines
+        *    tdline  - allow setting temp dlines
+        *    undline - allow removing dlines
         *    none    - disallow everything
         */
 
@@ -1150,10 +1153,14 @@ general {
        /* reject duration: the amount of time to cache the rejection */
        reject_duration = 5 minutes;
 
-       /* max_unknown_ip: maximum number of pending connections to the server
-         * that are allowed per IP address
+       /* throttle_duration: Amount of time that throttling will be applied to an IP
+        * address.
         */
-       max_unknown_ip = 2;
+       throttle_duration = 60;
+
+       /* throttle_count: Number of connections within throttle_duration that it takes
+        * for throttling to take effect */
+       throttle_count = 4;
 };
 
 modules {