Forum Discussion
swabbies_112156
Jan 23, 2012Nimbostratus
Time-based class
Hello.
Does anyone know of a way to implement time-based members of a class?
We are looking to implement an Irule that uses class entries that will expire after a defined time-period.
We are trying to update a class with entries that will only exist for 15 minutes and then be automatically removed from the class.
example: user-id testuser1 is abusing our system. So we want to drop his requests with an irule for 15 minutes.
we would then send an api command to update the class to :
class penatly_box {
"testuser1"
}
and then somehow after 15 minutes the entry would be deleted from the class.
Any information would be appreciated.
- Michael_YatesNimbostratusHi swabbies,
- Colin_Walker_12Historic F5 AccountMichael is dead on here. Is there a particular reason that you want to use data groups for this? Tables have timeouts built in and could work great for this.
- swabbies_112156NimbostratusThe reason for a class is that we are still running 9.x code.
- ArieAltostratusIs the code v9 or just the OS?
- swabbies_112156NimbostratusThe OS is 9.4.8
- swabbies_112156NimbostratusThe OS is 9.4.8
- hooleylistCirrostratusYou can use the session command in 9.4.x for this:
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects