using an iRule to store client source IPs list

Hi all,

I’m looking for a way to store client source IPs that connect to a specific virtual server.

I need this data to create a white-list that will be used in a condition block in a different iRule, applied on a different VS.

At first i thought to a dynamic population of a data-group, but searching a bit for it, i cannot find any applicable solution.

please help me.

Regards, Alex

You cannot write directly from iRules to anything within the F5 configuration or filesystem.

You could either log the data using High Speed Logging (HSL) or look at using an iRuleLX solution which can write to part of the filesystem e.g. Use iRules LX to write to the file system - Community CodeShare - DevCentral - An F5 Technical Community

You could also store client IP address in the session table and use another iRule to extract the IPs