Abed_AL-R
Mar 13, 2021Cirrostratus
table incr timeout
Hi
Is there any way to create the 'table incr' entry without timeout
according to f5 documentation it will have timeout of 180 seconds
is there any other syntax i can use instead of it to not have the 180 seconds timeout?
This is part of the iRule I'm using:
set srcip [IP::remote_addr]
if { [ASM::violation count] > 0 } {
set getCount [table incr $key]
if { $getCount< $static::maxRate } {
incr getCount 1
} else {
table delete $key
}
If there was no traffic for 3 minutes then the $key variable will be timeout, and the 'getCount' variable will be reset