In versions prior to version 6, we used to mark packets and create rule in queue tree to control traffic of sepcific file extensions like “MP4, EXE, MPEG, etc”
In version 6.x mikrotik introduced “global” parent in queue tree and removed “global-out” “global-in”, and all previous configurations are not working.
Please i need to know step by step how to control download speed for any file extension “exe, mp4, mp3, etc.” on versions 6.X
Im terrible at Regular Expressions but there is probably a way to combine these REGEX into one L7 rule. Having a ton of Mangle/L7 Rules will give you a fairly large performance hit.
Thank you kozmonov for replying, i have applied what is written in the link regarding marking packets for download, but when it comes to simple queues, this method dosent work on ver 6.x.
i will explain what i did exactly on version 6.17, knowing that i have edited some codes because they dont apply on this version:
Step3 “Adding simple queue for marked packets, but this will shape all traffic for all users, thats why i made it unlimited and created a child queue for specific IP”:
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=”” disabled=no limit-at=unlimited max-limit=unlimited name=”download max” packet-marks=exe parent=none priority=8 total-queue=default-small
Step4 (This is a script to generate all queues in one click, these queues should limit the download of the file extension .exe):
{
for i from=0 to=254 do={
queue simple add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=”” disabled=no limit-at=128k/128k max-limit=128k/128k name=“172.16.22 network $i” parent=”download max” priority=”8” target=”172.16.22.$i” total-queue=”default-small”
}}
what is happening, is that all traffic is shaped and not only exe
Please I need a solution, anyone can help???
Simple Queue configuration for specific file extension (.exe, .mp4, .mov, etc.) in Mikrotik version 6.x, board ccr-1036.