aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2017-01-25 00:33:57 +0100
committertoni <matzeton@googlemail.com>2017-01-25 00:33:57 +0100
commitf2ebdc58bb8e9091c4f823bb6d9e521b32087d40 (patch)
tree3d652c001fff4ab75a6a43f5776351af389cfa6f /config.h
parent1f7b8a1a8281c2cf998081fd58ba50475a98ac33 (diff)
flood protection (main menu)
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index c29d97a..5ebf43b 100644
--- a/config.h
+++ b/config.h
@@ -29,6 +29,11 @@
#define _HAS_UTMP 1
#define _HAS_SYSINFO 1
+/* flood protection max input chars per second */
+#define FLOOD_PROTECTION 5
+/* flood protection timeout in seconds */
+#define FLOOD_TIMEOUT 10
+
/***********
* suidcmd *