Forum Discussion
coolzyt_17417
Nimbostratus
Oct 13, 2011How to close client connection when server closed connection
I can close the underlying socket between the server and f5.
But I cannot close the connection between f5 and client.
I tried to use the irule like
SERVER_CLOSED
{
clientside
{ reject
}
}
but no effect.
How can i do this?
Very thanks!
2 Replies
- Michael_Yates
Nimbostratus
Hi coolzyt,
Try this and see if it works for you:when HTTP_REQUEST { log local0. "Client IP Address: [IP::client_addr]." } when LB_SELECTED { log local0. "Load Balanced Server: [LB::server addr]" } when SERVER_CLOSED { log local0. "Server Connection Closed to [IP::server_addr]." TCP::close log local0. "TCP Connection Closed to [IP::client_addr]." } - coolzyt_17417
Nimbostratus
Thank you Michael!
I have solved it. The server must use the RST packet to closed the connection,And f5 can close client connection now!
The only confused thing is the RST won't trigger SERVER_CLOSED event.Anyway, It works!
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