For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Yugandhar's avatar
Yugandhar
Icon for Nimbostratus rankNimbostratus
Nov 06, 2018

Reg L4 Event Commands in L7 Event

Hi,

 

Can we use the following L4 commands when a HTTP_REQUEST event is triggered.

 

When HTTP_REQUEST{

 

set client [IP::client_addr]:[TCP::client_port]

 

}

 

I am looking to log the remote client address when HTTP event is triggered.

 

Thanks, Yugandhar.

 

3 Replies

  • Snl's avatar
    Snl
    Icon for Cirrostratus rankCirrostratus

    try below irule

    when HTTP_REQUEST {
        log local0. "clientIP:[IP::client_addr] accessed [HTTP::host][HTTP::uri]"
    }