From f2ebdc58bb8e9091c4f823bb6d9e521b32087d40 Mon Sep 17 00:00:00 2001 From: toni Date: Wed, 25 Jan 2017 00:33:57 +0100 Subject: flood protection (main menu) --- config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.h') 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 * -- cgit v1.2.3