Clarify the need to quote/escaape settings with parentheses.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-12-08 09:02:25 -08:00
parent 8faf756113
commit d71c2688dc
2 changed files with 28 additions and 0 deletions

View File

@ -74,6 +74,20 @@
and can be configured to log all Shorewall messages to their own log and can be configured to log all Shorewall messages to their own log
file.</para> file.</para>
<note>
<para>If you want to specify parameters to ULOG or NFLOG (e.g.,
NFLOG(1,0,1)), then you must either quote the setting or you must escape
the parentheses.</para>
<para>Examples:</para>
<programlisting>MACLIST_LOG_LEVEL="NFLOG(1,0,1)"</programlisting>
<para>or</para>
<programlisting>MACLIST_LOG_LEVEL=NFLOG\(1,0,1\)</programlisting>
</note>
<para>Beginning with Shorewall 4.4.22, LOGMARK is also a valid level which <para>Beginning with Shorewall 4.4.22, LOGMARK is also a valid level which
logs the packet's mark value along with the other usual information. The logs the packet's mark value along with the other usual information. The
syntax is:</para> syntax is:</para>

View File

@ -73,6 +73,20 @@
and can be configured to log all Shorewall6 message to their own log and can be configured to log all Shorewall6 message to their own log
file</para> file</para>
<note>
<para>If you want to specify parameters to ULOG or NFLOG (e.g.,
NFLOG(1,0,1)), then you must either quote the setting or you must escape
the parentheses.</para>
<para>Examples:</para>
<programlisting>MACLIST_LOG_LEVEL="NFLOG(1,0,1)"</programlisting>
<para>or</para>
<programlisting>MACLIST_LOG_LEVEL=NFLOG\(1,0,1\)</programlisting>
</note>
<para>The following options may be set in shorewall6.conf.</para> <para>The following options may be set in shorewall6.conf.</para>
<variablelist> <variablelist>