Bob_Olson_10988
Nov 16, 2007Nimbostratus
Restrict access to nodes in a pool after pool is selected.
Hello;
I'm extremely new to iRules and am doing my best at teaching myself. These forums are a huge help. I've been asked to come up with something that I'm not sure is even possible.
We have an iRule that searchs for a string in the body of the HTTP post. If the string is found it selects a certain pool. In that pool there are members that our security team wants to restrict access to. I have another iRule that can restrict access based on source IP address working but what I'm struggling with is how do I apply that ACL iRule to only certain nodes in the pool. Here is the main rule:
when HTTP_REQUEST {
if { [findstr [HTTP::payload] "log local0. "MULTICARD_AUTH Found sending request to TIBCO Server."
pool soaq-ccauth
} else {
log local0. "String not found sending to Webmethods only pool."
pool wbomxrealq_5080
}
}
The pool saoq-ccauth is the pool with "special" members in it. If anyone can give me some tips to get me out of this sticking point, I would greatly appreciate it.
Thanks;
-Bob