2004-02-14 19:06:39 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
<article id="shorewall_prerequisites">
|
|
|
|
<!--$Id$-->
|
|
|
|
|
|
|
|
<articleinfo>
|
|
|
|
<title>Shorewall Requirements</title>
|
|
|
|
|
|
|
|
<author>
|
|
|
|
<firstname>Tom</firstname>
|
|
|
|
|
|
|
|
<surname>Eastep</surname>
|
|
|
|
</author>
|
|
|
|
|
2005-04-07 18:35:59 +02:00
|
|
|
<pubdate>2005-03-22</pubdate>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<copyright>
|
2005-02-10 02:34:40 +01:00
|
|
|
<year>2001-2005</year>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<holder>Thomas M Eastep</holder>
|
|
|
|
</copyright>
|
|
|
|
|
|
|
|
<legalnotice>
|
|
|
|
<para>Permission is granted to copy, distribute and/or modify this
|
|
|
|
document under the terms of the GNU Free Documentation License, Version
|
|
|
|
1.2 or any later version published by the Free Software Foundation; with
|
|
|
|
no Invariant Sections, with no Front-Cover, and with no Back-Cover
|
|
|
|
Texts. A copy of the license is included in the section entitled
|
2005-02-10 02:34:40 +01:00
|
|
|
<quote><ulink url="GnuCopyright.htm">GNU Free Documentation
|
|
|
|
License</ulink></quote>.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</legalnotice>
|
|
|
|
</articleinfo>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<title>Shorewall Requires:</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2005-02-10 02:34:40 +01:00
|
|
|
<para>A kernel that supports netfilter. I've tested with 2.4.2 -
|
2005-04-07 18:35:59 +02:00
|
|
|
2.6.11. Check <ulink url="kernel.htm">here</ulink> for kernel
|
|
|
|
configuration information.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2005-02-10 02:34:40 +01:00
|
|
|
<para>iptables 1.2 or later (but I recommend at least version
|
|
|
|
1.2.9)</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Iproute (<quote>ip</quote> utility). The iproute package is
|
|
|
|
included with most distributions but may not be installed by default.
|
|
|
|
The official download site is <ulink type="remote"
|
2005-04-07 18:35:59 +02:00
|
|
|
url="ftp://ftp.inr.ac.ru/ip-routing">http://developer.osdl.org/dev/iproute2/download/</ulink>.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>A Bourne shell or derivative such as bash or ash. This shell
|
2005-02-10 02:34:40 +01:00
|
|
|
must have correct support for variable expansion formats
|
|
|
|
${<emphasis>variable%pattern</emphasis>},
|
|
|
|
${<emphasis>variable%%pattern</emphasis>},
|
|
|
|
${<emphasis>variable#pattern</emphasis>} and
|
|
|
|
${<emphasis>variable##pattern</emphasis>}.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Your shell must produce a sensible result when a number n (128
|
2005-02-10 02:34:40 +01:00
|
|
|
<= n <= 255) is left shifted by 24 bits. You can check this at a
|
|
|
|
shell prompt by:<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>echo $((128 << 24))</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The result must be either 2147483648 or
|
|
|
|
-2147483648.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist></para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The firewall monitoring display is greatly improved if you have
|
|
|
|
awk (gawk) installed.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</article>
|