Page 1 of 1

QoS - video calls

Posted: Mon May 13, 2013 1:34 am
by kwschnei
Router:
Gargoyle Version:1.5.9
Model:TP-Link TL-WR1043N/ND v1

A little background: I have a pretty low usage cap for the month (18 gigabytes), and as overage runs $20/gigabyte I'd really like to limit the bandwidth available to Skype and FaceTime. I modified the VOIP QoS category to have a BW maximum of 256kbps (up and down). This produces a usable, but not great, video quality that gets me down into the 250-300 megabyte range for an hour long call.

I set up a rule for Skype using L7 matching, and tested it today - that worked fine. I didn't have FaceTime in my L7 list, so I looked up the ports that it uses and created a few rules for those. However, when I made a test FaceTime call, the up+down came out to ~1.4 megabit. I can't figure out why and am looking for some help.

Facetime Ports (my research and the connection list tells me that the UDP port ranges are what handle the video traffic).
Facetime ports
Facetime ports
Screen Shot 2013-05-12 at 9.29.24 PM.png (17.19 KiB) Viewed 4911 times
Attachment 2: QoS (upload rules)
QoS (upload) #1
QoS (upload) #1
Screen Shot 2013-05-12 at 9.32.35 PM.png (58.44 KiB) Viewed 4911 times
QoS (upload) #2
QoS (upload) #2
Screen Shot 2013-05-12 at 9.32.41 PM.png (33.44 KiB) Viewed 4911 times

Re: QoS - video calls

Posted: Mon May 13, 2013 1:41 am
by kwschnei
QoS Download rules:
QoS (Download) #1
QoS (Download) #1
Screen Shot 2013-05-12 at 9.33.54 PM.png (56.96 KiB) Viewed 4910 times
QoS (Download) #2
QoS (Download) #2
Screen Shot 2013-05-12 at 9.33.59 PM.png (34.31 KiB) Viewed 4910 times
FaceTime traffic isn't being caught by those rules though, instead, they're falling into the default Slow category.
FaceTime not being caught by rules
FaceTime not being caught by rules
Screen Shot 2013-05-12 at 9.39.17 PM.png (12.14 KiB) Viewed 4910 times
Thoughts?

Re: QoS - video calls

Posted: Mon May 13, 2013 9:07 pm
by pbix
When you specify items in a rule all the items you specify must match simultaneously for the rule to match.

In the example connection you show at the end of your post I see ports 3484 and 16402. You have no rule listed that will match this combination of ports so it will fall to the default.

Re: QoS - video calls

Posted: Mon May 13, 2013 10:28 pm
by kwschnei
So, the way I have it set up right now will only match if the source and destination both fall within one of the single ranges specified in an individual rule? That makes sense.

Since I can't specify multiple ranges in a single rule (or at least it doesn't appear that I can), the better way to do it would be to specify just the source ports, correct?

Re: QoS - video calls

Posted: Tue May 14, 2013 7:51 am
by pbix
Generally we specify source ports on the upload download and destination ports on the upload. But you will have to experiment. There are too many applications in the world for me to know exactly what you should do in this case.