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>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>maclist</refname>
|
|
|
|
|
|
|
|
<refpurpose>Shorewall MAC Verification file</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/etc/shorewall/maclist</command>
|
|
|
|
</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
|
|
|
|
url="shorewall-interfaces.html">shorewall-interfaces</ulink>(5) or <ulink
|
|
|
|
url="shorewall-hosts.html">shorewall-hosts</ulink>(5) configuration
|
2006-11-16 01:51:52 +01:00
|
|
|
file.</para>
|
|
|
|
|
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
|
|
|
|
url="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>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See ALSO</title>
|
|
|
|
|
2006-11-22 04:51:39 +01:00
|
|
|
<para><ulink
|
|
|
|
url="http://shorewall.net/MAC_Validation.html">http://shorewall.net/MAC_Validation.html</ulink></para>
|
|
|
|
|
2011-09-26 19:16:52 +02:00
|
|
|
<para><ulink
|
|
|
|
url="http://shorewall.net/configuration_file_basics.htm#Pairs">http://shorewall.net/configuration_file_basics.htm#Pairs</ulink></para>
|
|
|
|
|
2006-11-16 01:51:52 +01:00
|
|
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
2011-09-26 19:16:52 +02:00
|
|
|
shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
|
|
|
|
shorewall-ipsets(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),
|
2011-09-26 19:16:52 +02:00
|
|
|
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
|
|
|
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5),
|
2013-12-29 00:35:08 +01:00
|
|
|
shorewall-mangle(5), shorewall-tos(5), shorewall-tunnels(5),
|
2011-09-26 19:16:52 +02:00
|
|
|
shorewall-zones(5)</para>
|
2006-11-16 01:51:52 +01:00
|
|
|
</refsect1>
|
2010-07-19 23:45:05 +02:00
|
|
|
</refentry>
|