2007-06-24 18:54:21 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-07-07 22:22:09 +02:00
|
|
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2007-06-24 18:54:21 +02:00
|
|
|
<article>
|
|
|
|
<!--$Id$-->
|
|
|
|
|
|
|
|
<articleinfo>
|
2017-01-02 18:17:59 +01:00
|
|
|
<title>Anatomy of Shorewall 5.0/5.1</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<firstname>Tom</firstname>
|
|
|
|
|
|
|
|
<surname>Eastep</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
|
|
|
|
<pubdate><?dbtimestamp format="Y/m/d"?></pubdate>
|
|
|
|
|
|
|
|
<copyright>
|
|
|
|
<year>2007</year>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<year>2009</year>
|
|
|
|
|
2012-01-02 19:19:07 +01:00
|
|
|
<year>2012</year>
|
|
|
|
|
2015-05-05 23:35:42 +02:00
|
|
|
<year>2015</year>
|
|
|
|
|
2017-01-02 18:17:59 +01:00
|
|
|
<year>2017</year>
|
|
|
|
|
2007-06-24 18:54:21 +02: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
|
2023-01-19 23:17:25 +01:00
|
|
|
no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
2007-06-24 18:54:21 +02:00
|
|
|
Texts. A copy of the license is included in the section entitled
|
|
|
|
<quote><ulink url="GnuCopyright.htm">GNU Free Documentation
|
|
|
|
License</ulink></quote>.</para>
|
|
|
|
</legalnotice>
|
|
|
|
</articleinfo>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="Products">
|
2007-06-24 18:54:21 +02:00
|
|
|
<title>Products</title>
|
|
|
|
|
2016-02-18 00:32:47 +01:00
|
|
|
<para>Shorewall 5.0 consists of six packages.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<orderedlist>
|
2012-01-02 19:19:07 +01:00
|
|
|
<listitem>
|
|
|
|
<para><emphasis role="bold">Shorewall Core</emphasis>. This package
|
|
|
|
contains the core Shorewall shell libraries and is required to install
|
2017-01-02 18:17:59 +01:00
|
|
|
any of the other packages. Beginning with Shorewall 5.1.0, it also
|
|
|
|
includes the Command Line Interface (CLI) program common to all of the
|
|
|
|
packages.</para>
|
2012-01-02 19:19:07 +01:00
|
|
|
</listitem>
|
|
|
|
|
2007-06-24 18:54:21 +02:00
|
|
|
<listitem>
|
2009-02-28 04:45:43 +01:00
|
|
|
<para><emphasis role="bold">Shorewall</emphasis>. This package must be
|
|
|
|
installed on at least one system in your network. It contains
|
|
|
|
everything needed to create an IPv4 firewall.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2009-02-28 04:45:43 +01:00
|
|
|
<para><emphasis role="bold">Shorewall6</emphasis>. This package
|
|
|
|
requires the Shorewall package and adds those components needed to
|
2016-07-06 14:46:32 +02:00
|
|
|
create an IPv6 firewall.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2009-02-28 04:45:43 +01:00
|
|
|
<para><emphasis role="bold">Shorewall-lite</emphasis>. Shorewall
|
|
|
|
allows for central administration of multiple IPv4 firewalls through
|
|
|
|
use of Shorewall lite. The full Shorewall product is installed on a
|
|
|
|
central administrative system where compiled Shorewall scripts are
|
|
|
|
generated. These scripts are copied to the firewall systems where they
|
|
|
|
run under the control of Shorewall-lite.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2009-02-28 04:45:43 +01:00
|
|
|
<para><emphasis role="bold">Shorewall6-lite</emphasis>. Shorewall
|
|
|
|
allows for central administration of multiple IPv4 firewalls through
|
|
|
|
use of Shorewall lite. The full Shorewall product is installed on a
|
|
|
|
central administrative system where compiled Shorewall scripts are
|
|
|
|
generated. These scripts are copied to the firewall systems where they
|
|
|
|
run under the control of Shorewall-lite.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
|
|
|
|
<listitem>
|
2017-01-02 18:17:59 +01:00
|
|
|
<para><emphasis role="bold">Shorewall-init</emphasis>. An add-on to
|
|
|
|
any of the above packages that allows the firewall state to be altered
|
|
|
|
in reaction to interfaces coming up and going down. Where Upstart is
|
|
|
|
not being used, this package can also be configured to place the
|
|
|
|
firewall in a safe state prior to bringing up the network
|
|
|
|
interfaces.</para>
|
2012-01-02 19:19:07 +01:00
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
</orderedlist>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="Shorewall">
|
2009-02-28 04:45:43 +01:00
|
|
|
<title>Shorewall</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2015-05-05 23:35:42 +02:00
|
|
|
<para>The Shorewall package includes a large number of files which were
|
|
|
|
traditionally installed in <filename class="directory">/sbin</filename>,
|
|
|
|
<filename class="directory">/usr/share/shorewall</filename>, <filename
|
2007-06-24 18:54:21 +02:00
|
|
|
class="directory">/etc/shorewall</filename>,
|
|
|
|
<filename>/etc/init.d</filename> and <filename
|
2008-08-15 03:26:15 +02:00
|
|
|
class="directory">/var/lib/shorewall/</filename>. These are described in
|
2017-01-02 18:17:59 +01:00
|
|
|
the sub-sections that follow. </para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2016-10-31 19:09:06 +01:00
|
|
|
<important>
|
|
|
|
<para>Since Shorewall 4.5.2, each of these directories is now
|
|
|
|
relocatable using the <ulink url="Install.htm#idp8774904608">configure
|
|
|
|
scripts included with Shorewall Core</ulink>. These scripts set shell
|
|
|
|
variables in the shorewallrc file which is normally installed in
|
|
|
|
/usr/share/shorewall/. The name of the variable is included in
|
|
|
|
parentheses in the section headings below.</para>
|
|
|
|
</important>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="sbin">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/sbin ($SBINDIR)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2008-08-30 03:00:50 +02:00
|
|
|
<para>The <filename>/sbin/shorewall</filename> shell program is used to
|
2007-06-24 18:54:21 +02:00
|
|
|
interact with Shorewall. See <ulink
|
2012-02-23 00:59:28 +01:00
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8).</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="share-shorewall">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/usr/share/shorewall (${SHAREDIR}/shorewall)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>The bulk of Shorewall is installed here.</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>action.template</filename> - template file for
|
|
|
|
creating <ulink url="Actions.html">actions</ulink>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>action.*</filename> - standard Shorewall
|
|
|
|
actions.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>actions.std</filename> - file listing the standard
|
|
|
|
actions.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>compiler.pl</filename> - The configuration compiler
|
|
|
|
perl program.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2007-06-24 18:54:21 +02:00
|
|
|
<listitem>
|
|
|
|
<para><filename class="directory">configfiles</filename> - A
|
|
|
|
directory containing configuration files to copy to create a <ulink
|
2011-09-28 03:13:57 +02:00
|
|
|
url="Shorewall-Lite.html">Shorewall-lite export
|
2007-06-24 18:54:21 +02:00
|
|
|
directory.</ulink></para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename><filename>configpath</filename></filename> - A file
|
|
|
|
containing distribution-specific path assignments.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>firewall</filename> - A shell program that handles
|
|
|
|
the <command>add</command> and <command>delete</command> commands
|
|
|
|
(see <ulink url="manpages/shorewall.html">shorewall</ulink>(8)). It
|
|
|
|
also handles the <command>stop</command> and
|
|
|
|
<command>clear</command> commands when there is no current compiled
|
|
|
|
firewall script on the system.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2007-07-29 16:53:53 +02:00
|
|
|
<para><filename class="symlink">functions</filename> - A symbolic
|
2007-06-24 18:54:21 +02:00
|
|
|
link to <filename>lib.base</filename> that provides for
|
|
|
|
compatibility with older versions of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename class="symlink">init</filename> - A symbolic link to
|
|
|
|
the init script (usually
|
|
|
|
<filename>/etc/init.d/shorewall</filename>).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>lib.*</filename> - Shell function libraries used by
|
2015-05-07 03:39:32 +02:00
|
|
|
the other shell programs. Most of these are actually provided by
|
|
|
|
Shorewall-core.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2016-12-28 20:24:30 +01:00
|
|
|
<para><filename>macro.*</filename> - The standard Shorewall <ulink
|
2007-06-24 18:54:21 +02:00
|
|
|
url="Macros.html">macros</ulink>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
<para><filename>modules.*</filename> - File that drives the loading
|
|
|
|
of Netfilter kernel modules. May be overridden by
|
2007-06-24 18:54:21 +02:00
|
|
|
<filename>/etc/shorewall/modules</filename>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>prog.*</filename> - Shell program fragments used as
|
|
|
|
input to the compiler.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename class="directory">Shorewall</filename> - Directory
|
|
|
|
containing the Shorewall Perl modules used by the compiler.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2015-05-07 03:39:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para><filename>shorewallrc</filename> - A file that specifies where
|
|
|
|
all of the other installed components (from all packages) are
|
|
|
|
installed.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2007-06-24 18:54:21 +02:00
|
|
|
<listitem>
|
|
|
|
<para><filename>version</filename> - A file containing the currently
|
|
|
|
install version of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>wait4ifup</filename> - A shell program that <ulink
|
|
|
|
url="shorewall_extension_scripts.htm">extension scripts</ulink> can
|
|
|
|
use to delay until a network interface is available.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="shorewall">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/etc/shorewall (${CONFDIR}/shorewall)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<para>This is where the modifiable IPv4 configuration files are
|
2007-06-24 18:54:21 +02:00
|
|
|
installed.</para>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="init">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/etc/init.d or /etc/rc.d (depends on distribution) ($INITDIR) or
|
|
|
|
/lib/systemd/system ($SERVICEDIR)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>An init script is installed here. Depending on the distribution,
|
|
|
|
it is named <filename>shorewall</filename> or
|
2016-10-31 19:09:06 +01:00
|
|
|
<filename>rc.firewall</filename>. Only installed on systems where
|
|
|
|
systemd is not installed.</para>
|
|
|
|
|
|
|
|
<para>When systemd is installed, the Shorewall .service files are
|
|
|
|
installed in the directory specified by the SERVICEDIR variable in
|
|
|
|
<filename>/usr/share/shorewall/shorewallrc</filename>.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="var">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/var/lib/shorewall (${VARLIB}/shorewall)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>Shorewall doesn't install any files in this directory but rather
|
2007-07-15 02:59:17 +02:00
|
|
|
uses the directory for storing state information. This directory may be
|
|
|
|
relocated using <ulink
|
|
|
|
url="manpages/shorewall-vardir.html">shorewall-vardir</ulink>(5).</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2008-08-30 03:00:50 +02:00
|
|
|
<para><filename>.iptables-restore-input</filename> - The file passed
|
2007-06-24 18:54:21 +02:00
|
|
|
as input to the iptables-restore program to initialize the firewall
|
|
|
|
during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8)).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modules</filename> - The contents of the modules
|
|
|
|
file used during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8) for command
|
|
|
|
information).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modulesdir</filename> - The MODULESDIR setting
|
|
|
|
(<ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5)) at the
|
2008-08-30 03:00:50 +02:00
|
|
|
last <command>start</command> or <command>restart</command>.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>nat</filename> - This unfortunately-named file
|
|
|
|
records the IP addresses added by ADD_SNAT_ALIASES=Yes and
|
|
|
|
ADD_IP_ALIASES=Yes in <ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>proxyarp</filename> - Records the arp entries added
|
|
|
|
by entries in <ulink
|
|
|
|
url="manpages/shorewall-proxyarp.html">shorewall-proxyarp</ulink>(5).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.refresh</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restart</filename> - The shell program that
|
|
|
|
performed the last successful <command>restart</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>restore</filename> - The default shell program used
|
|
|
|
to execute <command>restore</command> commands.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restore</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh, restart</command> or
|
|
|
|
<command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>save</filename> - File created by the
|
|
|
|
<command>save</command> command and used to restore the dynamic
|
|
|
|
blacklist during <command>start/restart</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.start</filename> - The shell program that performed
|
|
|
|
the last successful <command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>state</filename> - Records the current firewall
|
|
|
|
state.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>zones</filename> - Records the current zone
|
|
|
|
contents.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<section id="Shorewall-perl">
|
|
|
|
<title>Shorewall6</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<para>Shorewall6 installs its files in a number of directories:</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<section id="sbin6">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/sbin ($SBINDIR)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2016-12-28 20:28:09 +01:00
|
|
|
<para>Prior to Shorewall 5.1.0, the
|
|
|
|
<filename>/sbin/shorewall6</filename> shell program is used to interact
|
|
|
|
with Shorewall6. See <ulink
|
|
|
|
url="manpages6/shorewall6.html">shorewall6</ulink>(8). Beginning with
|
|
|
|
Shorewall 5.1.0, <filename>/sbin/shorewall6</filename> is a symbolic
|
|
|
|
link to <filename>/sbin/shorewall</filename>. See <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8).</para>
|
2009-02-28 04:45:43 +01:00
|
|
|
</section>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<section id="share-shorewall6">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/usr/share/shorewall6 (${SHAREDIR}/shorewall6)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<para>The bulk of Shorewall6 is installed here.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>action.template</filename> - template file for
|
|
|
|
creating <ulink url="Actions.html">actions</ulink>.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>action.*</filename> - standard Shorewall
|
|
|
|
actions.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>actions.std</filename> - file listing the standard
|
|
|
|
actions.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename class="directory">configfiles</filename> - A
|
|
|
|
directory containing configuration files to copy to create a <ulink
|
2011-09-28 03:13:57 +02:00
|
|
|
url="Shorewall-Lite.html">Shorewall6-lite export
|
2009-02-28 04:45:43 +01:00
|
|
|
directory.</ulink></para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename><filename>configpath</filename></filename> - A file
|
|
|
|
containing distribution-specific path assignments.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>firewall</filename> - A shell program that handles
|
|
|
|
the <command>add</command> and <command>delete</command> commands
|
|
|
|
(see <ulink url="manpages/shorewall.html">shorewall</ulink>(8)). It
|
|
|
|
also handles the <command>stop</command> and
|
|
|
|
<command>clear</command> commands when there is no current compiled
|
|
|
|
firewall script on the system.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename class="symlink">functions</filename> - A symbolic
|
|
|
|
link to <filename>lib.base</filename> that provides for
|
|
|
|
compatibility with older versions of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>lib.*</filename> - Shell function libraries used by
|
|
|
|
the other shell programs.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2012-01-02 19:19:07 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>Macros/*</filename> - The standard Shorewall6 <ulink
|
|
|
|
url="Macros.html">macros</ulink>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<listitem>
|
|
|
|
<para><filename>modules</filename> - File that drives the loading of
|
|
|
|
Netfilter kernel modules. May be overridden by
|
|
|
|
<filename>/etc/shorewall/modules</filename>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>version</filename> - A file containing the currently
|
|
|
|
install version of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>wait4ifup</filename> - A shell program that <ulink
|
|
|
|
url="shorewall_extension_scripts.htm">extension scripts</ulink> can
|
|
|
|
use to delay until a network interface is available.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="etc-shorewall6">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/etc/shorewall6 (${CONFDIR}/shorewall6)</title>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<para>This is where the modifiable IPv6 configuration files are
|
|
|
|
installed.</para>
|
|
|
|
</section>
|
|
|
|
|
2016-12-28 20:24:30 +01:00
|
|
|
<section id="init6">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/etc/init.d or /etc/rc.d (depends on distribution) ($INITDIR) or
|
|
|
|
/lib/systemd/system ($SERVICEDIR)</title>
|
2016-10-31 19:09:06 +01:00
|
|
|
|
|
|
|
<para>An init script is installed here. Depending on the distribution,
|
|
|
|
it is named <filename>shorewall6</filename> or
|
|
|
|
<filename>rc.firewall</filename>. Only installed on systems where
|
|
|
|
systemd is not installed.</para>
|
|
|
|
|
|
|
|
<para>When systemd is installed, the Shorewall .service files are
|
|
|
|
installed in the directory specified by the SERVICEDIR variable in
|
|
|
|
<filename>/usr/share/shorewall/shorewallrc</filename>.</para>
|
|
|
|
</section>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<section id="var-shorewall6">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/var/lib/shorewall6 (${VARLIB}/shorewall6)</title>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<para>Shorewall6 doesn't install any files in this directory but rather
|
|
|
|
uses the directory for storing state information. This directory may be
|
|
|
|
relocated using <ulink
|
|
|
|
url="manpages/shorewall-vardir.html">shorewall-vardir</ulink>(5).</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.ip6tables-restore-input</filename> - The file
|
|
|
|
passed as input to the ip6tables-restore program to initialize the
|
|
|
|
firewall during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages6/shorewall6.html">shorewall6</ulink>(8)).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modules</filename> - The contents of the modules
|
|
|
|
file used during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages6/shorewall6.html">shorewall</ulink>(8) for command
|
|
|
|
information).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modulesdir</filename> - The MODULESDIR setting
|
|
|
|
(<ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5)) at the
|
|
|
|
last <command>start</command> or <command>restart</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.refresh</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restart</filename> - The shell program that
|
|
|
|
performed the last successful <command>restart</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>restore</filename> - The default shell program used
|
|
|
|
to execute <command>restore</command> commands.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restore</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh, restart</command> or
|
|
|
|
<command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>save</filename> - File created by the
|
|
|
|
<command>save</command> command and used to restore the dynamic
|
|
|
|
blacklist during <command>start/restart</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.start</filename> - The shell program that performed
|
|
|
|
the last successful <command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>state</filename> - Records the current firewall
|
|
|
|
state.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>zones</filename> - Records the current zone
|
|
|
|
contents.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2007-06-24 18:54:21 +02:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="Shorewall-lite">
|
2007-06-24 18:54:21 +02:00
|
|
|
<title>Shorewall-lite</title>
|
|
|
|
|
2008-08-30 03:00:50 +02:00
|
|
|
<para>The Shorewall-lite product includes files installed in <filename
|
|
|
|
class="directory">/sbin</filename>, <filename
|
|
|
|
class="directory">/usr/share/shorewall-lite</filename>, <filename
|
|
|
|
class="directory">/etc/shorewall-lite</filename>,
|
2007-06-24 18:54:21 +02:00
|
|
|
<filename>/etc/init.d</filename> and <filename
|
2009-02-28 04:45:43 +01:00
|
|
|
class="directory">/var/lib/shorewall-lite/</filename>. These are described
|
|
|
|
in the sub-sections that follow.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="sbin-lite">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/sbin ($SBINDIR)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
2015-05-05 23:35:42 +02:00
|
|
|
<para>The <filename>/sbin/shorewall-lite</filename> shell program is
|
|
|
|
used to interact with Shorewall lite. See <ulink
|
2016-12-28 20:28:09 +01:00
|
|
|
url="manpages/shorewall-lite.html">shorewall-lite</ulink>(8). Beginning
|
|
|
|
with Shorewall 5.1.0, <filename>/sbin/shorewall-lite</filename> is a
|
|
|
|
symbolic link to <filename>/sbin/shorewall</filename>. See <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8).</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="init-lite">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/etc/init.d or /etc/rc.d (depends on distribution) ($INITDIR) or
|
|
|
|
/lib/systemd/system ($SERVICEDIR)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>An init script is installed here. Depending on the distribution,
|
|
|
|
it is named <filename>shorewall-lite</filename> or
|
2016-10-31 19:09:06 +01:00
|
|
|
<filename>rc.firewall</filename>. Only installed on systems where
|
|
|
|
systemd is not installed.</para>
|
|
|
|
|
|
|
|
<para>When systemd is installed, the Shorewall .service files are
|
|
|
|
installed in the directory specified by the SERVICEDIR variable in
|
|
|
|
<filename>/usr/share/shorewall/shorewallrc</filename>.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="shorewall-lite">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/etc/shorewall-lite (${CONFDIR}/shorewall-lite)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>This is where the modifiable configuration files are
|
|
|
|
installed.</para>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="share-lite">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/usr/share/shorewall-lite (${SHAREDIR}/shorewall-lite)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>The bulk of Shorewall-lite is installed here.</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename><filename>configpath</filename></filename> - A file
|
|
|
|
containing distribution-specific path assignments.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2007-07-29 16:53:53 +02:00
|
|
|
<para><filename class="symlink">functions</filename> - A symbolic
|
2007-06-24 18:54:21 +02:00
|
|
|
link to <filename>lib.base</filename> that provides for
|
|
|
|
compatibility with older versions of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
<para><filename>lib.base</filename> - Shell function librarie used
|
|
|
|
by the other shell programs. This is a thin wrapper around
|
|
|
|
<filename>/usr/share/shorewall/lib.base</filename>.</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
<para><filename>modules</filename>* - Files that drive the loading
|
|
|
|
of Netfilter kernel modules. May be overridden by
|
2007-06-24 18:54:21 +02:00
|
|
|
<filename>/etc/shorewall-lite/modules</filename>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>shorecap</filename> - A shell program used for
|
|
|
|
generating capabilities files. See the <ulink
|
2011-09-28 03:13:57 +02:00
|
|
|
url="Shorewall-Lite.html">Shorewall-lite
|
2007-06-24 18:54:21 +02:00
|
|
|
documentation</ulink>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>version</filename> - A file containing the currently
|
|
|
|
install version of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>wait4ifup</filename> - A shell program that <ulink
|
|
|
|
url="shorewall_extension_scripts.htm">extension scripts</ulink> can
|
|
|
|
use to delay until a network interface is available.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:09:37 +02:00
|
|
|
<section id="var-lite">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/var/lib/shorewall-lite (${VARLIB}/shorewall-lite)</title>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<para>Shorewall-lite doesn't install any files in this directory but
|
2007-07-15 02:59:17 +02:00
|
|
|
rather uses the directory for storing state information. This directory
|
|
|
|
may be relocated using <ulink
|
|
|
|
url="manpages/shorewall-lite-vardir.html">shorewall-lite-vardir</ulink>(5).</para>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>firewall</filename> - Compiled shell script
|
|
|
|
installed by running the load or reload command on the
|
|
|
|
administrative system (see <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8)).</para>
|
|
|
|
</listitem>
|
2007-07-15 03:24:58 +02:00
|
|
|
|
|
|
|
<listitem>
|
2007-07-15 03:28:10 +02:00
|
|
|
<para><filename>firewall.conf</filename> - Digest of the
|
|
|
|
shorewall.conf file used to compile the firewall script on the
|
|
|
|
administrative system.</para>
|
2007-07-15 03:24:58 +02:00
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2008-08-30 03:00:50 +02:00
|
|
|
<para><filename>.iptables-restore-input</filename> - The file passed
|
2007-06-24 18:54:21 +02:00
|
|
|
as input to the iptables-restore program to initialize the firewall
|
|
|
|
during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall-lite.html">shorewall-lite</ulink>(8)).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modules</filename> - The contents of the modules
|
|
|
|
file used during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall-lite.html">shorewall-lite</ulink>(8) for
|
|
|
|
command information).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modulesdir</filename> - The MODULESDIR setting
|
|
|
|
(<ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5)) at the
|
|
|
|
last <command>start</command> or <command>restart.</command></para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>nat</filename> - This unfortunately-named file
|
|
|
|
records the IP addresses added by ADD_SNAT_ALIASES=Yes and
|
|
|
|
ADD_IP_ALIASES=Yes in <ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>proxyarp</filename> - Records the arp entries added
|
|
|
|
by entries in <ulink
|
|
|
|
url="manpages/shorewall-proxyarp.html">shorewall-proxyarp</ulink>(5).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.refresh</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restart</filename> - The shell program that
|
|
|
|
performed the last successful <command>restart</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>restore</filename> - The default shell program used
|
|
|
|
to execute <command>restore</command> commands.</para>
|
|
|
|
</listitem>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restore</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh, restart</command> or
|
|
|
|
<command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>save</filename> - File created by the
|
|
|
|
<command>save</command> command and used to restore the dynamic
|
|
|
|
blacklist during <command>start/restart</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.start</filename> - The shell program that performed
|
|
|
|
the last successful <command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>state</filename> - Records the current firewall
|
|
|
|
state.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>zones</filename> - Records the current zone
|
|
|
|
contents.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="Shorewall6-lite">
|
|
|
|
<title>Shorewall6-lite</title>
|
|
|
|
|
|
|
|
<para>The Shorewall6-lite product includes files installed in <filename
|
|
|
|
class="directory">/sbin</filename>, <filename
|
|
|
|
class="directory">/usr/share/shorewall6-lite</filename>, <filename
|
|
|
|
class="directory">/etc/shorewall6-lite</filename>,
|
|
|
|
<filename>/etc/init.d</filename> and <filename
|
|
|
|
class="directory">/var/lib/shorewall6-lite/</filename>. These are
|
|
|
|
described in the sub-sections that follow.</para>
|
|
|
|
|
|
|
|
<section id="sbin-lite6">
|
|
|
|
<title>/sbin</title>
|
|
|
|
|
|
|
|
<para>The <filename>/sbin/shorewall6-lite</filename> shell program is
|
|
|
|
use to interact with Shorewall lite. See <ulink
|
2016-12-28 20:28:09 +01:00
|
|
|
url="manpages6/shorewall6-lite.html">shorewall6-lite</ulink>(8).
|
|
|
|
Beginning with Shorewall 5.1.0,
|
|
|
|
<filename>/sbin/shorewall6</filename>-lite is a symbolic link to
|
|
|
|
<filename>/sbin/shorewall</filename>. See <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall</ulink>(8).</para>
|
2009-02-28 04:45:43 +01:00
|
|
|
</section>
|
|
|
|
|
2016-12-28 20:24:30 +01:00
|
|
|
<section id="init-6lite">
|
2016-12-29 23:28:46 +01:00
|
|
|
<title>/etc/init.d or /etc/rc.d (depends on distribution) ($INITDIR) or
|
|
|
|
/lib/systemd/system ($SERVICEDIR)</title>
|
2016-10-31 19:09:06 +01:00
|
|
|
|
|
|
|
<para>An init script is installed here. Depending on the distribution,
|
|
|
|
it is named <filename>shorewall</filename>6-lite or
|
|
|
|
<filename>rc.firewall</filename>. Only installed on systems where
|
|
|
|
systemd is not installed.</para>
|
|
|
|
|
|
|
|
<para>When systemd is installed, the Shorewall .service files are
|
|
|
|
installed in the directory specified by the SERVICEDIR variable in
|
|
|
|
<filename>/usr/share/shorewall/shorewallrc</filename>.</para>
|
|
|
|
</section>
|
|
|
|
|
2009-02-28 04:45:43 +01:00
|
|
|
<section id="etc-shorewall6-lite">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/etc/shorewall6-lite (${CONFDIR}/shorewall6-lite)</title>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<para>This is where the modifiable configuration files are
|
|
|
|
installed.</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="share-lite6">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/usr/share/shorewall6-lite (${SHAREDIR}/shorewall6-lite)</title>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<para>The bulk of Shorewall-lite is installed here.</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename><filename>configpath</filename></filename> - A file
|
|
|
|
containing distribution-specific path assignments.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename class="symlink">functions</filename> - A symbolic
|
|
|
|
link to <filename>lib.base</filename> that provides for
|
|
|
|
compatibility with older versions of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
<para><filename>lib.base</filename> - Shell function librarie used
|
|
|
|
by the other shell programs. This is a thin wrapper around
|
|
|
|
<filename>/usr/share/shorewall/lib.base</filename>.</para>
|
2009-02-28 04:45:43 +01:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2012-01-02 19:19:07 +01:00
|
|
|
<para><filename>modules</filename>* - Files that drive the loading
|
|
|
|
of Netfilter kernel modules. May be overridden by
|
2009-02-28 04:45:43 +01:00
|
|
|
<filename>/etc/shorewall-lite/modules</filename>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>shorecap</filename> - A shell program used for
|
|
|
|
generating capabilities files. See the <ulink
|
2011-09-28 03:13:57 +02:00
|
|
|
url="Shorewall-Lite.html">Shorewall-lite
|
2009-02-28 04:45:43 +01:00
|
|
|
documentation</ulink>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>version</filename> - A file containing the currently
|
|
|
|
install version of Shorewall.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>wait4ifup</filename> - A shell program that <ulink
|
|
|
|
url="shorewall_extension_scripts.htm">extension scripts</ulink> can
|
|
|
|
use to delay until a network interface is available.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="var-lite6">
|
2016-10-31 19:09:06 +01:00
|
|
|
<title>/var/lib/shorewall6-lite (${VARLIB}/shorewall6-lite)</title>
|
2009-02-28 04:45:43 +01:00
|
|
|
|
|
|
|
<para>Shorewall6-lite doesn't install any files in this directory but
|
|
|
|
rather uses the directory for storing state information. This directory
|
|
|
|
may be relocated using <ulink
|
|
|
|
url="manpages/shorewall-lite-vardir.html">shorewall-lite-vardir</ulink>(5).</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>firewall</filename> - Compiled shell script
|
|
|
|
installed by running the load or reload command on the
|
|
|
|
administrative system (see <ulink
|
|
|
|
url="manpages/shorewall.html">shorewall6</ulink>(8)).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>firewall.conf</filename> - Digest of the
|
|
|
|
shorewall.conf file used to compile the firewall script on the
|
|
|
|
administrative system.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.ip6tables-restore-input</filename> - The file
|
|
|
|
passed as input to the ip6tables-restore program to initialize the
|
|
|
|
firewall during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall-lite.html">shorewall-lite</ulink>(8)).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modules</filename> - The contents of the modules
|
|
|
|
file used during the last <command>start</command> or
|
|
|
|
<command>restart</command> command (see <ulink
|
|
|
|
url="manpages/shorewall-lite.html">shorewall-lite</ulink>(8) for
|
|
|
|
command information).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.modulesdir</filename> - The MODULESDIR setting
|
|
|
|
(<ulink
|
|
|
|
url="manpages/shorewall.conf.html">shorewall.conf</ulink>(5)) at the
|
|
|
|
last <command>start</command> or <command>restart.</command></para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.refresh</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restart</filename> - The shell program that
|
|
|
|
performed the last successful <command>restart</command>
|
|
|
|
command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>restore</filename> - The default shell program used
|
|
|
|
to execute <command>restore</command> commands.</para>
|
|
|
|
</listitem>
|
2007-06-24 18:54:21 +02:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.restore</filename> - The shell program that
|
|
|
|
performed the last successful <command>refresh, restart</command> or
|
|
|
|
<command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>save</filename> - File created by the
|
|
|
|
<command>save</command> command and used to restore the dynamic
|
|
|
|
blacklist during <command>start/restart</command>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>.start</filename> - The shell program that performed
|
|
|
|
the last successful <command>start</command> command.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>state</filename> - Records the current firewall
|
|
|
|
state.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><filename>zones</filename> - Records the current zone
|
|
|
|
contents.</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2008-07-04 17:11:51 +02:00
|
|
|
</article>
|