denyhost: renamed from denyhosts which is a dead project, denyhost is a active fork of denyhosts
This commit is contained in:
parent
6db33dc1eb
commit
91b1410836
@ -1,13 +1,13 @@
|
|||||||
# Description: DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks.
|
# Description: A script intended to be run by Linux system administrators to help thwart ssh server attacks. (fork of denyhosts)
|
||||||
# URL: http://denyhost.sourceforge.net/
|
# URL: http://denyhost.sourceforge.net/
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||||
# Packager: Danny Rawlins, crux at romster dot me
|
# Packager: Danny Rawlins, crux at romster dot me
|
||||||
# Depends on: python
|
# Depends on: python
|
||||||
|
|
||||||
name=denyhosts
|
name=denyhost
|
||||||
version=2.9
|
version=2.9
|
||||||
release=1
|
release=1
|
||||||
source=(http://downloads.sourceforge.net/project/denyhost/denyhost-$version/$name-$version.tar.gz)
|
source=(http://downloads.sourceforge.net/project/$name/$name-$version/denyhosts-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd DenyHosts-$version
|
cd DenyHosts-$version
|
||||||
@ -31,4 +31,10 @@ build() {
|
|||||||
-e 's|^DENYHOSTS_LOCK = .*|DENYHOSTS_LOCK = "/var/run/denyhosts.pid"|' \
|
-e 's|^DENYHOSTS_LOCK = .*|DENYHOSTS_LOCK = "/var/run/denyhosts.pid"|' \
|
||||||
-e 's|^DENYHOSTS_CFG = .*|DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"|' \
|
-e 's|^DENYHOSTS_CFG = .*|DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"|' \
|
||||||
$PKG/etc/rc.d/denyhosts
|
$PKG/etc/rc.d/denyhosts
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e 's|^SECURE_LOG = /var/log/auth.log|SECURE_LOG = /var/log/auth|' \
|
||||||
|
-e 's|^IPTABLES = /sbin/iptables|IPTABLES = /usr/sbin/iptables|' \
|
||||||
|
-e 's|^# BLOCKPORT = 22|BLOCKPORT = 22|' \
|
||||||
|
$PKG/etc/denyhosts/denyhosts.conf
|
||||||
}
|
}
|
@ -1,3 +1,6 @@
|
|||||||
|
This is a fork of denyhosts, it'll run the same with a few small changes. I
|
||||||
|
expect more code cleanup and a total shift to iptables in future.
|
||||||
|
|
||||||
REQUIREMENTS:
|
REQUIREMENTS:
|
||||||
|
|
||||||
PRECAUTION:
|
PRECAUTION:
|
Loading…
x
Reference in New Issue
Block a user