Radius and LDAP Checking

Hi,

I have a system which require to loadbalance the traffic based Radius and LDAP checking.

The logic flow is like below:

1. Intercept the radius-accounting session.

2. Parse and obtain attribute A and attribute B’s value

3. Use attribute A of radius information to dip LDAP for Attribute C’s value

4. Build a table of values (Attribute A, Attribute B, Attribute C)

5. Intercept HTTP connection

6. Check the table’s attribute C’s value for source IP = Attribute A’s value, based on it to loadbalance to different pools of server.

May i know if Irule can accomplish this?

Thanks,

Yo Yo