mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Document third argument to add_rule()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7469 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
508fbf0d45
commit
16fd458948
@ -416,9 +416,10 @@ esac</programlisting><caution>
|
||||
|
||||
<para>Beginning with Shorewall 4.0.5, add_rule() accepts an optional
|
||||
third argument; If that argument evaluates to true and the passed rule
|
||||
contains a --dports list with more than 15 ports (a port range counts as
|
||||
two ports), the rule will be split into multiple rules where each
|
||||
resulting rule has 15 or fewer ports in its --dports list.</para>
|
||||
contains a <emphasis role="bold">--dports</emphasis> list with more than
|
||||
15 ports (a port range counts as two ports), the rule will be split into
|
||||
multiple rules where each resulting rule has 15 or fewer ports in its
|
||||
<emphasis role="bold">--dports</emphasis> list.</para>
|
||||
|
||||
<para>To insert a rule into the chain:<programlisting> insert_rule( $chainref, <<emphasis>rulenum</emphasis>>, <<emphasis>the rule</emphasis>> );</programlisting>The
|
||||
<emphasis role="bold">log_rule_limit()</emphasis> function works like it
|
||||
|
Loading…
Reference in New Issue
Block a user