Advertisement
punces

acl youtube

Jun 27th, 2017
825
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. acl tostoreid url_regex -i ^https?\:\/\/.*google.*video(playback|goodput).*
  2. acl tostoreid url_regex -i ^https?\:\/\/.*youtube.*(stream_204|watchtime|qoe|atr|csi_204|playback).*[=%&?\/]docid[=%&?\/]([^\&\s]*)
  3. acl tostoreid url_regex -i ^https?\:\/\/.*youtube.*(ptracking|set_awesome).*[=%&?\/]video_id[=%&?\/]([^\&\s]*)
  4. acl tostoreid ulr_regex -i ^https?\:\/\/.*youtube.*(player_204).*[=%&?\/]v[=%&?\/]([^\&\s]*)
  5.  
  6. store_id_bypass off
  7. store_id_extras "%{Referer}>h"
  8. store_id_program /etc/squid/youtube.pl
  9. store_id_children 2000 startup=30 idle=1
  10. store_id_access allow tostoreid
  11. store_id_access deny all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement