MW1
Jan 22, 2020Cirrus
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