b2b94c0b3b
http://denyhosts.sourceforge.net/ DenyHosts is a script intended to be run by system administrators to help thwart SSH server attacks (also known as dictionary based attacks and brute force attacks). In short, it does this by monitoring your syslog output for failed login attempts and tweaking /etc/hosts.deny accordingly, and it can optionally send and fetch lists of ssh probers from a central server. Thanks to joerg@ for review and corrections.
15 lines
558 B
Text
15 lines
558 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2007/08/02 17:27:30 he Exp $
|
|
|
|
--- daemon-control-dist.orig 2006-04-22 01:04:43.000000000 +0200
|
|
+++ daemon-control-dist
|
|
@@ -11,7 +11,7 @@
|
|
#### Edit these to suit your configuration ####
|
|
###############################################
|
|
|
|
-DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
|
|
+DENYHOSTS_BIN = "@PREFIX@/bin/denyhosts.py"
|
|
-DENYHOSTS_LOCK = "/var/lock/subsys/denyhosts"
|
|
+DENYHOSTS_LOCK = "@VARBASE@/db/denyhosts/lock"
|
|
-DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
|
|
+DENYHOSTS_CFG = "@PREFIX@/etc/denyhosts.cfg"
|
|
|