2009-02-16 19:39:01 +01:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
|
|
|
|
<refentry>
|
|
|
|
|
<refmeta>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<refentrytitle>shorewall6-notrack</refentrytitle>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
|
|
<refnamediv>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<refname>notrack</refname>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<refpurpose>shorewall notrack file</refpurpose>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
|
<cmdsynopsis>
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<command>/etc/shorewall/notrack</command>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</cmdsynopsis>
|
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<para>The notrack file is used to exempt certain traffic from Netfilter
|
|
|
|
|
connection tracking. Traffic matching entries in this fill will not be
|
|
|
|
|
tracked.</para>
|
|
|
|
|
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<para>The file was added in shorewall-perl 4.2.7 and is not supported by
|
|
|
|
|
shorewall-shell or by earlier versions of shorewall-perl.</para>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
|
2009-02-16 19:39:01 +01:00
|
|
|
|
<para>The columns in the file are as follows.</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<term>SOURCE ‒
|
2009-03-20 17:47:27 +01:00
|
|
|
|
{<emphasis>zone</emphasis>[:<emphasis>interface</emphasis>][:<emphasis>address-list</emphasis>]|COMMENT}</term>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<para>where <replaceable>zone</replaceable> is the name of a zone,
|
|
|
|
|
<replaceable>interface</replaceable> is an interface to that zone,
|
|
|
|
|
and <replaceable>address-list</replaceable> is a comma-separated
|
|
|
|
|
list of addresses (may contain exclusion - see <ulink
|
2009-02-26 22:37:18 +01:00
|
|
|
|
url="shorewall-exclusion.html">shorewall-exclusion</ulink>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
(5)).</para>
|
2009-03-20 17:47:27 +01:00
|
|
|
|
|
|
|
|
|
<para>Comments may be attached to Netfilter rules generated from
|
|
|
|
|
entries in this file through the use of COMMENT lines. These lines
|
|
|
|
|
begin with the word COMMENT; the remainder of the line is treated as
|
|
|
|
|
a comment which is attached to subsequent rules until another
|
|
|
|
|
COMMENT line is found or until the end of the file is reached. To
|
|
|
|
|
stop adding comments to rules, use a line with only the word
|
|
|
|
|
COMMENT.</para>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<varlistentry>
|
2009-04-09 00:45:51 +02:00
|
|
|
|
<term>DEST ‒
|
|
|
|
|
[<replaceable>interface</replaceable>|<replaceable>address-list</replaceable>]</term>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
|
|
|
|
|
<listitem>
|
2009-04-09 00:45:51 +02:00
|
|
|
|
<para>where <replaceable>interface</replaceable> is the name of a
|
|
|
|
|
network interface and <replaceable>address-list</replaceable> is a
|
2009-02-18 17:48:34 +01:00
|
|
|
|
comma-separated list of addresses (may contain exclusion - see
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<ulink url="shorewall-exclusion.html">shorewall-exclusion</ulink>
|
2009-04-09 00:45:51 +02:00
|
|
|
|
(5)). If an interface is given:</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>It must be up and configured with an IPv4 address when
|
|
|
|
|
Shorewall is started or restarted.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>All routes out of the interface must be configured when
|
|
|
|
|
Shorewall is started or restarted.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Default routes out of the interface will result in a
|
|
|
|
|
warning message and will be ignored.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>These restrictions are because Netfilter doesn't support
|
|
|
|
|
NOTRACK rules that specify a destination interface (these rules are
|
|
|
|
|
applied before packets are routed and hence the destination
|
|
|
|
|
interface is unknown). Shorewall uses the routes out of the
|
|
|
|
|
interface to replace the interface with an address list
|
|
|
|
|
corresponding to the networks routed out of the named
|
|
|
|
|
interface.</para>
|
2009-02-18 17:48:34 +01:00
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>PROTO ‒
|
|
|
|
|
<replaceable>protocol-name-or-number</replaceable></term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>A protocol name from <filename>/etc/protocols</filename> or a
|
|
|
|
|
protocol number.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>DEST PORT(S) - port-number/service-name-list</term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>A comma-separated list of port numbers and/or service names
|
|
|
|
|
from <filename>/etc/services</filename>. May also include port
|
|
|
|
|
ranges of the form
|
|
|
|
|
<replaceable>low-port</replaceable>:<replaceable>high-port</replaceable>
|
|
|
|
|
if your kernel and iptables include port range support.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
|
2009-02-18 17:48:34 +01:00
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>SOURCE PORT(S) - port-number/service-name-list</term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>A comma-separated list of port numbers and/or service names
|
|
|
|
|
from <filename>/etc/services</filename>. May also include port
|
|
|
|
|
ranges of the form
|
|
|
|
|
<replaceable>low-port</replaceable>:<replaceable>high-port</replaceable>
|
|
|
|
|
if your kernel and iptables include port range support.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term>USER/GROUP ‒
|
|
|
|
|
[<replaceable>user</replaceable>][:<replaceable>group</replaceable>]</term>
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>May only be specified if the SOURCE
|
|
|
|
|
<replaceable>zone</replaceable> is $FW. Specifies the effective user
|
|
|
|
|
id and or group id of the process sending the traffic.</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<para>/etc/shorewall/notrack</para>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
|
2009-02-26 22:37:18 +01:00
|
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
|
|
|
|
shorewall-blacklist(5), shorewall-hosts(5), shorewall-interfaces(5),
|
|
|
|
|
shorewall-ipsec(5), shorewall-masq(5), shorewall-nat(5),
|
|
|
|
|
shorewall-netmap(5), shorewall-params(5), shorewall-policy(5),
|
|
|
|
|
shorewall-providers(5), shorewall-proxyarp(5), shorewall-route_rules(5),
|
|
|
|
|
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
|
|
|
|
shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5),
|
|
|
|
|
shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</para>
|
2009-02-16 19:39:01 +01:00
|
|
|
|
</refsect1>
|
|
|
|
|
</refentry>
|