I created the following Irule in order to increase the TCP idle TimeOut for certain applications. When a connexion occur, in /var/log/ltm file I see systematically the following error and it dosen’t work properly:
Sep 5 15:42:11 F5-Prod err tmm[7623]: 01220001:3: TCL error: /Common/IR_TCP_TimeOut - no serverside connection established (line 1) invoked from within “TCP::server_port” (“1423” arm line 4) invoked from within "switch [TCP::local_port] { 1423 { …
Sep 5 15:42:11 F5-Prod err tmm[7623]: 01220001:3: TCL error: /Common/IR_TCP_TimeOut - no serverside connection established (line 1) invoked from within “TCP::server_port” (“1423” arm line 4) invoked from within "switch [TCP::local_port] { 1423 { …
i do not see TCP::server_port in the irule. is it complete irule?
why do you want to change TCP::local_port to TCP::server_port? TCP::local_port is destination port on clientside connection (between client and bigip).
So no bug :-), but the problem still there. When a connexion occur with port 1423 there is the following error:
Sep 5 15:42:11 F5-Prod err tmm[7623]: 01220001:3: TCL error: /Common/IR_TCP_TimeOut - no serverside connection established (line 1) invoked from within “TCP::server_port” (“1423” arm line 4) invoked from within "switch [TCP::local_port] { 1423 { …
I have built the following simple IRule. It’s working fine but the timeout is increased for all flows (no filter on port).
when CLIENT_ACCEPTED {
set the TCP idle timeout for the client to 3600
IP::idle_timeout 3600
}
when SERVER_CONNECTED {
set the TCP idle timeout for the server to 3600
IP::idle_timeout 3600
}
The error occurs because the BIG-IP receive some UDP traffic. The script does not managed UDP port. so a filter must be added at the start of the script.