Forum Discussion

Maria_Ramirez_5's avatar
Maria_Ramirez_5
Icon for Nimbostratus rankNimbostratus
Apr 19, 2006

CAN I LOG SNAT/NATs AT THE END OF THE SESSION?

 

Good morning,

 

I have an iRule that can log SNATs each time that this issue happens:

 

 

when SERVER_CONNECTED {

 

 

log local0. "selected snat [IP::local_addr]

 

 

}

 

 

But I have a problem: I have a client who needs to have this log, but at the end of a session. Do you know if there is any way to do this iRule but the log is generated only when the session is finished?

 

Perhaps I need to look for a FIN flag or something like that in the packet but I do not know how

 

 

Thank you in advance. I am waiting for your answer.

 

 

María