Forum Discussion

Sashi_81625's avatar
Sashi_81625
Icon for Nimbostratus rankNimbostratus
Sep 22, 2011

how to capture ldap response

here is the iRule that i am working on

 

 

 

when SERVER_CONNECTED {

 

TCP::collect

 

}

 

 

when SERVER_DATA {

 

 

set payload [TCP::payload]

 

 

binary scan $payload A* test_bytes

 

log local0. "$test_bytes"

 

 

TCP::release

 

 

}

 

 

 

but all i see in the logs is some binary data. i want to capture actual response that client see,

 

for ex: if the client is doing ldapsearch.. i want to capture the ldapsearch results in the logs.

 

 

note: Client to F5 and F5 to LDAP communication is all open (no-SSL)

 

 

 

1 Reply

  • You should take a look at the LDAP Proxy. I think it will help answer some of your questions.

     

     

    http://devcentral.f5.com/wiki/iRules.LDAPProxy.ashx