Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1494089
 поиск   регистрация   авторизация 
 
Группа :: Безопасность/Сети
Пакет: fiaif

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

# FIAIF is an Intelligent firewall
#
# RPM specification file.
#
# Author: Anders Fugmann <afu at fugmann.dhs.org>
#
# FIAIF is an Intelligent firewall
# Copyright (C) 2002-2003 Anders Peter Fugmann
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Name: fiaif
Version: 1.20.1
Release: alt0.M24.1

Summary: FIAIF is an Intelligent Firewall for iptables based Linux systems
Summary(ru_RU.UTF-8): FIAIF - п╦п╫я┌п╣п╩п╩п╣п╨я┌я┐п╟п╩я▄п╫я▀п╧ п╪п╣п╤я│п╣я┌п╣п╡п╬п╧ я█п╨я─п╟п╫ п╢п╩я▐ Linux-я│п╦я│я┌п╣п╪ я│ iptables

License: GPL
Group: Security/Networking
URL: http://www.fiaif.net/

Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildArch: noarch

Source0: http://www.fiaif.net/dist/%{name}_%version.tar.gz
Patch0: %name-1.19.2-alt-fiaif_update.patch
Patch1: %name-1.20.1-alt-reserved_networks.patch
Patch2: %name-1.19.2-alt-test_location.patch
Patch3: %name-1.19.2-alt-fiaif_script_actions.patch
Patch4: %name-1.20.1-alt-CBQ-awk_rules.patch
Patch5: %name-1.20.1-alt-CBQ-config_fixes.patch
Patch6: %name-1.20.1-alt-CBQ-declare.patch
Patch7: %name-1.20.1-alt-CBQ-documentation.patch
Patch8: %name-1.20.1-alt-CBQ-legacy_support.patch

Requires: iptables >= 1.2.6a, bash >= 2.04
BuildPreReq: dia, tetex, tetex-dvips, tetex-latex

%description
FIAIF is  an  Intellegent  Firewall. The Goal of  FIAIF  is to
provide  a  highly  customizable  script  for  setting  up  an
iptables based firewall.

Unlike  many  other scripts,  FIAIF  can  be truly  customized
allowing multiple  interfaces (or  rather zones). There  is no
limit  on  the number  of  zones.  All configuration  is  done
through configuration files. No  need to understand the script
behind it all.

The script makes heavy use  of state-full firewalling, and all
RELATED and ESTABLISHED packets are accepted on all chains. If
you which  to block  something out,  do not  accept it  in the
first place.

The script is written in BASH.  Though this is not the optimal
program to use, it means that you do not need to install extra
interpreters  on your  firewall.  This allows  you  to have  a
minimalistic installation on your firewall.

Install this package if your machine is ever on the internet.

%description -l ru_RU.UTF-8
FIAIF - я│п╨я─п╦п©я┌ я│ я┬п╦я─п╬п╨п╦п╪п╦ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐п╪п╦ п╫п╟я│я┌я─п╬п╧п╨п╦ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐
п╪п╣п╤я│п╣я┌п╣п╡я▀я┘ я█п╨я─п╟п╫п╬п╡ п╫п╟ п╠п╟п╥п╣ iptables.

п÷п╬ я│я─п╟п╡п╫п╣п╫п╦я▌ я│  п╪п╫п╬пЁп╦п╪п╦  п╢я─я┐пЁп╦п╪п╦ я│п╨я─п╦п©я┌п╟п╪п╦,  FIAIF п╪п╬п╤п╣я┌  п╠я▀я┌я▄
я│п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫ п╢п╩я▐  п©п╬п╢п╢п╣я─п╤п╨п╦ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘  я│п╣я┌п╣п╡я▀я┘ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╡
(п╦п╩п╦  п╦п╫п╟я┤п╣ п╥п╬п╫).  п▓  п╫я▒п╪ п╫п╣я┌  п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╧  п╫п╟ я┤п╦я│п╩п╬ п╥п╬п╫.  п▓я│я▐
п╫п╟я│я┌я─п╬п╧п╨п╟  п©я─п╬п╦я│я┘п╬п╢п╦я┌  я┤п╣я─п╣п╥   я└п╟п╧п╩я▀  п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦,  п©я─п╦  я█я┌п╬п╪
п╦п╥я┐я┤п╟я┌я▄ п©я─п╦я├п╦п©я▀ я─п╟п╠п╬я┌я▀ я│п╟п╪п╬пЁп╬ я│п╨я─п╦п©я┌п╟ п╫п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦.

FIAIF  я┬п╦я─п╬п╨п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌  п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ iptables п©п╬ п╬я┌я│п╩п╣п╤п╦п╡п╟п╫п╦я▌
я│п╬я│я┌п╬я▐п╫п╦п╧  я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫я▀я┘  я│п╬п╣п╢п╦п╫п╣п╫п╦п╧,  RELATED  п╦  ESTABLISHED
п©п╟п╨п╣я┌я▀ п©я─п╦п╫п╦п╪п╟я▌я┌я│я▐  п╡п╬ п╡я│п╣я┘ я├п╣п©п╬я┤п╨п╟я┘.  п∙я│п╩п╦ п▓я▀ я┘п╬я┌п╦я┌п╣ я┤я┌п╬-п╩п╦п╠п╬
п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ п╨п╟п╨п╦п╣-п╩п╦п╠п╬ я│п╬п╣п╢п╦п╫п╣п╫п╦я▐, п©я─п╬я│я┌п╬ п╫п╣ п©я─п╦п╫п╦п╪п╟п╧я┌п╣ п╦я┘.

FIAIF п╫п╟п©п╦я│п╟п╫ п╫п╟ BASH.  п╔п╬я┌я▐ bash - п╫п╣ я│п╟п╪я▀п╧  п╬п©я┌п╦п╪п╟п╩я▄п╫я▀п╧ я▐п╥я▀п╨
п╢п╩я▐  п╫п╟п©п╦я│п╟п╫п╦я▐  п╠п╬п╩я▄я┬п╦я┘ я│п╨я─п╦п©я┌п╬п╡,  п╥п╟я┌п╬  п╢п╩я▐  я─п╟п╠п╬я┌я▀ FIAIF  п╫п╣
я┌я─п╣п╠я┐п╣я┌я│я▐  я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄  п╩п╦я┬п╫п╦п╣ п╦п╫я┌п╣я─п©я─п╣я┌п╟я┌п╬я─я▀  п╫п╟ п╪п╣п╤я│п╣я┌п╣п╡п╬п╪
я█п╨я─п╟п╫п╣.

%package doc
Summary: FIAIF documentation
Summary(ru_RU.UTF-8): п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ п╨ FIAIF
Group: Books/Other
Requires: %name = %version
Provides: %name-doc = %version-%release
Obsoletes: %name-doc

%description doc
FIAIF is  an  Intellegent  Firewall. The Goal of  FIAIF  is to
provide  a  highly  customizable  script  for  setting  up  an
iptables based firewall.

This package contains FIAIF documentation: user guide and FAQ.

%description doc  -l ru_RU.UTF-8
FIAIF - я│п╨я─п╦п©я┌ я│ я┬п╦я─п╬п╨п╦п╪п╦ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐п╪п╦ п╫п╟я│я┌я─п╬п╧п╨п╦ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐
п╪п╣п╤я│п╣я┌п╣п╡я▀я┘ я█п╨я─п╟п╫п╬п╡ п╫п╟ п╠п╟п╥п╣ iptables.

п■п╟п╫п╫я▀п╧ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▌ п╨ FIAIF - я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬
п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ FAQ.

%define fiaif_conf  %_sysconfdir/fiaif

%prep
%setup
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0

# Fix path to fiaif main script

%__subst 's at /etc/init.d at /etc/rc.d/init.d at ' cron/fiaif

%build
DISPLAY=0:0 LANG=RU_ru.KOI8-R %__make fiaif.ps
[ -f fiaif.ps ] && gzip -9 fiaif.ps

%install
%__make install DESTDIR=$RPM_BUILD_ROOT
%__make install-config DESTDIR=$RPM_BUILD_ROOT
%__install -d $RPM_BUILD_ROOT{%_sbindir,%_mandir/man8} \
             $RPM_BUILD_ROOT%_sysconfdir/rc.d/init.d
%__install prog/fiaif $RPM_BUILD_ROOT%_initdir/fiaif

# Removing unnecessary but installed files

%__rm -rf -- $RPM_BUILD_ROOT%_sysconfdir/init.d/%name
%__rm -rf -- $RPM_BUILD_ROOT%_defaultdocdir/%name


%post
%post_service %name

%preun
%preun_service %name

%files
%doc VERSION changelog
%doc doc/reporting_bugs.txt doc/upgrade.txt doc/DHCP.txt

%dir %attr(0700,root,root) %fiaif_conf/
%dir %attr(0700,root,root) %_var/lib/%name/

%config(noreplace) %fiaif_conf/aliases
%config(noreplace) %fiaif_conf/zone.dmz
%config(noreplace) %fiaif_conf/zone.ext
%config(noreplace) %fiaif_conf/zone.int
%config(noreplace) %fiaif_conf/fiaif.conf
%config(noreplace) %fiaif_conf/reserved_networks
%config(noreplace) %fiaif_conf/private_networks
%config(noreplace) %fiaif_conf/type_of_services

    %attr(0700,root,root) %_sysconfdir/cron.daily/%name
    %_initdir/%name
    %_sbindir/*

%dir %_datadir/%name/
    %_datadir/%name/*

    %_mandir/man?/*

%files doc
%doc fiaif.ps.gz doc/faq.txt

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005