Controling YouTube traffic using policy and bandwidth management

Solution

Overview

Controling YouTube traffic using policy and bandwidth management
How do I take control of traffic coming from youtube.com?
I need a policy to deny the access of video files in YouTube or if allow, only provide limited bandwidth.

Cause
Resolution

The following policy can be used to control YouTube traffic

Policy based on Client’s request:

<proxy>
url.extension=".flv" DENY

Policy based on Server’s response:

<proxy>
response.header.Content-Type="video/flv" DENY

<proxy>
response.x_header.Content-Type="x-video/flv" DENY

Note:
1.     You can use either “.flv” or “flv” strings
2.     Another possible extension for the video is “.swf”. You can replace “.flv” with “.swf”
3.     To determine the file extension, use a packet analyzer to check the HTTP header “content-type”.

Using Bandwidth Management to limit the bandwidth usage

1.     Create a bandwidth class
    a. Example; YouTube
    b. Set Min/ Max bandwidth

See below screen shot for example:

 

Use the following policy to apply bandwidth management

Policy based on Client’s request:

<proxy>
url.extension=".flv" limit_bandwidth.client.inbound(YouTube)

Policy based on Server’s response:

<proxy>
response.header.Content-Type="video/flv" limit_bandwidth.client.inbound(Youtube)

<proxy>
response.x_header.Content-Type="x-video/flv" limit_bandwidth.client.inbound(YouTube)

Workaround
Additional Information
Bug Number
InQuira Doc IdKB3268
Attachment

Article Feedback

Did this Article solve your issue?
Additional Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat