SUBMISSION FLOOD BLOCKING
Description:
A problem that can arise is an individual who tries to send a great deal of requests just for the sole purpose of filling up your email box with junk. Submission flood blocking enables you to limit the number of form request per IP address sent in a certain period of time.
$set_flood_filter defines whether or not to turn on Submission Flood Blocking.
Set to 1 to turn on, and 2 to turn off.
$set_flood_filter = "1"; ## ON ##
$set_flood_filter = "2"; ## OFF ##
If above variable is set to $set_flood_filter = "1"; then you must specify an error page if the form has been flooded past the limit. This is done by the variable $flood_error_page.
Example:
$flood_error_page = "flood.html";
In the form was flooded the html page flood.html would be displayed.
$flood_data specifies the data file that submission tracking information is written to. This information is then used to see if flooding limits are met.
Example:
$flood_data = "flood.dat";
$set_flood_time specifies the time limit range in minutes to check number of posts. So if in the time period specified the maximum alowed posts set by $max_flood_submit is exceeded, then the post will be blocked and the html flood error page will be displayed.
Example:
$set_flood_time = "3";
In the example above, the time range to check the number of submissions is set to 3 minutes.
$max_flood_submit specifies the maximum number of posts alowed in the period of time specified by $set_flood_time .
Example:
$max_flood_submit = "5";
In the example above, the maximum number of submissions allowed before flaging as a flood would be 5. Therefore 5 posts by a particular IP address would be the maximum allowed in the determined period of time specified by $set_flood_time .