Forum Discussion
Robert_47833
Jun 01, 2011Altostratus
wanna record user_agent from specific client ip
Hi
I have a requirement
it seems impossible
we want to record user_agent from some specific client ip
when CLIENT_ACCEPTED {
if
{ [IP::addr [IP::client_addr] ...
hooleylist
Jun 01, 2011Cirrostratus
Hi Jen,
In addition to Jason's info...
The reason it makes sense to do IP and port checks in CLIENT_ACCEPTED is that that clientside info can't change over the course of a TCP connection. If you're inspecting layer 7 content it makes sense to do it on each HTTP request as it could change on each request. If you want specific feedback on some of your more important or heavily used iRules, feel free to post an anonymized copy of them. We can give you some tips that you might be able to apply to the rest of your rules.
Aaron
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