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
>
>