Sisyphus repository
Last update: 16 january 2021 | SRPMs: 17779 | Visits: 20061674
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 

# This spec for backport to M30 is autogenerated. Do not edit it.
Name: BlockHosts
Version: 1.0.4
Release: alt0.M30.0.1

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.bz2

# manually removed: eric

# Automatically added by buildreq on Mon Oct 31 2005
BuildRequires: python-base python-dev python-modules-compiler python-modules-encodings

BuildRequires: rpm-build-compat >= 0.4

%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 -q

%build


python setup.py build

%install
python setup.py install --root=%buildroot --record=INSTALLED_FILES

%files -f INSTALLED_FILES
%doc blockhosts.html
%config(noreplace) %_sysconfdir/*
%_bindir/*

%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