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

Vicstick0810's avatar
Vicstick0810
Icon for Nimbostratus rankNimbostratus
Mar 14, 2025

Help needed with iRule (connection closed log )

Hi, 

 

Im troubleshooting a website which gives an Error Connection Reset error when requesting a page.

I want to create an iRule which logs this, and created the following iRule on the Virtual Server:

 

when CLIENT_CLOSED {

    #log local0. "Connection reset by client: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"

}

 

when SERVER_CLOSED {

    #log local0. "Connection reset by server: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"

}

 

However when I try to check the log files I dont see any messages shown. 

Is there anything wrong with the iRule?

1 Reply

  • Remove #

     

    when CLIENT_CLOSED {

        log local0. "Connection reset by client: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"

    }

     

    when SERVER_CLOSED {

        log local0. "Connection reset by server: [IP::client_addr] - [HTTP::host] - [HTTP::uri]"

    }