Search squid archive

Time based Video Streaming Access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux