Forum Discussion
match both name and value in datagroup against clientIP and http header
All,
I am trying to write and irule that will inspect HTTP requests and match the client IP and a custom HTTP header value against a datagroup. Is there a way to do this in one check (e.g. [class match [IP::client_addr][string tolower [HTTP::header myheader]] eq my-ip-header-datagroup] ), or do I have to match the IP first and then match the returned value?
thanks in advance if anyone has any possible example/pointers
- MW1
Cirrus
I should have added the datagroup would be an address type and would have the HTTP header value as the value ie:
10.1.1.1::= my-header-value
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