Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37576148
en ru br
Репозитории ALT
S:1.22.1-alt4
5.1: 1.21.1-alt1
4.1: 1.21.1-alt0.M41.1
4.0: 1.21.1-alt0.M40.1
3.0: 1.19.2-alt2
+backports:1.20.1-alt0.M30.1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.21.1

Группа :: Безопасность/Сети
Пакет: fiaif

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

# 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.19.2
Release: alt2

Summary: is an Intelligent Firewall for iptables based Linux systems
Summary(ru_RU.KOI8-R): интеллектуальный межсетевой экран для 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.19.2-alt-reserved_networks.patch
Patch2: %name-1.19.2-alt-test_location.patch
Patch3: %name-1.19.2-alt-fiaif_script_actions.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.KOI8-R
FIAIF - скрипт с широкими возможностями настройки для создания
межсетевых экранов на базе iptables.

По сравнению с  многими  другими скриптами,  FIAIF может  быть
сконфигурирован для  поддержки нескольких  сетевых интерфейсов
(или  иначе зон).  В  нём нет  ограничений  на число зон.  Вся
настройка  происходит  через   файлы  конфигурации,  при  этом
изучать приципы работы самого скрипта нет необходимости.

FIAIF  широко использует  возможности iptables по отслеживанию
состояний  установленных  соединений,  RELATED  и  ESTABLISHED
пакеты принимаются  во всех цепочках.  Если Вы хотите что-либо
блокировать какие-либо соединения, просто не принимайте их.

FIAIF написан на BASH.  Хотя bash - не самый  оптимальный язык
для  написания  больших скриптов,  зато  для  работы FIAIF  не
требуется  устанавливать  лишние интерпретаторы  на межсетевом
экране.

%package doc
Summary: FIAIF documentation
Summary(ru_RU.KOI8-R): документация к FIAIF
Group: Books/Other
Requires: %name = %version-%release
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.KOI8-R
FIAIF - скрипт с широкими возможностями настройки для создания
межсетевых экранов на базе iptables.

Данный пакет содержит документацию к FIAIF - руководство
пользователя и FAQ.


%define fiaif_conf  %_sysconfdir/fiaif

%prep
%setup
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0

%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

%post
%post_service %name

%preun
%preun_service %name


%files
%doc VERSION changelog todo
%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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin