initial commit of file from CVS for smeserver-denyhosts on Sat Sep 7 19:51:06 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 19:51:06 +10:00
parent 0752bb2038
commit 52e223dd5f
72 changed files with 2173 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
{
my $ADMIN_EMAIL = ( $denyhosts{'AdminEmail'} || 'admin@localhost');
$OUT="ADMIN_EMAIL = $ADMIN_EMAIL ";
}

View File

@@ -0,0 +1 @@
AGE_RESET_INVALID=10d

View File

@@ -0,0 +1 @@
AGE_RESET_RESTRICTED=25d

View File

@@ -0,0 +1 @@
AGE_RESET_ROOT=25d

View File

@@ -0,0 +1 @@
AGE_RESET_VALID=5d

View File

@@ -0,0 +1 @@
BLOCK_SERVICE =

View File

@@ -0,0 +1 @@
DAEMON_LOG = /var/log/denyhosts

View File

@@ -0,0 +1 @@
DAEMON_PURGE = 1h

View File

@@ -0,0 +1 @@
DAEMON_SLEEP = 30s

View File

@@ -0,0 +1 @@
DENY_THRESHOLD_INVALID = 2

View File

@@ -0,0 +1 @@
DENY_THRESHOLD_RESTRICTED = 1

View File

@@ -0,0 +1 @@
DENY_THRESHOLD_ROOT = 1

View File

@@ -0,0 +1 @@
DENY_THRESHOLD_VALID = 2

View File

@@ -0,0 +1,3 @@
# default EPEL does not work for SME ( trailing $)
FAILED_ENTRY_REGEX2 = (?P<invalid>(Illegal|Invalid)) user (?P<user>.*) from (::ffff:)?(?P<host>\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\})

View File

@@ -0,0 +1,3 @@
# default EPEL does not work for SME ( trailing $)
FAILED_ENTRY_REGEX6 = Did not receive identification string .*from (::ffff:)?(?P<host>\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\})

View File

@@ -0,0 +1,3 @@
# default EPEL does not work for SME ( trailing $)
FAILED_ENTRY_REGEX7 = User (?P<user>.*) from (::ffff:)?(?P<host>\S+) not allowed because not listed in AllowUsers

View File

@@ -0,0 +1 @@
HOSTNAME_LOOKUP=YES

View File

@@ -0,0 +1 @@
HOSTS_DENY = /etc/hosts.deny_ssh

View File

@@ -0,0 +1 @@
LOCK_FILE = /var/run/denyhosts.pid

View File

@@ -0,0 +1 @@
PURGE_DENY = 1w

View File

@@ -0,0 +1 @@
RESET_ON_SUCCESS = yes

View File

@@ -0,0 +1 @@
SECURE_LOG = /var/log/sshd/sshd.log

View File

@@ -0,0 +1 @@
SMTP_FROM = DenyHosts <nobody@{"$DomainName";}>

View File

@@ -0,0 +1 @@
SMTP_HOST = localhost

View File

@@ -0,0 +1 @@
SMTP_PORT = 25

View File

@@ -0,0 +1 @@
SMTP_SUBJECT = DenyHosts Report

View File

@@ -0,0 +1 @@
SSHD_FORMAT_REGEX = @[0-9a-f]\{24\}(?P<message>.*)

View File

@@ -0,0 +1,3 @@
# default EPEL does not work for SME ( trailing $)
SUCCESSFUL_ENTRY_REGEX = Accepted (?P<method>\S+) for (?P<user>.*?) from (::ffff:)?(?P<host>\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\})( port \d+)?( ssh2)?

View File

@@ -0,0 +1 @@
SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES

View File

@@ -0,0 +1 @@
SYSLOG_REPORT=YES

View File

@@ -0,0 +1 @@
WORK_DIR = /var/lib/denyhosts

View File

@@ -0,0 +1,4 @@
{
my @vals = split ",", ($denyhosts{ValidFrom} || '');
$OUT = join "\n", @vals;
}

View File

@@ -0,0 +1 @@
127.0.0.1