[opensuse] DenyHosts daemon mode on openSUSE 11.3
Hi, 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? :-/ Dreiel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* 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
No more denyhosts packages available for current opensuse editions? Would be nice if there was some workable packages again. Does this got to do with all that systemd and major changes within opensuse system? On Thu, Nov 24, 2011 at 2:20 AM, Patrick Shanahan <paka@opensuse.org> wrote:
* 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
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne Pá 23. ledna 2015 17:06:24, cagsm napsal(a):
No more denyhosts packages available for current opensuse editions? Would be nice if there was some workable packages again. Does this got to do with all that systemd and major changes within opensuse system?
11.3 isn't current, it is totally outdated and not supported any more, see https://en.opensuse.org/Lifetime Denyhosts of course is available for *recent* versions: http://software.opensuse.org/package/denyhosts Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
was only replying to this thread as it was the one that I had already received that was talking about denyhosts. ofcourse I have seen the current 13.2 software page but denyhosts there are all marked as experiemental or unstable or something and besides even those packages are 4 years old last time changed many years ago i wonder if those really do work for 13.1 13.2 tumbleweed or anything current. doesnt really look very promising or actively maintained packages. any clues? thank you. On Fri, Jan 23, 2015 at 5:14 PM, Vojtěch Zeisek <vojtech.zeisek@opensuse.org> wrote:
Dne Pá 23. ledna 2015 17:06:24, cagsm napsal(a):
No more denyhosts packages available for current opensuse editions? Would be nice if there was some workable packages again. Does this got to do with all that systemd and major changes within opensuse system?
11.3 isn't current, it is totally outdated and not supported any more, see https://en.opensuse.org/Lifetime Denyhosts of course is available for *recent* versions: http://software.opensuse.org/package/denyhosts Vojtěch
-- Vojtěch Zeisek
Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux
http://www.opensuse.org/ http://trapa.cz/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* cagsm <cumandgets0mem00f@gmail.com> [01-23-15 12:50]:
was only replying to this thread as it was the one that I had already received that was talking about denyhosts. ofcourse I have seen the current 13.2 software page but denyhosts there are all marked as experiemental or unstable or something and besides even those packages are 4 years old last time changed many years ago i wonder if those really do work for 13.1 13.2 tumbleweed or anything current. doesnt really look very promising or actively maintained packages. any clues? thank you.
On Fri, Jan 23, 2015 at 5:14 PM, Vojtěch Zeisek <vojtech.zeisek@opensuse.org> wrote:
Dne Pá 23. ledna 2015 17:06:24, cagsm napsal(a):
No more denyhosts packages available for current opensuse editions? Would be nice if there was some workable packages again. Does this got to do with all that systemd and major changes within opensuse system?
11.3 isn't current, it is totally outdated and not supported any more, see https://en.opensuse.org/Lifetime Denyhosts of course is available for *recent* versions: http://software.opensuse.org/package/denyhosts Vojtěch
A thread originating LLLActive@GMX.Net <LLLActive@GMX.Net> [11-23-11 19:58]: almost a current as your system. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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
* cagsm <cumandgets0mem00f@gmail.com> [01-23-15 11:09]:
No more denyhosts packages available for current opensuse editions? Would be nice if there was some workable packages again. Does this got to do with all that systemd and major changes within opensuse system?
On Thu, Nov 24, 2011 at 2:20 AM, Patrick Shanahan <paka@opensuse.org> wrote:
* 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
https://software.opensuse.org/package/denyhosts looks like plenty of packages -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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
participants (4)
-
cagsm
-
LLLActive@GMX.Net
-
Patrick Shanahan
-
Vojtěch Zeisek