Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-18-2013, 04:36 PM   #1
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Monitoring network packets sent

I think maybe netmap might do this but before I strike off into the woods maybe someone has had a similar need.
I would like to know if my system is repeatedly sending the same query/packets because I find I have to frequently restart a connection to a web site before I can get a connection. When I do it gets it quick (probably cuz pages needed already downloaded), when I don't the browser (FF) just cycles and the lights on the modem stop blinking.
So is there an easy way to find if I am sending duplicate data with the tools provided with Slack 13.37?
Old 08-18-2013, 05:24 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
tcpdump will do it (though it may not be overly pretty).
# tcpdump -i eth0 -w filename.txt
Browse until you encounter the problem (this records a lot of data so it's best if you have an easily reproducible problem...otherwise you may be sifting through irrelevant packets for quite a while). Ctrl+C to stop recording. Then view the data with
# tcpdump -r filename.txt
Add the -X option to the second command to view the actual data in a readable format instead of just the headers...but with a lot of packets, it makes it difficult to go through it all.

wireshark (see SBo for that) is a much, much nicer way of viewing/visualizing network packets.
Old 08-18-2013, 08:22 PM   #3
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
Monitoring network packets sent

Interesting, hadn't thought about tcpdump but makes some sense.
Wonder if shell script would be fast enough to read one use it as an egrep pattern to find dups? It would I know in examining the file output but looking for something more real time without sinking to C / Tkl-Tik


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network tools for monitoring network traffic the_gripmaster Linux - Networking 2 10-24-2012 10:14 PM
Monitoring Packets Over an Open Port militiaware Linux - Networking 1 10-25-2011 08:19 AM
monitoring packets ssh utesh Linux - Enterprise 3 03-15-2010 07:06 PM
network monitoring:unable to launch nagios network monitoring system oladapo1980 Linux - Newbie 0 07-21-2009 02:45 PM
Monitoring Packets And More eklitzke Linux - Networking 2 03-03-2005 11:47 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration