-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsipcheck.conf.sample
43 lines (32 loc) · 1.2 KB
/
sipcheck.conf.sample
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
30
31
32
33
34
35
36
37
38
39
40
41
42
###################################################################
## Config file sample
##
## Please, create a copy of this file called `sipcheck.conf` and
## modify as your own configuration.
###################################################################
[manager]
# IP or hostname where is the Asterisk (generally localhost)
host = 127.0.0.1
port = 5038
username = mngrUser
password = mngrP4ssW0rd
[log]
# Asterisk log messages
asterisklog = /var/log/asterisk/messages
# One of this possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL
level = INFO
# Filename where
file = /var/log/sipcheck.log
[attacker]
# Maximun number of wrong passwords before to insert into the blacklist
maxNumTries = 5
# Maximum number of INVITES without auth allowed before to consider it an attack
maxNumInvites = 4
# Time in seconds that one IP address will be holded into the blacklist ()
BLExpireTime = 86400
# Time in seconds that one IP address will be retained as a friend to trust
WLExpireTime = 21600
# Time in seconds that one IP address will be holded as a suspected of attack
TLExpireTime = 3600
# Chain of IPTables that will be used to DROP or ACCEPT the attackers or friends addresses.
iptablesChain = INPUT