ALT Linux repositórios
Group :: Sistema/Servidores
RPM: scanlogd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: scanlogd
Version: 2.2.6
Release: alt2
Summary: A tool to detect and log TCP port scans
License: GPL
Group: System/Servers
Url: http://www.openwall.com/scanlogd/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.openwall.com/pub/projects/scanlogd/scanlogd-%version.tar.gz
Source: scanlogd-%version.tar
Source1: scanlogd.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 %optflags %optflags_notraceback"
%install
mkdir -p %buildroot{%_sbindir,%_mandir/man8,%_initdir}
install -pm755 scanlogd %buildroot%_sbindir/
install -pm644 scanlogd.8 %buildroot%_man8dir/
install -pm755 %_sourcedir/scanlogd.init %buildroot%_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
Version: 2.2.6
Release: alt2
Summary: A tool to detect and log TCP port scans
License: GPL
Group: System/Servers
Url: http://www.openwall.com/scanlogd/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ftp.openwall.com/pub/projects/scanlogd/scanlogd-%version.tar.gz
Source: scanlogd-%version.tar
Source1: scanlogd.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 %optflags %optflags_notraceback"
%install
mkdir -p %buildroot{%_sbindir,%_mandir/man8,%_initdir}
install -pm755 scanlogd %buildroot%_sbindir/
install -pm644 scanlogd.8 %buildroot%_man8dir/
install -pm755 %_sourcedir/scanlogd.init %buildroot%_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