forked from jagerzhang/CCKiller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathck.conf
26 lines (20 loc) · 774 Bytes
/
ck.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##### Paths of the script and other files
PROGDIR=/usr/local/cckiller
LOGDIR=/usr/local/cckiller/log
PROG=/usr/local/cckiller/cckiller
IGNORE_IP_LIST=/usr/local/cckiller/ignore.ip.list
IPT=/sbin/iptables
DKName=CCKiller
DKVer=1.0.8
##### SLEEP_TIMEuency in minutes for running the script in proccess mode(default 20s)
SLEEP_TIME=20
##### How many connections define a bad IP? Indicate that below.
NO_OF_CONNECTIONS=100
##### An email is sent to the following address when an IP is banned.
EMAIL_TO="root@localhost"
##### The Forbidden seconds of banned IP(default:600 if set 0 ip will banned forever).
BAN_PERIOD=600
##### The ignore Ports like 21,2121,8000 (default null)
IGNORE_PORT=
##### The level of log like INFO,DEBUG,WARNING,OFF (default INFO)
LOG_LEVEL=INFO