* LLLActive@GMX.Net <LLLActive@GMX.Net> [11-23-11 19:58]:
I am trying to run DenyHosts on OS 11.3. I can get it to sync and update the hosts.deny file, but with "rcdenyhosts status" it reports as being "unused" just after I started it with "rcdenyhosts start". I tried also with yast, setting up as a service (daemon) and starting it. It also stops immediately. In the denyhosts.log file there is no error info, just what it used to set it up at start.
I've gone through the configs several times, no joy. Anyone got DenyHosts running properly?
I've been running it for several years now. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 12461 0.1 0.3 87248 14700 ? S 20:01 0:00 /usr/bin/python /usr/sbin/denyhosts --daemon --purge /--config=/etc/denyhosts.conf here is my config: ############ THESE SETTINGS ARE REQUIRED ############ SECURE_LOG = /var/log/messages HOSTS_DENY = /etc/hosts.deny PURGE_DENY = PURGE_DENY = 1w PURGE_THRESHOLD = 4 BLOCK_SERVICE = sshd BLOCK_SERVICE = ALL DENY_THRESHOLD_INVALID = 3 DENY_THRESHOLD_VALID = 3 DENY_THRESHOLD_ROOT = 3 DENY_THRESHOLD_RESTRICTED = 1 WORK_DIR = /var/lib/denyhosts SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES HOSTNAME_LOOKUP=YES LOCK_FILE = /var/run/denyhosts.pid ############ THESE SETTINGS ARE OPTIONAL ############ ADMIN_EMAIL = <root_mail> SMTP_HOST = localhost SMTP_PORT = 25 SMTP_FROM = DenyHosts <root_mail> SMTP_SUBJECT = DenyHosts Report SYSLOG_REPORT=YES ALLOWED_HOSTS_HOSTNAME_LOOKUP=YES AGE_RESET_VALID=5d AGE_RESET_ROOT=25d AGE_RESET_RESTRICTED=25d AGE_RESET_INVALID=10d ######### THESE SETTINGS ARE SPECIFIC TO DAEMON MODE ########## DAEMON_LOG = /var/log/denyhosts DAEMON_LOG_TIME_FORMAT = %b %d %H:%M:%S DAEMON_LOG_MESSAGE_FORMAT = %(asctime)s - %(name)-12s: %(levelname)-8s %(message)s DAEMON_SLEEP = 30s DAEMON_PURGE = 1h ######### DAEMON SYNCHRONIZATION ########## SYNC_SERVER = http://xmlrpc.denyhosts.net:9911 SYNC_INTERVAL = 1h SYNC_UPLOAD = yes SYNC_DOWNLOAD = yes SYNC_DOWNLOAD_THRESHOLD = 3 SYNC_DOWNLOAD_RESILIENCY = 5h -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org