LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2013, 03:36 PM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 373

Rep: Reputation: 0
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, 04:24 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,231

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
tcpdump will do it (though it may not be overly pretty).
Code:
# 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
Code:
# 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, 07:22 PM   #3
waddles
Member
 
Registered: Sep 2012
Posts: 373

Original Poster
Rep: Reputation: 0
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
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 06:50 AM.

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