Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37910480
en ru br
ALT Linux repositórios
S:2.2.8-alt1
5.0: 2.2.6-alt2
4.1: 2.2.6-alt2
4.0: 2.2.6-alt2
3.0: 2.2.5-alt2

Group :: Sistema/Servidores
RPM: scanlogd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: scanlogd
Version: 2.2.5
Release: alt2

Summary: A tool to detect and log TCP port scans
License: GPL
Group: System/Servers
Url: http://www.openwall.com/%name/

Source: ftp://ftp.openwall.com/pub/projects/%name/%name-%version.tar.bz2
Source1: %name.init

Requires(post): shadow-utils, %post_service
Requires(preun): %preun_service

Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÄÌÑ ÏÂÎÁÒÕÖÅÎÉÑ ÓËÁÎÉÒÏ×ÁÎÉÑ TCP-ÐÏÒÔÏ×

%description
scanlogd detects port scans and writes one line per scan via the syslog(3)
mechanism.  If a source address sends multiple packets to different ports
in a short time, the event will be logged.

%description -l ru_RU.KOI8-R
scanlogd Ñ×ÌÑÅÔÓÑ ÐÏÓÔÏÑÎÎÏ ÒÁÂÏÔÁÀÝÉÍ ÓÅÒ×ÉÓÏÍ, ÓÌÅÄÑÝÉÍ ÚÁ ÓÅÔÅ×ÙÍÉ ÐÏÒÔÁÍÉ
TCP/IP. ëÁÖÄÙÊ ÒÁÚ, ËÏÇÄÁ ÏÎ ÏÂÎÁÒÕÖÉ×ÁÅÔ ÓËÁÎÉÒÏ×ÁÎÉÅ ÐÏÒÔÏ× Ó ËÁËÏÇÏ-ÌÉÂÏ
×ÎÅÛÎÅÇÏ ÕÚÌÁ, ÏÎ ÄÅÌÁÅÔ Ï ÜÔÏÍ ÚÁÐÉÓØ × ÓÉÓÔÅÍÎÏÍ ÖÕÒÎÁÌÅ (ÓÍ. man 3 syslog).
óËÁÎÉÒÏ×ÁÎÉÅÍ ÓÞÉÔÁÅÔÓÑ ÐÒÉÈÏÄ Ó ÏÄÎÏÇÏ IP-ÁÄÒÅÓÁ ÂÏÌØÛÏÇÏ ËÏÌÉÞÅÓÔ×Á
ÓÅÔÅ×ÙÈ ÐÁËÅÔÏ× ÎÁ ÂÏÌØÛÏÅ ËÏÌÉÞÅÓÔ×Ï ÐÏÒÔÏ× × ËÏÒÏÔËÏÅ ×ÒÅÍÑ.

%prep
%setup -q

%build
make clean
make linux CFLAGS="-c $RPM_OPT_FLAGS %optflags_notraceback"

%install
%__mkdir_p $RPM_BUILD_ROOT{%_sbindir,%_mandir/man8,%_initdir}
%__install -p -m755 %name $RPM_BUILD_ROOT%_sbindir/
%__install -p -m644 %name.8 $RPM_BUILD_ROOT%_man8dir/
%__install -p -m755 %SOURCE1 $RPM_BUILD_ROOT%_initdir/%name

%post
/usr/sbin/groupadd -r -f %name
/usr/sbin/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%post_service %name

%preun
%preun_service %name

%files
%config %_initdir/*
%_sbindir/*
%_mandir/man?/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009