mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
01e38957e0
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3297 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
30 lines
969 B
Plaintext
30 lines
969 B
Plaintext
#
|
|
# Shorewall version 3.2 - Limit Action
|
|
#
|
|
# /usr/share/shorewall/action.Limit
|
|
#
|
|
# Invoke this action as follows:
|
|
#
|
|
# Limit:<log level>:<set name>,<count>,<seconds>
|
|
#
|
|
# Where:
|
|
#
|
|
# <log level> = none, if you don't want rejected packets dropped
|
|
# = A log level otherwise.
|
|
# <set name> = The name you want to assign to the
|
|
# 'recent set' that tracks this rate
|
|
# <count>/<seconds> = The rate at which you are willing to accept
|
|
# connections
|
|
# Example:
|
|
# Limit:info:SSHA,3,60 Logs at the info level, uses a recent set
|
|
# named "SSHA" and accepts connections at a
|
|
# maximum rate of 3/minute.
|
|
#
|
|
###############################################################################
|
|
#TARGET SOURCE DEST PROTO DPORT SPORT
|
|
#
|
|
# This action has no rules. It is created entirely by the Limit extension
|
|
# script /usr/share/shorewall/Limit
|
|
#
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|