[squid-users] unsubscript
[squid-users] Re: Youtube Changes
youtube back to static id -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659706.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: running squid by only one eth
if proxy just have one interface, so you must redirect your http traffic to squid port. its mean you need router. my proxy have one interface http://sphotos-e.ak.fbcdn.net/hphotos-ak-ash4/268169_1946987634030_209407_n.jpg -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/running-squid-by-only-one-eth-tp4659635p4659643.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Youtube Changes
Odhiambo Washington-4 wrote I am following this thread closely since inception and wanted to test this on my squid 2.7.9. However I am getting a problem with the second refresh_pattern regex. 2013/04/24 15:37:36| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?)': ignore-must-revali.. im so sorry. i forgot to remove refresh_pattern option. here correct refresh_pattern refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?) 43200 99% 43200 override-expire ignore-reload ignore-no-cache ignore-private negative-ttl=0 -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659626.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Youtube Changes
Odhiambo Washington-4 wrote This doesn't seem to work for me - so far. Here is what I have added to squid.conf: 2013/04/24 17:12:26| WARNING: store_rewriter #1 (FD 7) exited 2013/04/24 17:12:26| Too few store_rewriter processes are running FATAL: The store_rewriter helpers are crashing too rapidly, need help! Squid Cache (Version 2.7.STABLE9): Terminated abnormally. CPU Usage: 0.036 seconds = 0.012 user + 0.024 sys Maximum Resident Size: 6916 KB Page faults with physical i/o: 0 My /usr/local/squid/logs/yt.log is empty try chmod 555 /usr/local/etc/squid/scripts/storeurl.pl and try again -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659629.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Send FileZilla FTP traffic through ICAP server
DaveBurkholder wrote Good evening everyone, Using Squid 3.3.3 on Centos 6.4. I need to be able to send FTP client traffic through an ICAP server for Data Loss Prevention (DLP) purposes. I have the following ACLs defined in squid.conf *** acl ftp proto FTP acl ftp_port port 20 21 http_access allow ftp_port connect http_access allow ftp *** However, when I attempt to connect to my FTP server via FileZilla, I get the following squid log: Thanks, Dave is that youtube use ftp?? if not why post this question on thread youtube? -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659633.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Youtube Changes
Amos Jeffries-2 wrote How about updating the Squid wiki pages with this recent information? reading four pages of dense regex patterns with the odd word or two of documentation in the middle is not an great way to spend the evening. http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube is a collaborative effort between the people interested fixing YT cacheability problems. Please also correct those squid.conf settings which are documented. The regex patterns added to squid.conf do not need .* or .*$ on the ends. # acl yutub url_regex -i .*youtube\.com\/.*$ # acl yutub url_regex -i .*youtu\.be\/.*$ acl yutub url_regex -i youtu(be\.com|\.be)\/ or maybe even: acl yutub dstdomain .youtube.com .youtu.be # acl redirec urlpath_regex -i .*redirect_counter=1cms_redirect=yes # acl redirec urlpath_regex -i .*ir=1rr=12 acl redirec urlpath_regex -i redirect_counter=1cms_redirect=yes ir=1rr=12 # acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$ # acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$ acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*(redirect_counter=1|cms_redirect=yes) Amos thank's amos, i will correc ACL, and i'm sorry if my english so bad. because i still learn english also squid -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659615.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Youtube Changes
ragheb68 wrote Hi syaifuddin, Trying to implement the changes you proposed on squid 2.7stable 9. Got confused there is nothing in your email concerning refresh patterns and other old youtube settings in squid.conf should all of them be removed and replaced with new ones or just add the new acls along with the old ones. I have currently installed File::Readbackwards Perl module on fedora 13 and added your lines to my already old squid.conf with old youtube among other settings and replaced the old storeurl.pl with yours but still I can see TCP_MISS on all youtube requests in access.log file. Any ideas what could be the cause? strip_query_terms off acl yutub dstdomain .youtube.com .youtu.be logformat squid1 %{Referer}h %ru access_log /var/log/squid/yt.log squid1 yutub acl redirec urlpath_regex -i redirect_counter=1cms_redirect=yes ir=1rr=12 acl videocache url_regex -i \.(youtu|google).*\.com\/videoplayback storeurl_access deny redirec storeurl_access allow videocache storeurl_rewrite_program /etc/squid/storeurl.pl storeurl_rewrite_children 1 storeurl_rewrite_concurrency 10 cache deny redirec refresh_pattern ^.*youtube\.com\.SQUIDINTERNAL.*$ 43200 99% 43200 override-expire ignore-reload ignore-no-cache ignore-private negative-ttl=0 refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?) 43200 99% 43200 override-expire ignore-reload ignore-must-revalidate ignore-no-cache ignore-private negative-ttl=0 -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659620.html Sent from the Squid - Users mailing list archive at Nabble.com.
Re: Fwd: [squid-users] Re: Youtube Changes
ragheb68 wrote Hello syaiffudin i noticed that in one of your threads you mentioned to compile squid with --enable-referer-log I have this disabled in my 2.7 squid compilation. Could that be the problem that I am still getting misses with my youtube videos. I have also used amos corrections in the ACLs still no youtube videos are being cached as hits only misses. Thanks build option --enable-referer-log not necessary anymore since we have this config acl yutub dstdomain .youtube.com .youtu.be logformat squid1 %{Referer}h %ru access_log /var/log/squid/yt.log squid1 yutub and don't forget to change or add this too *strip_query_terms off * hope this can help you -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659621.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Squid 3.4 Head can't cache static url
header and respond http://www.megalink-online.com/images/logo-d-link.jpg GET /images/logo-d-link.jpg HTTP/1.1 Host: www.megalink-online.com Connection: keep-alive Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 Referer: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-4-Head-can-t-cache-static-url-td4659576.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en,id;q=0.8,en-US;q=0.6 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 If-Modified-Since: Tue, 18 Oct 2011 04:23:16 GMT HTTP/1.1 304 Not Modified Server: nginx admin Date: Mon, 22 Apr 2013 13:49:56 GMT Last-Modified: Tue, 18 Oct 2011 04:23:16 GMT Connection: keep-alive Expires: Mon, 29 Apr 2013 13:49:56 GMT Cache-Control: max-age=604800 X-Cache: HIT from Backend -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-4-Head-can-t-cache-static-url-tp4659576p4659597.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Youtube Changes
try this https://code.google.com/p/tempat-sampah/source/browse/storeurl.pl and read it -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Youtube-Changes-tp4659599p4659600.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: squid 3.Head storeid
babajaga wrote I emailed you detailed info. The symptom of the bug would be, that data of one video-request will receive the storage key of the request for another video, and vice versa. This can only occur, when you have 2 or more users accessing yt the same time. Or one user watching yt in 2 browser windows simultaneously. So, the more users you have active, the higher the probability, that it might show up. I also sent you a suggestion, how to reduce the probability of the bug to show up. Unfortunately, I do not see the chance for a fool-proof solution. Unless, the rewriter has access to the header data of the GET. AFAIK, this is not possible. read this https://code.google.com/p/tempat-sampah/source/browse/storeurl.pl # for ALL Youtube ( range non range ) # first you need do this # install package dependencies apt-get install libfile-readbackwards-perl # add line below to your squid config and remove # # *strip_query_terms off* # acl yutub url_regex -i .*youtube\.com\/.*$ # acl yutub url_regex -i .*youtu\.be\/.*$ # logformat squid1 %{Referer}h %ru # access_log /var/log/squid/yt.log squid1 yutub # acl redirec urlpath_regex -i .*redirect_counter=1cms_redirect=yes # acl redirec urlpath_regex -i .*ir=1rr=12 # cache deny redirec # acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$ # acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$ # storeurl_access deny reddeny -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-squid-3-Head-storeid-tp4659552p4659587.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: squid 3.Head storeid
babajaga wrote A, thanx a lot. I only looked into this one, mentioned on top: this my store-id lt;https://code.google.com/p/tempat-sampah/source/browse/store-id.plgt;. and therefore did not see or implement all the ideas from the notes in https://code.google.com/p/tempat-sampah/source/browse/storeurl.pl regarding the logs in squid.conf. Will mod and check. why i give to you link storeurl? this because you said to me you play with squid 2.7 -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-squid-3-Head-storeid-tp4659552p4659590.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: squid 3.Head storeid
i have use my storeurl for more than 30 internet cafe ( per internet cafe have 20 computer ). so if you say busy system, how much request on that squid??? because in my server have request more than 8K. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-squid-3-Head-storeid-tp4659552p4659580.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Squid 3.4 Head can't cache static url
hi everybody, i wan to know if some one use squid 3.Head can cache this url http://www.megalink-online.com/images/logo-d-link.jpg i was try with every combination refresh pattern it can't cache -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-4-Head-can-t-cache-static-url-tp4659576.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: squid 3.Head storeid
Eliezer Croitoru-2 wrote why do you use this code?? my $ref_log = File::ReadBackwards-new('/var/log/squid/yt.log'); . why do you need to read old logs? Eliezer i use that code becaouse i need ID where it static ID example when i play this video http://www.youtube.com/embed/*jsdSkYwU6nM *or this http://www.youtube.com/watch?v=*jsdSkYwU6nM * i wan squid store video whit this *jsdSkYwU6nM* ID so i need squid or helper get from old log. not all log, but some line. like babajaga say, id from file was dynamic since March -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Re-squid-3-Head-storeid-tp4659552p4659563.html Sent from the Squid - Users mailing list archive at Nabble.com.