Skip to contentSkip to conversation

How to mark and queue

LARTC Daniel Bergqvist [email protected] 1 participant 1 message Oct 19, 2000

lore
Share & tools
lore

Daniel Bergqvist [email protected]

author
#0 lore raw

<PRE>Before I found out about traffic control in the Linux kernel I used the
rshaper module: <A HREF="http://freshmeat.net/news/1999/11/02/941520726.html.">http://freshmeat.net/news/1999/11/02/941520726.html.</A> You might find it useful to drop packets. The rshaper module shapes
incomming traffic depending on the destination ip address but it is easy to
change it to only drop some packets according to a drop function.

If you are unsure about how to make the necessary changes to the module I might help you, if you provide me with the algorithm for the packet drop function.

Regards,
Daniel

&gt;<i> Från: <A HREF="mailto:[email protected]">[email protected]</A> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]För </I>&gt;<i> Josip Gracin
</I>&gt;<i>
</I>&gt;<i> Daniel Bergqvist (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
</I>&gt;<i> &gt; How do you want the packets be dropped? What do you want to
</I>&gt;<i> achieve? Which
</I>&gt;<i> &gt; rules will control which packets get dropped?
</I>&gt;<i>
</I>&gt;<i> We have performed some measurements of packet drops on real WAN link. I
</I>&gt;<i> would like to reproduce the characteristics of (congested) WAN link/router
</I>&gt;<i> as close as possible. Rules for dropping will not be based on packet
</I>&gt;<i> contents but on a random variable with certain distribution which in turn
</I>&gt;<i> depends on parametars such as packet size (e.g. for voice traffic).
</I>&gt;<i>
</I>&gt;<i> Josip
</I>&gt;<i>
</I>&gt;<i>
</I>

</PRE>