On Mon, 2010-09-13 at 07:53 -0700, Tom Eastep wrote: 
> 
> I resurrected some old code that I had implemented earlier and performed
> some more testing. Attached is a patch against
> /usr/share/shorewall/Shorewall/Tc.pm. It applies (with offsets) to
> 4.4.11 and later versions.
> 
> It adds an OUT-BANDWIDTH column to /etc/shorewall/tcinterfaces. This
> column contains:
> 
>       <rate>:<latency>[:[<peak>][:[<minburst>]]]
> 
> where the terms are explained in tc-tbf(8).
> 
> I have a 5mbit uplink and I placed 4500kbit:100kb:200ms in the new
> column. I then pinged while running several speed tests at speedtest.net.
> 
> My /etc/shorewall/tcpri:
> 
> #BAND PROTO           PORT(S)         ADDRESS         INTERFACE
> 3     -               -               70.90.191.124/31
> 3     ipp2p:all       bit
> 2     udp             53
> 1     icmp            8
> 
> The results:
> 
> --- xx.xx.xx.xx ping statistics ---
> 263 packets transmitted, 263 received, 0% packet loss, time 273041ms
> rtt min/ave/max/mdev = 6.130/8.876/72.844/5.497 ms

Sweet.  I will have to find a moment to give this a try.

b.

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to