Forum Discussion
iRules and Data Group
I am trying to use DataGroup in iRules. I need to block a list of User Agents would like to use Data Group. Local Traffic|iRules|Data Group List, I created a Datagroup called UnwantedAgents, the type is string, and create useragent01, ... useragent15. I leave empty on the value when I create records.
Then when I update the value to agent string, the record is gone. For example name:useragent01 value:cssutils+0.9.8a3+(http://www.cthedot.de/cssutils/)
After I clicked Update button, the useragent01 is disappeared from the list.
Why? where is this record? I am trying to add new usragent01 record, I got the message said the record is in the list already.
Did I do something wrong?
Where is the file stored?
Thanks, Xin
5 Replies
- THi
Nimbostratus
Which sw version are you using. At least inn 11.4.1 prior to HF6 there is a similar bug, see:
SOL14671: Using the Configuration utility to update an iRule Data Group may result in error
- Xin_99652
Nimbostratus
My Big-IP version is 11.2.1.
Can it work?
- StephanManthey
Nacreous
Hi Xin, You will use the "Edit" mode to modify an existing datagroup key, press "Add" afterwards to get it back into the list and now "Update" to load the modified datagroup. Timo is right, there was a bug in v11.4 regarding empty values. To be on the safe side you may add a dummy value per key. Thanks, Stephan
- Xin_99652
Nimbostratus
Thank you very much!
- Arie
Altostratus
There's an older version of the iRule editor that had a bug that was exactly what you're describing. Were you using the iRule editor? If so, which version?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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