HTTP Traffic question

Hello,

I want to prioritize the http browsing instead of the http download. For example i want the client to be able to browse with 512kbit/s, but when he initiates download the speed to be limited to 128kbit/s.
Any idea how i can achieve this ?

I`m using RouterOS 2.8.26

By what parameters do you want to distinguish browsing and downloading?

you may ‘play’ with burst parameters to ensure fast web browsing. General description you will find in queue documentation, there are some topics about busts in the forum too.

How do you distinguish from a user downloading a 1MB image from a user downloading 1MB applications?

You may define bursts or complicated count-limit rules, but that would mainly apply to connections, not users.

What if a users is downloading a file while browsing?

i dont know nor what queues and firewall/mangle rules to use nor the parameters needed that was why i asked.. but im starting to get the general idea that distinguishing browsing and download isnt possible with queues. i may try to use squid with some modules to achieve the desired effect.

thanks to all replied.

Use bursting as suggested. You cannot distinguish if someone is downloading web page or file but if someone is downloding for unreasonable long time then it possibly is not browsing. Bursting solves that simpy and efficiently.

Take a look at simple queues.

Could you mangle: passthrough for HTTP- IN traffic and then below an accept rule for the download if that can be identified? ie P2P:

dst-address=:80 protocol=tcp action=passthrough mark-flow=HTTP

action=accept mark-flow=P2P

then use the queue tree with the priority/speeds you want.

Regards, Hugh