clazba
Jan 30, 2011Nimbostratus
table command, how to log a timeout
Hi,
I would like to be able to log when a connection has timed out and thus dropped off the table in a rate limiting irule.
As far as I can tell there is no specific event triggered when a subtable entry has timed out (i.e. removed from the subtable because the timeout value has expired).
Consequently, I cant see a way of doing this without looping through the subtable and checking the timeout value of each key with 'table timeout - remaining'.
I see this as an 'ugly' way of doing it and very CPU expensive when the subtable contains thousands of entries.
Is there a better way of doing this ??
Thanks,
Claud