initial commit of file from CVS for smeserver-denyhosts on Sat Sep 7 19:51:06 AEST 2024
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
my $ADMIN_EMAIL = ( $denyhosts{'AdminEmail'} || 'admin@localhost');
|
||||
$OUT="ADMIN_EMAIL = $ADMIN_EMAIL ";
|
||||
|
||||
}
|
@@ -0,0 +1 @@
|
||||
AGE_RESET_INVALID=10d
|
@@ -0,0 +1 @@
|
||||
AGE_RESET_RESTRICTED=25d
|
@@ -0,0 +1 @@
|
||||
AGE_RESET_ROOT=25d
|
@@ -0,0 +1 @@
|
||||
AGE_RESET_VALID=5d
|
@@ -0,0 +1 @@
|
||||
BLOCK_SERVICE =
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/DAEMON_LOG
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/DAEMON_LOG
Normal file
@@ -0,0 +1 @@
|
||||
DAEMON_LOG = /var/log/denyhosts
|
@@ -0,0 +1 @@
|
||||
DAEMON_PURGE = 1h
|
@@ -0,0 +1 @@
|
||||
DAEMON_SLEEP = 30s
|
@@ -0,0 +1 @@
|
||||
DENY_THRESHOLD_INVALID = 2
|
@@ -0,0 +1 @@
|
||||
DENY_THRESHOLD_RESTRICTED = 1
|
@@ -0,0 +1 @@
|
||||
DENY_THRESHOLD_ROOT = 1
|
@@ -0,0 +1 @@
|
||||
DENY_THRESHOLD_VALID = 2
|
@@ -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\})
|
||||
|
@@ -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\})
|
||||
|
@@ -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
|
||||
|
@@ -0,0 +1 @@
|
||||
HOSTNAME_LOOKUP=YES
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/HOSTS_DENY
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/HOSTS_DENY
Normal file
@@ -0,0 +1 @@
|
||||
HOSTS_DENY = /etc/hosts.deny_ssh
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/LOCK_FILE
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/LOCK_FILE
Normal file
@@ -0,0 +1 @@
|
||||
LOCK_FILE = /var/run/denyhosts.pid
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/PURGE_DENY
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/PURGE_DENY
Normal file
@@ -0,0 +1 @@
|
||||
PURGE_DENY = 1w
|
@@ -0,0 +1 @@
|
||||
RESET_ON_SUCCESS = yes
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/SECURE_LOG
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/SECURE_LOG
Normal file
@@ -0,0 +1 @@
|
||||
SECURE_LOG = /var/log/sshd/sshd.log
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_FROM
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_FROM
Normal file
@@ -0,0 +1 @@
|
||||
SMTP_FROM = DenyHosts <nobody@{"$DomainName";}>
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_HOST
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_HOST
Normal file
@@ -0,0 +1 @@
|
||||
SMTP_HOST = localhost
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_PORT
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_PORT
Normal file
@@ -0,0 +1 @@
|
||||
SMTP_PORT = 25
|
@@ -0,0 +1 @@
|
||||
SMTP_SUBJECT = DenyHosts Report
|
@@ -0,0 +1 @@
|
||||
SSHD_FORMAT_REGEX = @[0-9a-f]\{24\}(?P<message>.*)
|
@@ -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)?
|
||||
|
@@ -0,0 +1 @@
|
||||
SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES
|
@@ -0,0 +1 @@
|
||||
SYSLOG_REPORT=YES
|
1
root/etc/e-smith/templates/etc/denyhosts.conf/WORK_DIR
Normal file
1
root/etc/e-smith/templates/etc/denyhosts.conf/WORK_DIR
Normal file
@@ -0,0 +1 @@
|
||||
WORK_DIR = /var/lib/denyhosts
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
my @vals = split ",", ($denyhosts{ValidFrom} || '');
|
||||
$OUT = join "\n", @vals;
|
||||
}
|
@@ -0,0 +1 @@
|
||||
127.0.0.1
|
Reference in New Issue
Block a user