Urza9814 Posted December 6, 2006 Report Share Posted December 6, 2006 Is there any easy way to record or view all the traffic to and from my computer (including traffice blocked by the firewall if possible) for about 10 seconds? Main thing I'm looking for is how much traffic and to what IP addresses. Port numbers would be nice too. Quote Link to comment Share on other sites More sharing options...
Phil Edwards Posted December 9, 2006 Report Share Posted December 9, 2006 (edited) Is there any easy way to record or view all the traffic to and from my computer (including traffice blocked by the firewall if possible) for about 10 seconds? Main thing I'm looking for is how much traffic and to what IP addresses. Port numbers would be nice too. tcpdump is the tool you need, with possibly ethereal too. 'urpmi tcpdump' 'urpmi ethereal' 'tcpdump -i eth0' will show you the traffic on your eth0 interface - you can dump this to a file for later examination, see 'man tcpdump' for the full gory details. Edited to add: If you need to see what your firewall is blocking, you'll probably need to look at the firewall logs seperately, assuming you mean a hardware firewall external to your main computer. Edited December 9, 2006 by Phil Edwards Quote Link to comment Share on other sites More sharing options...
Urza9814 Posted December 9, 2006 Author Report Share Posted December 9, 2006 Ah, that's what I needed. And by firewall I meant software, not hardware. My hardware firewall is my router, and I was trying this to figure out what's causing the logs on it. It doesn't give near enough info. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.