Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37551027
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.21.1
Release: alt0.M40.1

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

License: %gpl2plus
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
Source1: zone.venet

Patch0: %name-1.21.1-alt-reserved_networks.patch

Patch1: %name-1.19.2-alt-fiaif_update.patch
Patch2: %name-1.19.2-alt-test_location.patch
Patch3: %name-1.19.2-alt-fiaif_script_actions.patch
Patch4: %name-1.21.1-alt-CBQ-legacy_support.patch
Patch5: %name-1.21.1-alt-LSB_init.patch
Patch6: %name-1.21.1-alt-autonumbering_note.patch
Patch7: %name-1.21.1-alt-fiaif_venet_zone.patch

Patch20: %name-1.21.1-debian-02-debug_documentation.patch
Patch21: %name-1.21.1-debian-03-configuration_grammar.patch
Patch22: %name-1.21.1-debian-04-improved_error_msg.patch
Patch23: %name-1.21.1-debian-05-fiaif_scan_IN_spaces.patch
Patch24: %name-1.21.1-debian-07-disable_ext_igmp.patch
Patch25: %name-1.21.1-debian-08-use_fancyhdr.patch
Patch26: %name-1.21.1-debian-09-fiaif_update_network_errors.patch
Patch27: %name-1.21.1-debian-10-correct_voip_rule_typo.patch
Patch28: %name-1.21.1-debian-11-man_pages_title.patch
Patch29: %name-1.21.1-debian-12-allow_bash_array_length.patch
Patch30: %name-1.21.1-debian-13-modprobe_remove_modules.patch



Requires: iptables >= 1.2.6a, bash >= 2.04
BuildRequires(pre): rpm-build-licenses
BuildRequires: 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

%patch20 -p0
%patch21 -p0
%patch22 -p0
%patch23 -p0
%patch24 -p0
%patch25 -p0
%patch26 -p0
%patch27 -p0
%patch28 -p0
%patch29 -p0
%patch30 -p0

# Fix path to fiaif main script

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

# Install sample config for VENET zone

install -m 0644 %SOURCE1 conf/zone.venet
%__subst 's#CONF_FILES=fiaif.conf#CONF_FILES=fiaif.conf zone.venet#' Makefile

%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.*
%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