Networking Forums

Networking Forums > Computer Networking > Linux Networking > Keeping track of TCP retries.

Reply
Thread Tools Display Modes

Keeping track of TCP retries.

 
 
rayvd@digitalpath.net
Guest
Posts: n/a

 
      12-15-2004, 11:48 PM
I'm trying to figure out if it's possible to track or increment a
counter that will keep track of the number of times the OS is forced to
"retry" a TCP packet. In our case, this will help us identify customer
connections which are suffering from connection problems without having
to run an icmp ping to them at all times.

I'm a little foggy on the tcpdump output, but it appears that the
sequence numbers stay the same when a TCP connection times out and
needs to be retried, but I'm not sure of a great way to identify and
track this stuff, or if it's even smart to do given lots of network
traffic.

Any ideas or suggestions would be appreciated.

 
Reply With Quote
 
 
 
 
Rick Jones
Guest
Posts: n/a

 
      12-16-2004, 12:50 AM
(E-Mail Removed) wrote:
> I'm trying to figure out if it's possible to track or increment a
> counter that will keep track of the number of times the OS is forced
> to "retry" a TCP packet. In our case, this will help us identify
> customer connections which are suffering from connection problems
> without having to run an icmp ping to them at all times.


> I'm a little foggy on the tcpdump output, but it appears that the
> sequence numbers stay the same when a TCP connection times out and
> needs to be retried, but I'm not sure of a great way to identify and
> track this stuff, or if it's even smart to do given lots of network
> traffic.


Which is it - retransmission of TCP segments (packet) as you imply in
the first paragraph, or reconnection after TCP connections timeout as
implied in the second paragraph?

A retransmitted TCP segment will overlap in sequence space with
segments already sent. In tcpdump you will see the sequence number go
back, or remain the same (if there was only one segment outstanding on
the connection and it was the one lost).

On a 2.6 kernel at least, the output of /proc/net/tcp looks promising.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      12-16-2004, 07:29 AM
In comp.os.linux.networking (E-Mail Removed):
> I'm trying to figure out if it's possible to track or increment a
> counter that will keep track of the number of times the OS is forced to
> "retry" a TCP packet. In our case, this will help us identify customer
> connections which are suffering from connection problems without having
> to run an icmp ping to them at all times.


netstat -s

Might help.

Hint:
man netstat

[..]

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 157: Incorrect time synchronization
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP tools to track changes? farcry80 Windows Networking 3 04-18-2008 02:13 AM
Can i track logons on WinServer2003 Express Windows Networking 2 12-19-2006 09:00 AM
how to track the user? vinay Linux Networking 2 10-19-2006 04:14 PM
Keeping track of downloads. Nigel Broadband 0 02-20-2005 10:12 PM
How do I track a ARP flood =?Utf-8?B?Q2hyaXMgSGFsdmVyc29u?= Windows Networking 1 12-12-2003 02:24 PM



1 2 3 4 5 6 7 8 9 10 11