<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: creating controlled latency/jitter</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Gerald Combs wrote:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; crash3m wrote:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; I need to test some real time traffic, but I need to create some </FONT>
<BR><FONT SIZE=2>&gt; &gt; 'interference' to simulate a flaky internet connection.&nbsp; I am trying </FONT>
<BR><FONT SIZE=2>&gt; &gt; to create controlled latency so that I can determine at which point </FONT>
<BR><FONT SIZE=2>&gt; &gt; latency (and jitter) becomes a big problem.&nbsp; Would this be a job for </FONT>
<BR><FONT SIZE=2>&gt; &gt; QoS?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; If you need to simulate flakiness at layer 2 you might be able to use</FONT>
<BR><FONT SIZE=2>&gt; FreeBSD's dummynet(4) driver.&nbsp; Dunno if there's an equivalent Netfilter</FONT>
<BR><FONT SIZE=2>&gt; module for Linux.</FONT>
<BR><FONT SIZE=2>&nbsp;</FONT>
<BR><FONT SIZE=2>We've used dummynet here at work. It works well. You can control bandwidth, latency, packet loss, multiple paths...</FONT>
</P>

<P><FONT SIZE=2>Here's a short tutorial:</FONT>
<BR><FONT SIZE=2><A HREF="http://cs.ecs.baylor.edu/~donahoo/tools/dummy/tutorial.htm" TARGET="_blank">http://cs.ecs.baylor.edu/~donahoo/tools/dummy/tutorial.htm</A></FONT>
</P>

<P><FONT SIZE=2>And it's author's page:</FONT>
<BR><FONT SIZE=2><A HREF="http://info.iet.unipi.it/~luigi/ip_dummynet/" TARGET="_blank">http://info.iet.unipi.it/~luigi/ip_dummynet/</A></FONT>
</P>
<BR>

<P><FONT SIZE=2>I spent a long time looking for an equivalent linux solution. There used to be something that could be made to introduce latency using ethertap and a 2.2 kernel. But I was otherwise unable to find a way to simulate delay using linux. If anyone knows of anything, please let me know.</FONT></P>

<P><FONT SIZE=2>cheers,</FONT>
</P>

<P><FONT SIZE=2>Garrett</FONT>
</P>

<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Garrett Goebel</FONT>
<BR><FONT SIZE=2>IS Development Specialist</FONT>
</P>

<P><FONT SIZE=2>ScriptPro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Direct: 913.403.5261</FONT>
<BR><FONT SIZE=2>5828 Reeds Road&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Main: 913.384.1008</FONT>
<BR><FONT SIZE=2>Mission, KS 66202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: 913.384.2180</FONT>
<BR><FONT SIZE=2>www.scriptpro.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; garrett at scriptpro dot com</FONT>
</P>

</BODY>
</HTML>