netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Praveen Kumar Amritaluru <praveen@india.hp.com>
To: netdev@oss.sgi.com
Cc: praveen@shilpa.india.hp.com (Praveen Kumar Amritaluru)
Subject: zero window probes on linux (fwd)
Date: Tue, 13 Apr 2004 15:43:29 +0530 (IST)	[thread overview]
Message-ID: <200404131013.PAA18883@shilpa.india.hp.com> (raw)

Hi,

	I am running a  client-server  program with client  running on a
	linux machine with 2.4.18-14 kernel installed.

	When the server  announces  zero-window  to the  client,  client
	starts  sending   zero-window   probes  which  are  nothing  but
	unacceptable segments.

	A short trace  obtained  using  tcpdump  and  interpreted  using
	ethereal is shown below:


16:27:17.979349 e.f.g.h.33464 > a.b.c.d.40000: P Seq=76441951 Ack=802335667 Win 5840 len=1080
16:27:18.040407 a.b.c.d.40000 > e.f.g.h.33464: . Seq=802335667 Ack=764413031 Win 0 len=0
16:27:18.256213 e.f.g.h.33464 > a.b.c.d.40000: . Seq=764413030 Ack=802335667 Win 5840 len=0

	This sequence  continues as per  retransmission  algorithm  with
	same seq no.  and ack no on both ends of TCP connection.

	It can be seen above that unacceptable  zero-length packets with
	a  sequence  no.  already   unacknowledged   is  being  used  as
	zero-window probes.

	Zero  window  probes are defined in RFC 793 and  RFC1122 to be a
	data  segment  containing  atleast  one byte of data  beyond the
	window of the receiver who has closed the window.

	This  seems  to be a bug.  Has it been  already  fixed in  later
	kernel versions or is this how it is intended to remain?


Regards,

Praveen

             reply	other threads:[~2004-04-13 10:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 10:13 Praveen Kumar Amritaluru [this message]
2004-04-13 18:50 ` zero window probes on linux (fwd) Andi Kleen
2004-04-14  8:57   ` Praveen Kumar Amritaluru
2004-04-14 11:41     ` Andi Kleen
2004-04-14 12:05       ` Praveen Kumar Amritaluru
2004-04-14 12:10         ` Andi Kleen
2004-04-14 12:26           ` Praveen Kumar Amritaluru
2004-04-15 13:20           ` Praveen Kumar Amritaluru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200404131013.PAA18883@shilpa.india.hp.com \
    --to=praveen@india.hp.com \
    --cc=netdev@oss.sgi.com \
    --cc=praveen@shilpa.india.hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).