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:
teastep 2004-02-15 17:57:00 +00:00
parent 052194cb9b
commit 588270621f
2 changed files with 2 additions and 4 deletions

View File

@ -44,3 +44,5 @@ Changes since 1.4.10
21) Move actions.std and action.* files to /usr/share/shorewall. 21) Move actions.std and action.* files to /usr/share/shorewall.
22) Added DISABLE_IPV6 option. 22) Added DISABLE_IPV6 option.
23) Allow rate limiting on CONTINUE and REJECT.

View File

@ -3049,12 +3049,8 @@ process_rule() # $1 = target
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with DROP" [ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with DROP"
;; ;;
REJECT) REJECT)
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with REJECT"
target=reject
;; ;;
CONTINUE) CONTINUE)
[ -n "$ratelimit" ] && fatal_error "Rate Limiting not available with CONTINUE"
target=RETURN
;; ;;
DNAT) DNAT)
target=ACCEPT target=ACCEPT