2008-12-11 01:03:00 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-12-11 20:24:34 +01:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2008-12-11 01:03:00 +01:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
2008-12-11 20:24:34 +01:00
|
|
|
<refentrytitle>shorewall6-modules</refentrytitle>
|
2008-12-11 01:03:00 +01:00
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>modules</refname>
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
<refpurpose>shorewall6 file</refpurpose>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2008-12-11 20:24:34 +01:00
|
|
|
<command>/usr/share/shorewall6/modules</command>
|
2008-12-11 01:03:00 +01:00
|
|
|
</cmdsynopsis>
|
2010-09-15 01:47:45 +02:00
|
|
|
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/usr/share/shorewall6/helpers</command>
|
|
|
|
</cmdsynopsis>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
2010-09-15 01:47:45 +02:00
|
|
|
<para>These files specify which kernel modules shorewall6 will load before
|
|
|
|
trying to determine your ip6tables/kernel's capabilities. The
|
|
|
|
<filename>modules</filename> file is used when LOAD_HELPERS_ONLY=No in
|
|
|
|
<ulink url="shorewall6.conf.html">shorewall6.conf</ulink>(8); the
|
|
|
|
<filename>helpers</filename> file is used when
|
|
|
|
LOAD_HELPERS_ONLY=Yes.</para>
|
|
|
|
|
|
|
|
<para>Each record in the files has the following format:</para>
|
2008-12-11 01:03:00 +01: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
|
2008-12-11 20:24:34 +01:00
|
|
|
(without suffix). shorewall6 will search for modules based on your
|
2008-12-11 01:03:00 +01:00
|
|
|
MODULESDIR and MODULE_SUFFIX settings in <ulink
|
2008-12-11 20:24:34 +01:00
|
|
|
url="shorewall6.conf.html">shorewall6.conf</ulink>(8). The
|
2008-12-11 01:03:00 +01:00
|
|
|
<replaceable>moduleoption</replaceable>s are passed to modprobe (if
|
|
|
|
installed) or to insmod.</para>
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
<para>The /usr/share/shorewall6/modules file contains a large number of
|
|
|
|
modules. Users are encouraged to copy the file to /etc/shorewall6/modules
|
2010-09-15 01:47:45 +02:00
|
|
|
and modify the copy to load only the modules required or use
|
|
|
|
LOAD_HELPERS_ONLY=Yes.<note>
|
2008-12-11 01:03:00 +01:00
|
|
|
<para>If you build monolithic kernels and have not installed
|
2008-12-11 20:24:34 +01:00
|
|
|
module-init-tools, then create an empty /etc/shorewall6/modules file;
|
|
|
|
that will prevent shorewall6 from trying to load modules at
|
|
|
|
all.</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</note></para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Example</title>
|
|
|
|
|
|
|
|
<para>loadmodule ip_conntrack_ftp ports=21,221</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
<para>/usr/share/shorewall6/modules</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
|
2010-09-15 01:47:45 +02:00
|
|
|
<para>/usr/share/shorewall6/helpers</para>
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
<para>/etc/shorewall6/modules</para>
|
2010-09-15 01:47:45 +02:00
|
|
|
|
|
|
|
<para>/etc/shorewall6/helpers</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
<para>shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5),
|
|
|
|
shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5),
|
2013-05-03 18:19:45 +02:00
|
|
|
shorewall6-maclist(5), shorewall6-netmap(5),shorewall6-params(5), shorewall6-policy(5),
|
2012-01-09 16:19:10 +01:00
|
|
|
shorewall6-providers(5), shorewall6-rtrules(5),
|
2010-09-15 01:47:45 +02:00
|
|
|
shorewall6-routestopped(5), shorewall6-rules(5), shorewall6.conf(5),
|
|
|
|
shorewall6-secmarks(5), shorewall6-tcclasses(5), shorewall6-tcdevices(5),
|
|
|
|
shorewall6-tcrules(5), shorewall6-tos(5), shorewall6-tunnels(5),
|
|
|
|
shorewall6-zones(5)</para>
|
2008-12-11 01:03:00 +01:00
|
|
|
</refsect1>
|
2008-12-11 20:24:34 +01:00
|
|
|
</refentry>
|