Forum Discussion
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
- Andy_McGrath
Cumulonimbus
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. https://devcentral.f5.com/s/articles/Use-iRules-LX-to-write-to-the-file-system?page=1
- Lee_Sutcliffe
Nacreous
You could also store client IP address in the session table and use another iRule to extract the IPs
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com