Eric_Werner_283
Jan 15, 2010Nimbostratus
Respond to server depending on TCP::client_port
I'm trying to find a way to get the LTM to respond to a server watchdog packet only is the original client is still active. The scenario I am working with is one where the client establishes it's session, which is handled by an iRule, and sent on to the server. Every so often, the server will send out a watchdog packet to make sure the client is still there. The iRule is crafted to catch these packets and respond. Is it a simple matter to nest the watchdog response into an "if" check to see if the TCP::client_port is still there? Something like:
if {([TCP::client_port] != "")
}
Does this idea hold water, or am I better off looking somewhere else?
Eric Werner