2007-07-10 01:29:07 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-07-19 23:45:05 +02:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2007-07-10 01:29:07 +02:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-modules</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2007-07-10 01:29:07 +02:00
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>modules</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2017-06-17 00:01:41 +02:00
|
|
|
<command>/usr/share/shorewall[6]/modules</command>
|
2007-07-10 01:29:07 +02:00
|
|
|
</cmdsynopsis>
|
2010-09-15 01:47:45 +02:00
|
|
|
|
|
|
|
<cmdsynopsis>
|
2017-06-17 00:01:41 +02:00
|
|
|
<command>/usr/share/shorewall[6]/helpers</command>
|
2010-09-15 01:47:45 +02:00
|
|
|
</cmdsynopsis>
|
2007-07-10 01:29:07 +02:00
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
2010-09-15 01:47:45 +02:00
|
|
|
<para>These files specify which kernel modules Shorewall will load before
|
|
|
|
trying to determine your iptables/kernel's capabilities.</para>
|
|
|
|
|
|
|
|
<para>The <filename>modules</filename> file is used when
|
|
|
|
LOAD_HELPERS_ONLY=No in <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/manpages/shorewall.conf.html">shorewall.conf</ulink>(8); the
|
2010-09-15 01:47:45 +02:00
|
|
|
<filename>helpers</filename> file is used when
|
|
|
|
LOAD_HELPERS_ONLY=Yes</para>
|
|
|
|
|
2019-02-03 18:32:52 +01:00
|
|
|
<important>
|
|
|
|
<para>Beginning with Shorewall 5.2.3, the LOAD_HELPERS_ONLY option has
|
|
|
|
been removed and the behavior is the same as if LOAD_HELPERS_ONLY=Yes
|
|
|
|
was specified.</para>
|
|
|
|
</important>
|
|
|
|
|
2010-09-15 01:47:45 +02:00
|
|
|
<para>Each record in the files has the following format:</para>
|
2007-07-10 01:29:07 +02:00
|
|
|
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>loadmodule</command>
|
|
|
|
|
|
|
|
<arg choice="plain"><replaceable
|
|
|
|
class="parameter">modulename</replaceable></arg>
|
|
|
|
|
|
|
|
<arg rep="repeat"><replaceable>moduleoption</replaceable></arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
|
|
|
|
<para>The <replaceable>modulename</replaceable> names a kernel module
|
|
|
|
(without suffix). Shorewall will search for modules based on your
|
2017-08-23 19:19:52 +02:00
|
|
|
MODULESDIR setting in <ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/manpages/shorewall.conf.html">shorewall.conf</ulink>(8). The
|
2007-07-10 01:29:07 +02:00
|
|
|
<replaceable>moduleoption</replaceable>s are passed to modprobe (if
|
|
|
|
installed) or to insmod.</para>
|
|
|
|
|
|
|
|
<para>The /usr/share/shorewall/modules file contains a large number of
|
|
|
|
modules. Users are encouraged to copy the file to /etc/shorewall/modules
|
2010-09-15 01:47:45 +02:00
|
|
|
and modify the copy to load only the modules required or to use
|
|
|
|
LOAD_HELPERS_ONLY=Yes.<note>
|
2007-09-10 16:45:15 +02:00
|
|
|
<para>If you build monolithic kernels and have not installed
|
|
|
|
module-init-tools, then create an empty /etc/shorewall/modules file;
|
2010-07-19 23:45:05 +02:00
|
|
|
that will prevent Shorewall from trying to load modules at all.</para>
|
2007-09-10 16:45:15 +02:00
|
|
|
</note></para>
|
2007-07-10 01:29:07 +02:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Example</title>
|
|
|
|
|
|
|
|
<para>loadmodule ip_conntrack_ftp ports=21,221</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/usr/share/shorewall/modules</para>
|
|
|
|
|
2010-09-15 01:47:45 +02:00
|
|
|
<para>/usr/share/shorewall/helpers</para>
|
|
|
|
|
2007-07-10 01:29:07 +02:00
|
|
|
<para>/etc/shorewall/modules</para>
|
2010-09-15 01:47:45 +02:00
|
|
|
|
|
|
|
<para>/etc/shorewall/helpers</para>
|
2017-06-17 00:01:41 +02:00
|
|
|
|
|
|
|
<para>/usr/share/shorewall6/modules</para>
|
|
|
|
|
|
|
|
<para>/usr/share/shorewall6/helpers</para>
|
|
|
|
|
|
|
|
<para>/etc/shorewall6/modules</para>
|
|
|
|
|
|
|
|
<para>/etc/shorewall6/helpers</para>
|
2007-07-10 01:29:07 +02:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>shorewall(8)</para>
|
2007-07-10 01:29:07 +02:00
|
|
|
</refsect1>
|
2010-07-19 23:45:05 +02:00
|
|
|
</refentry>
|