ROPE Language Reference - "$max_repeat_loops"

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

When a repeat 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..

repeat: 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_repeat_loops put

See Also

repeat