Forum Discussion
Nov 21, 2013
Here's the sample rule I wrote to test the tables in case anyone else has the same issue.
Throttle number of requests per minute
when HTTP_REQUEST {
table add [IP::client_addr] 1 indefinite 10
if { [table incr [IP::client_addr]] > 4 } {
HTTP::respond 200 content "Too many"
} else {
HTTP::respond 200 content "OK"
}
}