Forum Discussion
Mike_Rausch_628
Nimbostratus
Feb 09, 2009IRULE to track connections
I have created an IRULE to track connections to links we have posted for training videos.
A message is sent to a log file for every different video we have posted and then all of the connections are counted and tallied using a script.
Unfortunately, there is a search engine hitting the links quite a bit and I would like to put a line in the rule to discard that connection.
any help would be appreciated.
Thanks
- naladar_65658
Altostratus
Is there any way that you could sanatize the iRule you wrote and post it as well? - Mike_Rausch_628
Nimbostratus
It looks like this... - Philippe_CLOUP
Employee
If you know the IP of the webbot, you can simply add a line like this:if { [IP::remote_addr] equals "a.b.c.d"} { reject log lcoal0. "search engine rejected : [IP::remote_addr]" return }
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