mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Allow rate limiting on CONTINUE and REJECT
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1150 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
052194cb9b
commit
588270621f
@ -44,3 +44,5 @@ Changes since 1.4.10
|
||||
21) Move actions.std and action.* files to /usr/share/shorewall.
|
||||
|
||||
22) Added DISABLE_IPV6 option.
|
||||
|
||||
23) Allow rate limiting on CONTINUE and REJECT.
|
||||
|
@ -3049,12 +3049,8 @@ process_rule() # $1 = target
|
||||
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with DROP"
|
||||
;;
|
||||
REJECT)
|
||||
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with REJECT"
|
||||
target=reject
|
||||
;;
|
||||
CONTINUE)
|
||||
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with CONTINUE"
|
||||
target=RETURN
|
||||
;;
|
||||
DNAT)
|
||||
target=ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user