]>
Commit | Line | Data |
---|---|---|
cb64b9ac | 1 | |
2 | ######################################################################## | |
3 | # | |
4 | # SECURE_LOG: the log file that contains sshd logging info | |
5 | # if you are not sure, grep "sshd:" /var/log/* | |
6 | # | |
7 | # The file to process can be overridden with the --file command line | |
8 | # argument | |
9 | # | |
10 | # Redhat: | |
11 | SECURE_LOG = /var/log/secure | |
12 | # | |
13 | # Mandrake: | |
14 | #SECURE_LOG = /var/log/auth.log | |
15 | # | |
16 | # SuSE: | |
17 | #SECURE_LOG = /var/log/messages | |
18 | # | |
19 | ######################################################################## | |
20 | ||
21 | ######################################################################## | |
22 | # HOSTS_DENY: the file which contains restricted host access information | |
23 | # | |
24 | HOSTS_DENY = /etc/tcpd/hosts.deny | |
25 | # | |
26 | ####################################################################### | |
27 | ||
28 | ||
29 | ####################################################################### | |
30 | # BLOCK_SERVICE: the service name that should be blocked in HOSTS_DENY | |
31 | # | |
32 | # man 5 host_access for details | |
33 | # | |
34 | # | |
35 | # To block all services for the offending host: | |
36 | #BLOCK_SERVICE = ALL | |
37 | # To block only sshd: | |
38 | BLOCK_SERVICE = sshd | |
39 | # | |
40 | ####################################################################### | |
41 | ||
42 | ####################################################################### | |
43 | # | |
44 | # DENY_THRESHOLD: block each host after the number of failed login | |
45 | # attempts has exceeded this value. | |
46 | # | |
47 | DENY_THRESHOLD = 3 | |
48 | # | |
49 | ####################################################################### | |
50 | ||
51 | ####################################################################### | |
52 | # | |
53 | # WORK_DIR: the path that DenyHosts will use for writing data to | |
54 | # (it will be created if it does not already exist). | |
55 | WORK_DIR = denyhosts | |
56 | # | |
57 | ####################################################################### | |
58 | ||
59 | ||
60 | ||
61 | ############ THESE SETTINGS ARE OPTIONAL ############ | |
62 | ||
63 | ||
64 | ||
65 | ####################################################################### | |
66 | # | |
67 | # ADMIN_EMAIL: if you would like to receive emails regarding newly | |
68 | # restricted hosts and suspicious logins, set this address to | |
69 | # match your email address. If you do not want to receive these reports | |
70 | # leave this field blank (or run with the --noemail option) | |
71 | # | |
72 | ADMIN_EMAIL = root@localhost | |
73 | # | |
74 | ####################################################################### | |
75 | ||
76 | ####################################################################### | |
77 | # | |
78 | SMTP_HOST = localhost | |
79 | SMTP_PORT = 25 | |
80 | SMTP_FROM = DenyHosts | |
81 | SMTP_SUBJECT = DenyHosts Report | |
82 | # | |
83 | ####################################################################### | |
84 |