Update the Events document for 5.0

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-02-17 16:18:33 -08:00
parent 340ae1cca1
commit a959c4a3bb

View File

@ -538,8 +538,7 @@ SetEvent(SSH,ACCEPT,src)</programlisting>
<para><filename>etc/shorewall/rules</filename>:</para> <para><filename>etc/shorewall/rules</filename>:</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
SSHLIMIT net $FW tcp 22 </programlisting> SSHLIMIT net $FW tcp 22 </programlisting>
<caution> <caution>
@ -645,8 +644,7 @@ SSHLIMIT net $FW tcp 22
<para>To duplicate the SSHLIMIT entry in <para>To duplicate the SSHLIMIT entry in
<filename>/etc/shorewall/rules</filename> shown above:</para> <filename>/etc/shorewall/rules</filename> shown above:</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
AutoBL(SSH,-,-,-,REJECT,warn)\ AutoBL(SSH,-,-,-,REJECT,warn)\
net $FW tcp 22 </programlisting> net $FW tcp 22 </programlisting>
</section> </section>
@ -688,8 +686,7 @@ Knock #Port Knocking</programlisting>
# #
?format 2 ?format 2
############################################################################### ###############################################################################
#ACTION SOURCE DEST PROTO DEST #ACTION SOURCE DEST PROTO DPORT
# PORT(S)
IfEvent(SSH,ACCEPT:info,60,1,src,reset)\ IfEvent(SSH,ACCEPT:info,60,1,src,reset)\
- - tcp 22 - - tcp 22
SetEvent(SSH,ACCEPT) - - tcp 1600 SetEvent(SSH,ACCEPT) - - tcp 1600
@ -697,8 +694,7 @@ ResetEvent(SSH,DROP:info) </programlisting>
<para><filename>etc/shorewall/rules</filename>:</para> <para><filename>etc/shorewall/rules</filename>:</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
Knock net $FW tcp 22,1599-1601 </programlisting> Knock net $FW tcp 22,1599-1601 </programlisting>
</section> </section>