Ubuntu: tcp connection last activity or open timestamp



Question:

Is there a way to get an open tcp connections latest activity timestamp or first open timestamp?

I am trying to recycle some tcp connections and I would like to do it fairly.


Solution:1

use iptables along with either LOG and ULOG target.

These targets turn on kernel logging of matching packets.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »