Detecting different types of traffic

In router os how do you mark/detect traffic of a specifi transfer? eg. http-audio, spereate from eg. http-download and http-video? I’ve been using ET/Bwmgr for years now, and you can do that with their software. This way I can limit the speed of someone downloading music thru http(http-audio) or watching a video(http-video).

I’ve been wanting to migrate from emerging technologies(not happy with their support) to mikrotik. If anyone has any ideas how do this I would be very grateful.

Anyone???

This should get you started:

Marking Traffic for use with queues, etc: http://www.mikrotik.com/docs/ros/2.9/ip/mangle

Packet flow in a MT Router: http://www.mikrotik.com/docs/ros/2.9/ip/flow

Thanks for the information but I’ve already looked over that but couldn’t find what I was looking for. What I need to do is have a queue that limits the speed of a http-audio or http-video stream but not other http traffic.

You can use the ‘content’ field in mangling to detect a MIME type, then mark the packets in that connection. There are a handful of MIME types that could be audo/video so you should search google for a list of the most common.

Sam

For exemple here is the list of MIME types:

http://www.w3schools.com/media/media_mimeref.asp

thanks for that link . now i have 2 questions :

1- when i want to mangle the video type of MIME should i put ( video/mpeg ) in the content field ?

2- whne i want to mangle the file download i have to mangle ftp , but i found most of the downloads are not using ftp , how can i seperate this kind of download from the http mangle ??