-
Notifications
You must be signed in to change notification settings - Fork 2
/
config
33 lines (22 loc) · 918 Bytes
/
config
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
27
28
29
# This is the hosts-monitor configuration file.
# Only allow to be amended by sudors.
# Set location of the following items.
# comment it if you wanna use default value.
[env]
REPORT_LOC=/var/log/hosts-monitor/ # reports saved folder [default: /opt/hosts-monitor]
REPORT_NEW=/etc/ssh/sshd_banner # cache (hourly update) [default: /etc/ssh/sshd_banner]
DEBUG_MODE=1 # 1: turn-on, 0: turn-off [default: 0]
PASSWD_RETRY=3 # the number of 'Failed-Password' before a host get banned [default: 2]
# Any ip can be always accepted with the following pattern.
[allow]
140.114.*
# Ban ips with the follwoing pattern.
[deny]
ftp\w*
test\w*
guest
ubuntu
root
admin\w*
user
testuser