]> git.pld-linux.org Git - packages/DenyHosts.git/blame - DenyHosts.cfg
- import
[packages/DenyHosts.git] / DenyHosts.cfg
CommitLineData
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:
11SECURE_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#
24HOSTS_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:
38BLOCK_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#
47DENY_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).
55WORK_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#
72ADMIN_EMAIL = root@localhost
73#
74#######################################################################
75
76#######################################################################
77#
78SMTP_HOST = localhost
79SMTP_PORT = 25
80SMTP_FROM = DenyHosts
81SMTP_SUBJECT = DenyHosts Report
82#
83#######################################################################
84
This page took 0.078564 seconds and 4 git commands to generate.