Sisyphus repository
Last update: 19 february 2020 | SRPMs: 17495 | Visits: 17436860
en ru br
ALT Linux repos
S:2.7.0-alt1
5.0: 2.3.1-alt1.1
4.1: 2.3.1-alt1.1
4.0: 2.0.2-alt1
3.0:
+backports:1.0.4-alt0.M30.0.1

Group :: Text tools
RPM: BlockHosts

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: BlockHosts
Version: 2.7.0
Release: alt1

Summary: Block IP Addresses based on information in system logs related to SSH/FTP failures

License: GPL
Group: Text tools
Url: http://www.aczoom.com/cms/blockhosts/

BuildArch: noarch
Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.aczoom.com/tools/blockhosts/%name-%version.tar

# installs script checks /etc/logrotate dir

BuildPreReq: logrotate
# Automatically added by buildreq on Sat Jan 30 2010
BuildRequires: python-devel

%description
Block IP Addresses based on information in system logs
related to SSH/FTP or other such login attacks.

Updates hosts.allow file automatically, to block IP addresses.
Will also expire previously blocked addresses based on age of last failed
login attempt, this keeps the hosts.allow file size manageable.

%prep
%setup

%build
%python_build

%install
%python_install
rm -f %buildroot%python_sitelibdir/*.egg-info

%files
%doc CHANGES README blockhosts.html
%_bindir/*
%config(noreplace) %_logrotatedir/blockhosts
%config(noreplace) %_sysconfdir/blockhosts.cfg

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin