PDA

View Full Version : [ubuntu] log network connection



_sphinx_
October 8th, 2008, 07:58 PM
Just curious!! how do we log all the incoming and outgoing connection of computer?
Is there some command?
TIA.

secondstage
October 8th, 2008, 08:41 PM
Try this out. (http://www.cyberciti.biz/faq/linux-tcpip-connection-monitor-howto/)

uncannybuzzard
October 8th, 2008, 08:42 PM
check out tcpdump or tshark.

to monitor an interface and the connections it makes do


tcpdump -i eth0 [or whatever your interface is called]