Ethereal-dev: Re: [Ethereal-dev] questions

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Sat, 7 May 2005 07:52:09 +1000
On 5/7/05, Neil Harwani <neil.winsock@xxxxxxxxx> wrote:

> 2. i m working on a project to reduce bandwidth usage from client side
> ? i have reached the stage where i can read packets raw at network
> layer using recv function. how do i now drop packets ? my idea is to
> drop packets at network layer and thus TCP will think there is
> congestion and reduce the speed of sending packets . is my logic
> right.

You may want to read up on the whitepapers written by Sally Floyd.

One technique of dropping packets to simulate congestion before it
actually occurs to get TCP to backoff is called RED/GRED and is
available on most IP routers.

You may also want to look at ECN, traffic shaping and TCP Pacing.


You do not really need to write this yourself,    traffic shaping and
RED/GREP is more than likely already available in your routers, you
just have to configure it.