1 Summary: An easy to use but powerfull iptables stateful firewall
6 Group: Applications
/Internet
7 Source: %{name}-%{version}.tar.bz2
8 URL: http
://firehol.sourceforge.net
10 Packager: Costa Tsaousis
11 BuildArchitectures
: noarch
12 BuildRoot: %{_tmppath}/%{name}-buildroot
14 requires
: bash
>= 2.04
15 requires
: fileutils
>= 4.0.36
17 requires
: grep
>= 2.4.2
18 requires
: iproute
>= 2.2.4
19 requires
: iptables
>= 1.2.4
20 requires
: kernel
>= 2.4
22 requires
: modutils
>= 2.4.13
23 requires
: net
-tools
>= 1.57
25 requires
: sh
-utils
>= 2.0
26 requires
: textutils
>= 2.0.11
27 requires
: util
-linux
>= 2.11
30 FireHOL uses an extremely simple but powerfull way to define
31 firewall rules which it turns into complete stateful iptables
33 FireHOL is a generic firewall generator
, meaning that you can
34 design any kind of
local or routing stateful packet filtering
37 Install FireHOL
if you want an easy way to configure stateful
38 packet filtering firewalls on Linux hosts and routers.
40 You can run FireHOL with the 'helpme' argument
, to get a
41 configuration file
for the system run
, which you can modify
42 according to your needs.
44 The default configuration file will allow only client traffic
48 %{__rm} -rf %{buildroot}
54 mkdir -p
%{buildroot}/etc
/firehol
/examples
55 mkdir -p
%{buildroot}/etc
/firehol
/services
56 test -f
/etc
/firehol.conf
-a
! -f
/etc
/firehol
/firehol.conf
&& mv
-f
/etc
/firehol.conf
/etc
/firehol
/firehol.conf
57 mkdir -p
%{buildroot}/etc
/init.d
58 install -m
750 firehol.sh
%{buildroot}/etc
/init.d
/firehol
59 install -m
640 examples
/client
-all.conf
%{buildroot}/etc
/firehol
/firehol.conf
60 mkdir -p
%{buildroot}/%{_mandir}/man1
61 mkdir -p
%{buildroot}/%{_mandir}/man5
63 gzip
-9 man
/firehol.conf
.5
64 install -m
644 man
/firehol
.1.gz
%{buildroot}/%{_mandir}/man1
/firehol
.1.gz
65 install -m
644 man
/firehol.conf
.5.gz
%{buildroot}/%{_mandir}/man5
/firehol.conf
.5.gz
66 install -m
644 examples
/home
-adsl.conf
%{buildroot}/etc
/firehol
/examples
/home
-adsl.conf
67 install -m
644 examples
/home
-dialup.conf
%{buildroot}/etc
/firehol
/examples
/home
-dialup.conf
68 install -m
644 examples
/office.conf
%{buildroot}/etc
/firehol
/examples
/office.conf
69 install -m
644 examples
/server
-dmz.conf
%{buildroot}/etc
/firehol
/examples
/server
-dmz.conf
70 install -m
644 examples
/client
-all.conf
%{buildroot}/etc
/firehol
/examples
/client
-all.conf
71 install -m
644 examples
/lan
-gateway.conf
%{buildroot}/etc
/firehol
/examples
/lan
-gateway.conf
76 if [ -f
/etc
/firehol.conf
-a
! -f
/etc
/firehol
/firehol.conf
]
78 mv
-f
/etc
/firehol.conf
/etc
/firehol
/firehol.conf
81 echo "FireHOL has now its configuration
in /etc
/firehol
/firehol.conf"
82 echo "Your existing configuration has been moved to its new place."
85 /sbin
/chkconfig
--del firehol
88 /sbin
/chkconfig
--del firehol
93 rm -rf $
{RPM_BUILD_DIR
}/%{name}-%{version}
97 %doc README TODO COPYING ChangeLog WhatIsNew
100 %dir /etc
/firehol
/examples
101 %dir /etc
/firehol
/services
104 %{_mandir}/man1
/firehol
.1.gz
105 %{_mandir}/man5
/firehol.conf
.5.gz
107 %config(noreplace
) /etc
/firehol
/firehol.conf
109 /etc
/firehol
/examples
/home
-adsl.conf
110 /etc
/firehol
/examples
/home
-dialup.conf
111 /etc
/firehol
/examples
/office.conf
112 /etc
/firehol
/examples
/server
-dmz.conf
113 /etc
/firehol
/examples
/client
-all.conf
114 /etc
/firehol
/examples
/lan
-gateway.conf
116 %doc adblock.sh get
-iana.sh check
-iana.sh
121 %doc doc
/language.html
122 %doc doc
/services.html
124 %doc doc
/tutorial.html
125 %doc doc
/commands.html
127 %doc doc
/invoking.html
128 %doc doc
/overview.html
129 %doc doc
/trouble.html