<div dir="ltr">Hi Chad, <div><br></div><div><br></div><div><div>Jitter &amp; Loss info:</div><div><br></div><div><p><span style="font-size:12.8px">alias jitteron=&#39;tc qdisc add dev eth1 root handle 1: netem delay 40ms 20ms ; tc qdisc add dev eth1 parent 1:1 pfifo limit 1000&#39;</span></p><p><span style="font-size:12.8px">alias joff=&#39;tc qdisc del dev eth1 root netem&#39;</span></p><p><span style="font-size:12.8px">alias jon=&#39;tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 200ms reorder 75% gap 1&#39;</span></p><p><span style="font-size:12.8px">alias jon2=&#39;tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 20ms reorder 10% gap 1&#39;</span></p><p><span style="font-size:12.8px">alias jon3=&#39;tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 100ms reorder 25% gap 1&#39;</span></p><p><span style="font-size:12.8px">alias jonl=&#39;tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem loss 15%&#39;</span></p><p><span style="font-size:12.8px">alias jshow=&#39;tc qdisc show dev eth1&#39;</span></p><p><span style="font-size:12.8px">alias loss=&#39;tc qdisc change dev eth1 root netem loss &#39;</span></p><p><br></p><p>You will have to adapt them to suit your need...<br></p></div></div><div><br></div><div><div>Also, I would have a look at <a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/support-d/.bashrc" target="_blank">https://freeswitch.org/stash/<wbr>projects/FS/repos/freeswitch/<wbr>browse/support-d/.bashrc</a><br></div><div></div></div><div><br></div><div>Best, </div><div>Joel.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 2, 2016 at 4:36 PM, Chad Phillips <span dir="ltr">&lt;<a href="mailto:chad@apartmentlines.com" target="_blank">chad@apartmentlines.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Anybody here a master of the Linux Traffic Control program?<div><br></div><div><a href="http://lartc.org/manpages/tc.txt" target="_blank">http://lartc.org/manpages/tc.t<wbr>xt</a><br></div><div><br></div><div>Asking because I have a need for a script that will allow me to simulate different types of internet connections (shitty 3G, DSL, wifi, etc), for the purposes of quality testing a WebRTC implementation.</div><div><br></div><div>I’d like to use tc (and perhaps iptables if that would help) to as closely simulate the various conditions (asymmetric bandwidth, packet loss, etc.) as possible.</div><div><br></div><div>I’m willing to pay for the help, and would be happy to donate the work back as open source.</div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>