Forum Discussion
Brian_69413
Nimbostratus
Nov 06, 2007iRule not capturing HTTP_REQUEST
I am working on parsing the payload of an HTTP_REQUEST event and encrypting/decrypting usernames/passwords. I am having trouble triggering the iRule for the specified request.
I do a tcpd...
hoolio
Cirrostratus
Nov 08, 2007Can you add a few log statements to the rule?
when CLIENT_ACCEPTED {
if { ([IP::client_addr] equals "x.x.x.x") } {
log local0. "client [IP::client_addr]:[TCP::client_port] connected"
}
}
when HTTP_REQUEST {
log local0. "client [IP::client_addr]:[TCP::client_port] -> [HTTP::method] -> [HTTP::host][HTTP::uri] (HTTP v[HTTP::version])"Then within the POST case, before any additional logic, add a log entry to show the Content-Type and Content-Length header values:
log local0. "client [IP::client_addr]:[TCP::client_port] -> \
[HTTP::method] -> Content-Type: [HTTP::header value Content-Type], \
Content-Length: [HTTP::header value Content-Length], \
Transfer-Encoding: [HTTP::header value Transfer-Encoding]"Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
