I got an idea to control the bandwith used to download.

Sometimes people used this ml to ask how to shape the download bandwidth and 
everytime someone said that you can't because you have already received the 
packets, so why drop them ?

Well this is a trick that can work quite good on every type of box:

= we assign a few KBytes/s of _upload_ bandwidth to each box =


Examples:

- Client        [no service provided]

# to permit heavy mail delivering
if from client:any to mailserver:25 queque fast  
# default connections get shaped
if from client:port > 1024 queque slow

- Server        [SMTP and web]

# to permit heavy smtp
if from server:25 to any queque fast  
# to permit heavy http
if from server:80 to any queque fast  
# default connections get shaped
if from client:port > 1024 queque slow


I would like people that find a good setup to share them on this ml.


        Ed



Reply via email to