From 303895013b04fe0c4e1fbfa695fc8d410b2a70d1 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Fri, 23 Nov 2018 19:08:43 -0400 Subject: [PATCH] Documented new bandwidth control options on man page. --- man/ddos.1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/man/ddos.1 b/man/ddos.1 index 2650012..5ef642c 100644 --- a/man/ddos.1 +++ b/man/ddos.1 @@ -180,6 +180,35 @@ when ENABLE_PORTS is enabled, making those ports not listed on this configuration flag vulnerable to attacks. Example: "80:150:600 443:150:600 20-21:250:600" +.TP +.B BANDWIDTH_CONTROL = +Monitor bandwidth usage per ip and slows down data transfer rate/s if +the BANDWIDTH_CONTROL_LIMIT is exceeded. Requires iftop and tc. +(Default: false) + +.TP +.B BANDWIDTH_CONTROL_LIMIT = '' +The data transfer rate/s that triggers a rate drop to the speed +defined in BANDWIDTH_DROP_RATE, can be expressed in mbit or kbit. +(Default: 1896kbit) + +.TP +.B BANDWIDTH_DROP_RATE = '' +When the maximum data transfer rate defined in BANDWIDTH_CONTROL_LIMIT +is reached, the speed of the transfer will be reduced to this value +for the amount of seconds specified in BANDWIDTH_DROP_PERIOD. +(Default: 512kbit) + +.TP +.B BANDWIDTH_DROP_PERIOD = +The amount of time in seconds to keep a client transfer at the speed +defined on BANDWIDTH_DROP_RATE. (Default: 600) + +.TP +.B BANDWIDTH_ONLY_INCOMING = +If true, takes into consideration only the data received from +client and not the data sent by server to client. (Default: true) + .SH FILES .B /usr/local/ddos/LICENSE .br