Forum Discussion
I need an irule to read a txt file in a remote webserver for blocking external IPs dynamically
I need an irule to read a txt file in a remote webserver for blocking external IPs dynamically something like reading a dynamic txt file in a webserver in a remote server
- Lee_Sutcliffe
Nacreous
To do this you’d need to use a sideband connection which isn’t ideal in TCL. iRules LX can do this much easier but I wouldn’t really advocate doing it this way. It would be better to automatically update a datagroup, perhaps using REST api.
- youssef1
Cumulonimbus
Hi,
where is the file located? and how is it filled (updated).
It is located on a webserver? or on F5. and how is it formatted?
Lee is Right you can directly automatically update a datagroup. But wee need the context in order to give you the right recommendation.
Regards,
- Stanislas_Piro2
Cumulonimbus
You may not do that with an irule but with tmsh command and icall scheduler!
Irule are per connection, so it will use too many cpu to use irules.
- raj_bjs77
Nimbostratus
file is located on webserver in a txt file. It will be updated as a entry in a text file
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