forked from pronto/SSH-Ranking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
59 lines (43 loc) · 1.32 KB
/
config.ini
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[sshrank]
# SSH-Rank Configuration File
# Set debugging. 1 is on, 0 is off
debugging=0
# Absolute path to SSH-Rank on your file system. Change to
# match where you downloaded SSH-Rank. Include the trailing /
sqlclassPath=/home/user/git/SSH-Ranking/
[logs]
# Location of auth.log or the log you want to monitor.
# Include the trailing /
authlogpath=/var/log/
# Name of log you want to monitor.
# For Debian-based systems you probably want auth.log.
# For Red Hat systems, secure
logname=secure
# User who can read the log file; probably will be root
userneed=root
[sql]
# SQL Settings
# valid options include 'mysql'
sqlservertype=mysql
sqluser=sshrank
sqlserv=localhost
sqlpass=blargpass
[web]
# To run the web server portion, you can either run
# it on port 80 as root (not really recommended) or
# you can run it on an unprivileged port (eg: port 5000).
# Change this to suit your needs
webUI_port=5000
# How many IPs total do you want to show? Default 15
total_ip=10
# How many IPs do yo uwant to do extra stats on (eg top 10)
stats_ip=20
# How many user names to you want listed?
user_cnt=5
#do rdns thangs
rdns=yes
#since there will be a log of the rdns info, updating every so
#often is a good idea;
#when an IP is in the topX when the rdns script runs
#it'll check again when the current info is X seconds old
rdns_age=18