From: "David S. Miller" <davem@davemloft.net>
To: Pradeep Anbumani <pradeepdreams@gmail.com>
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: ACK Flooding
Date: Mon, 22 Nov 2004 20:40:52 -0800 [thread overview]
Message-ID: <20041122204052.581ba69b.davem@davemloft.net> (raw)
In-Reply-To: <19f134cc04112220125461595d@mail.gmail.com>
On Tue, 23 Nov 2004 09:42:18 +0530
Pradeep Anbumani <pradeepdreams@gmail.com> wrote:
> If anybody could tell me what changes had to be made to get the
> desired output..the desired output is TCP as per the conventional
> behaviour has to increase the transmission rate as it gets more
> duplicate acknowledgements....
If you send a 100 ACKs you won't get this behavior.
Once you give more ACKs than the other end has packets
to send (or more than the congestion window can fit)
the sender just waits for a timer based timeout before
it retransmits more data.
So what you code causes to happen is after the first data segment
is sent, you crazily spit out 100 ACKs, the send has a tiny
congestion window (now 2 segments) so at most it can send 2
packets back in response to all of those ACKs.
next prev parent reply other threads:[~2004-11-23 5:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 4:12 Pradeep Anbumani
2004-11-23 4:40 ` David S. Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-18 6:29 Ack Flooding Srinivas Naga Vutukuri
2004-11-18 3:53 Pradeep Anbumani
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=20041122204052.581ba69b.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=pradeepdreams@gmail.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
Powered by JetHome