Networking Forums

Networking Forums > Computer Networking > Linux Networking > Poor man's QoS

Reply
Thread Tools Display Modes

Poor man's QoS

 
 
Peter
Guest
Posts: n/a

 
      07-30-2003, 12:13 PM
Our ISP does not offer QoS as such, and nobody in this country does (I'm NOT
in US). Since QoS for us is primarily needed to ensure reasonable VoIP
quality, I was thinking what-if Linux firewall/router does the following:

* as soon as UDP session on voice ports is established, start severely
throttling or blocking outgoing TCP packets with ACK bit set,
* sends out ECNs on behalf of my internal IPs that have established TCP
sessions.

In theory this may reduce or even stop incoming TCP traffic thus freeing bw
for voice. Of course I will never be able to fully control incoming TCP, and
UDP will not be rate-limited in any way. Still, this may provide some
performance improvement.

Any comments, or suggestions how to implement this on Linux? iptables can be
used to monitor voice traffic, but I can't think of a way how to use
iptables to trigger TCP throttling/generation of ECNs.

Peter


 
Reply With Quote
 
 
 
 
Erhard Schultchen
Guest
Posts: n/a

 
      07-30-2003, 12:25 PM
Und "Peter" <(E-Mail Removed)> sprach:

> Any comments, or suggestions how to implement this on Linux? iptables
> can be used to monitor voice traffic, but I can't think of a way how
> to use iptables to trigger TCP throttling/generation of ECNs.


I dont know about ECN, but throttling ACK packets can be done by
iproute, read the cookbooks at
http://lartc.org/howto

regards,
Erhard
 
Reply With Quote
 
Alexander Clouter
Guest
Posts: n/a

 
      07-31-2003, 07:26 AM
My script pretty much does this all for you. It is perfect in an environment
where you you want to shape and prioritize the traffic for a large number of
machines evenly and fairly. Such situations are at home and at office for a
large number of luser machines.

http://digriz.org.uk/jdg-qos-script/

For the ECN stuff just simply add the parameter 'ecn' to the RED lines
download line and it should meet your needs. This should be a configuration
value in the next version.

Regards

Alex

In article <bg8cp9$m4lli$(E-Mail Removed)>, Peter wrote:
> Our ISP does not offer QoS as such, and nobody in this country does (I'm NOT
> in US). Since QoS for us is primarily needed to ensure reasonable VoIP
> quality, I was thinking what-if Linux firewall/router does the following:
>
> * as soon as UDP session on voice ports is established, start severely
> throttling or blocking outgoing TCP packets with ACK bit set,
> * sends out ECNs on behalf of my internal IPs that have established TCP
> sessions.
>
> In theory this may reduce or even stop incoming TCP traffic thus freeing bw
> for voice. Of course I will never be able to fully control incoming TCP, and
> UDP will not be rate-limited in any way. Still, this may provide some
> performance improvement.
>
> Any comments, or suggestions how to implement this on Linux? iptables can be
> used to monitor voice traffic, but I can't think of a way how to use
> iptables to trigger TCP throttling/generation of ECNs.
>
> Peter
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poor reception, poor connection, and dropped signal unusualpsycho Wireless Networks 2 06-07-2006 12:54 AM
My line's poor, what can I do? aboleth@gmail.com Broadband 10 02-18-2006 03:46 PM
Does poor quality dial-up line equal poor quality broadband connection? Rab C Broadband 23 11-10-2005 10:54 PM
Does no one else think microsoft does a poor job? Jeremy Lundgren Wireless Networks 2 11-19-2004 11:17 PM
very poor speed Gavin Broadband 0 02-16-2004 05:06 PM



1 2 3 4 5 6 7 8 9 10 11