08-Apr-2018
00:00
- last edited on
02-Jun-2023
09:33
by
JimmyPackets
Guyz i need an irule for server response to client request. This is the current irule i have.
when CLIENT_ACCEPTED { log local0. " This is the client ip adress [IP::remote_addr]: [TCP::remote_port] " log local0. "this is the virtual server they connected to [IP::local_addr]:[TCP::local_port]" } when SERVER_CONNECTED { log local0. "this is the virtual ip's addess [IP::local_addr]:[TCP::local_port]" log local0. "this is the server its loadbalanced to [IP::remote_addr]:[TCP::remote_port] "
}
I want to see which ip the server is responding to. How can i create an irule to see this.
08-Apr-2018
03:01
- last edited on
05-Jun-2023
13:10
by
JimmyPackets
To log the pool member (the server) responding to your client request, you can use
IP::server_addr
Please see the following wiki link for more details: https://devcentral.f5.com/Wiki/iRules.IP__server_addr.ashx
08-Apr-2018 05:43
[IP::local_addr] and [IP::remote_addr] commands return a different value on client and server side events
On client side events :
On server side events :