2006-11-16 01:51:52 +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:51:52 +01:00
|
|
|
<refentry>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>shorewall-maclist</refentrytitle>
|
|
|
|
|
|
|
|
<manvolnum>5</manvolnum>
|
2014-01-16 17:32:57 +01:00
|
|
|
|
|
|
|
<refmiscinfo>Configuration Files</refmiscinfo>
|
2006-11-16 01:51:52 +01:00
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>maclist</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall MAC Verification file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2017-06-17 00:01:41 +02:00
|
|
|
<command>/etc/shorewall[6]/maclist</command>
|
2006-11-16 01:51:52 +01:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
|
|
|
<para>This file is used to define the MAC addresses and optionally their
|
|
|
|
associated IP addresses to be allowed to use the specified interface. The
|
|
|
|
feature is enabled by using the <emphasis role="bold">maclist</emphasis>
|
2007-01-14 23:34:51 +01:00
|
|
|
option in the <ulink
|
2014-01-16 17:32:57 +01:00
|
|
|
url="/manpages/shorewall-interfaces.html">shorewall-interfaces</ulink>(5)
|
|
|
|
or <ulink url="/manpages/shorewall-hosts.html">shorewall-hosts</ulink>(5)
|
|
|
|
configuration file.</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
2011-10-02 20:45:55 +02:00
|
|
|
<para>The columns in the file are as follows (where the column name is
|
|
|
|
followed by a different name in parentheses, the different name is used in
|
|
|
|
the alternate specification syntax).</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">DISPOSITION</emphasis> - {<emphasis
|
2006-11-22 19:46:06 +01:00
|
|
|
role="bold">ACCEPT</emphasis>|<emphasis
|
|
|
|
role="bold">DROP</emphasis>|<emphasis
|
2006-12-12 16:27:57 +01:00
|
|
|
role="bold">REJECT</emphasis>}[<option>:</option><replaceable>log-level</replaceable>]</term>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para><emphasis role="bold">ACCEPT</emphasis> or <emphasis
|
2007-01-14 23:34:51 +01:00
|
|
|
role="bold">DROP</emphasis> (if MACLIST_TABLE=filter in <ulink
|
2014-01-16 17:32:57 +01:00
|
|
|
url="/manpages/shorewall.conf.html">shorewall.conf</ulink>(5), then
|
|
|
|
REJECT is also allowed). If specified, the
|
2006-12-12 16:27:57 +01:00
|
|
|
<replaceable>log-level</replaceable> causes packets matching the
|
|
|
|
rule to be logged at that level.</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">INTERFACE</emphasis> -
|
2007-05-26 13:02:58 +02:00
|
|
|
<emphasis>interface</emphasis></term>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
|
|
|
<listitem>
|
2007-05-26 13:02:58 +02:00
|
|
|
<para>Network <emphasis>interface</emphasis> to a host.</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2008-07-10 15:33:54 +02:00
|
|
|
<term><emphasis role="bold">MAC</emphasis> -
|
2006-11-22 19:46:06 +01:00
|
|
|
<emphasis>address</emphasis></term>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
|
|
|
<listitem>
|
2006-11-22 19:46:06 +01:00
|
|
|
<para>MAC <emphasis>address</emphasis> of the host -- you do not
|
|
|
|
need to use the Shorewall format for MAC addresses here. If
|
2013-05-03 18:19:45 +02:00
|
|
|
<emphasis role="bold">IP ADDRESSES</emphasis> is supplied then
|
2006-11-22 19:46:06 +01:00
|
|
|
<emphasis role="bold">MAC</emphasis> can be supplied as a dash
|
|
|
|
(<emphasis role="bold">-</emphasis>)</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2011-10-02 20:45:55 +02:00
|
|
|
<term><emphasis role="bold">IP ADDRESSES</emphasis> (addresses) -
|
2006-11-22 19:46:06 +01:00
|
|
|
[<emphasis>address</emphasis>[<emphasis
|
|
|
|
role="bold">,</emphasis><emphasis>address</emphasis>]...]</term>
|
2006-11-16 01:51:52 +01:00
|
|
|
|
|
|
|
<listitem>
|
2011-10-02 20:45:55 +02:00
|
|
|
<para>Optional - if specified, both the MAC and IP address must
|
|
|
|
match. This column can contain a comma-separated list of host and/or
|
|
|
|
subnet addresses. If your kernel and iptables have iprange match
|
|
|
|
support then IP address ranges are also allowed. Similarly, if your
|
|
|
|
kernel and iptables include ipset support than set names (prefixed
|
|
|
|
by "+") are also allowed.</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>FILES</title>
|
|
|
|
|
|
|
|
<para>/etc/shorewall/maclist</para>
|
2017-06-17 00:01:41 +02:00
|
|
|
|
|
|
|
<para>/etc/shorewall6/maclist</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/MAC_Validation.html">http://www.shorewall.net/MAC_Validation.html</ulink></para>
|
2006-11-22 04:51:39 +01:00
|
|
|
|
2011-09-26 19:16:52 +02:00
|
|
|
<para><ulink
|
2014-01-12 22:40:03 +01:00
|
|
|
url="/configuration_file_basics.htm#Pairs">http://www.shorewall.net/configuration_file_basics.htm#Pairs</ulink></para>
|
2011-09-26 19:16:52 +02:00
|
|
|
|
2017-06-17 02:11:43 +02:00
|
|
|
<para>shorewall(8)</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</refsect1>
|
2010-07-19 23:45:05 +02:00
|
|
|
</refentry>
|