netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* zero window probes on linux (fwd)
@ 2004-04-13 10:13 Praveen Kumar Amritaluru
  2004-04-13 18:50 ` Andi Kleen
  0 siblings, 1 reply; 8+ messages in thread
From: Praveen Kumar Amritaluru @ 2004-04-13 10:13 UTC (permalink / raw)
  To: netdev; +Cc: Praveen Kumar Amritaluru

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-04-15 13:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 10:13 zero window probes on linux (fwd) Praveen Kumar Amritaluru
2004-04-13 18:50 ` 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

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).