when CLIENT_ACCEPTED { if { [clientside {IP::remote_addr}] == "192.168.201.1" } { set Debug_Enable true log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Client connected [clientside {IP::remote_addr}]:[clientside {TCP::remote_port}]->[IP::local_addr clientside]:[TCP::local_port clientside]" TCP::collect } else { set Debug_Enable false } } when CLIENT_DATA { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Payload received from client" TCP::release } when HTTP_REQUEST { if { [info exists Debug_Enable] && $Debug_Enable } { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Complete HTTP request has been fully parsed" log local0.debug "[HTTP::method] [HTTP::host] [HTTP::uri] HTTP/[HTTP::version]" } } when HTTP_REQUEST_SEND { if { [info exists Debug_Enable] && $Debug_Enable } { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] HTTP request is about to be sent" log local0.debug "--====================== ## ======================--" TCP::collect } } when SERVER_CONNECTED { # This logs information about the TCP connections on *both* sides of the full proxy set client_remote "[IP::client_addr]:[TCP::client_port]" set client_local "[IP::local_addr clientside]:[TCP::local_port clientside]" set server_local "[IP::local_addr]:[TCP::local_port]" set server_remote "[IP::server_addr]:[TCP::server_port]" log local0. "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Server Connected BIG-IP($server_local)->Server($server_remote)" log local0. "Summary-client-side: Client($client_remote)<->VS($client_local)" log local0. "Summary-server-side: BIG-IP($server_local)<->Server($server_remote)" } when SERVER_DATA { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Payload received from server" TCP::release } when HTTP_RESPONSE { if { [info exists Debug_Enable] && $Debug_Enable } { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] Complete HTTP response has been fully parsed" log local0.debug "HTTP/[HTTP::version] [HTTP::status]" } } when HTTP_RESPONSE_RELEASE { if { [info exists Debug_Enable] && $Debug_Enable } { log local0.debug "[clock format [clock seconds] -format {%d/%b/%Y:%H:%M:%S %z}] HTTP response is about to be sent" log local0.debug "--====================== ## ======================--" } }