[squid-users] Time based Video Streaming Access

From: Anonymous <eletters_mail_at_yahoo.com>
Date: Tue, 19 Jun 2012 04:57:16 -0700 (PDT)

Hello Respected All,

I want to setup Time based Video Streaming Access for different IPs (same subnet), few IPs are allowed every time video/you tube streaming access, while other IPs (IPs list in file as SRC) are only allowed in set time duration any other IPs are not allowed to access Video/You tube access. Here's setup:
-------------------
Ubuntu 12.04
Squid 3.1.x
Two Groups of IPs
G-1 = Allowd Everytime
G-2 = Time Restriction (09:00-14:59)
G-3 = Everybody, Deny Access to Video/You tube streaming every time.
------------------------------
acl OpenIPs src "/etc/squid3/AlwaysOpenIPs. txt" # G-1= List of IPs allowed for Video Streaming Everytime.
acl TimedTubed src "/etc/squid3/TimeBasedIPs.txt" # G-2 = List of IPs allowed for set time duration.
acl NoTubeTime time SMTWHFA 08:30-14:59 # Time duration when you access to Time based IPs.
acl deny_rep_mime_flashvideo rep_mime_type video/x-flv # ACL to Deny Video Straming for everyone else.
http_reply_access allow OpenIPs TimedTubed NoTubeTime
http_reply_access deny TimedTubed
http_reply_access deny deny_rep_mime_flashvideo
------------------------------ -----------------------
Above mentioned ACLs are not working properly, General Internet Access (http_access) is also denied when used with "http_reply_access deny" I want to only deny video streaming/you tube in set time duration and allow internet access.

Thank you in advance.
Received on Tue Jun 19 2012 - 11:57:23 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 21 2012 - 12:00:03 MDT