ROPE Language Reference - "$max_while_loops"

The "$max_while_loops" limits the number of times a while loop can "go round". This blocks denial of service attacks that try to cause infiniate loops in a Rope script.

When a while loop goes round more than this number of times, the script aborts with a hotdrop status returned to IpTables, and an error message is added to the syslog file, containing the text..

while: looped too often.

The script can change it's own setting for this value (up to a configured hard-coded maximum) using put, like this..

50 $max_while_loops put

See Also

while