2006-11-16 01:16:15 +01: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">
|
2006-11-16 01:16:15 +01:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-actions</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>actions</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall action declaration file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/etc/shorewall/actions</command>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>This file allows you to define new ACTIONS for use in rules (see
|
2007-01-14 23:34:51 +01:00
|
|
|
<ulink url="shorewall-rules.html">shorewall-rules(5)</ulink>). You define
|
|
|
|
the iptables rules to be performed in an ACTION in
|
|
|
|
/etc/shorewall/action.<emphasis>action-name</emphasis>.</para>
|
2006-11-16 01:16:15 +01:00
|
|
|
|
2012-11-29 00:03:08 +01:00
|
|
|
<para>Columns are:</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>NAME</term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>The name of the action. ACTION names should begin with an
|
|
|
|
upper-case letter to distinguish them from Shorewall-generated chain
|
|
|
|
names and be composed of letters, digits or numbers. If you intend
|
|
|
|
to log from the action then the name must be no longer than 11
|
|
|
|
characters in length if you use the standard LOGFORMAT.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>OPTIONS</term>
|
|
|
|
|
|
|
|
<listitem>
|
2012-12-01 18:33:38 +01:00
|
|
|
<para>Added in Shorewall 4.5.10. Available options are:</para>
|
2012-11-29 00:03:08 +01:00
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>inline</term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Causes the action body (defined in
|
|
|
|
action.<replaceable>action-name</replaceable>) to be expanded
|
|
|
|
in-line like a macro rather than in its own chain. You can
|
|
|
|
list Shorewall Standard Actions in this file to specify the
|
|
|
|
<option>inline</option> option.</para>
|
|
|
|
|
|
|
|
<caution>
|
|
|
|
<para>Some of the Shorewall standard actions cannot be used
|
2012-12-01 16:54:42 +01:00
|
|
|
in-line and will generate a warning and the compiler will
|
|
|
|
ignore <option>inline</option> if you try to use them that
|
|
|
|
way:</para>
|
2012-11-29 00:03:08 +01:00
|
|
|
|
|
|
|
<simplelist>
|
|
|
|
<member>Broadcast</member>
|
|
|
|
|
|
|
|
<member>DropSmurfs</member>
|
|
|
|
|
|
|
|
<member>Invalid</member>
|
|
|
|
|
|
|
|
<member>NotSyn</member>
|
|
|
|
|
|
|
|
<member>RST</member>
|
|
|
|
|
|
|
|
<member>TCPFlags</member>
|
|
|
|
</simplelist>
|
|
|
|
</caution>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-12-01 16:54:42 +01:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>noinline</term>
|
|
|
|
|
|
|
|
<listitem>
|
2012-12-01 18:33:38 +01:00
|
|
|
<para>Causes any later <option>inline</option> option for the
|
|
|
|
same action to be ignored with a warning.</para>
|
2012-12-01 16:54:42 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-11-29 00:03:08 +01:00
|
|
|
</variablelist>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2006-11-16 01:16:15 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/actions</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
|
|
|
url="http://shorewall.net/Actions.html">http://shorewall.net/Actions.html</ulink></para>
|
|
|
|
|
2006-11-16 01:16:15 +01:00
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-blacklist(5),
|
2010-11-24 00:01:20 +01:00
|
|
|
shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5),
|
|
|
|
shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5),
|
|
|
|
shorewall-netmap(5), shorewall-params(5), shorewall-policy(5),
|
2012-01-09 16:19:10 +01:00
|
|
|
shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5),
|
2010-11-24 00:01:20 +01:00
|
|
|
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
|
|
|
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5),
|
|
|
|
shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5),
|
|
|
|
shorewall-zones(5)</para>
|
2006-11-16 01:16:15 +01:00
|
|
|
</refsect1>
|
2007-01-15 19:27:34 +01:00
|
|
|
</refentry>
|