network traffic for a give user
OS : CentOS 5.3 64bit
How to trace incoming and outgoing network traffic for a give user?
User 'A' logs in to the system and does various network connectivity
As root user need to find what are the outgoing and incoming connection that are related with user 'A'.
basically need to check the connection flow.
netstat will show ESTABLISHED, LISTEN etc..
need something like tcpdump
Eg:-
--user option for tcpdump
tcpdump -vv -nn -i eth0 host 10.200.2.1 and tcp dst port 8080 --user A
Can someone tell me any tool which can do such thing?
Even if it can show the process ID of the client application which is trying to establish network connectivity will do.
|