Re: [squid-users] Squid 3.1 and TPROXY 4 Problems

2012-05-05 Thread Amos Jeffries
On 5/05/2012 7:58 p.m., Dave Blakey wrote: Hi all, I'm busy working on a tproxy setup with the latest squid on Ubuntu 12.04; tproxy is enabled, squid is compiled with tproxy support etc. The difference with this setup is that traffic is being sent to the host using route-map on a cisco as oppos

Re: [squid-users] Squid Restarting

2012-05-05 Thread Amos Jeffries
On 4/05/2012 9:59 p.m., Justin Lawler wrote: Hi, We're running squid 3.1.19 - and have seen it restarting from the logs, just after the below error: 2012/04/19 12:12:28| assertion failed: forward.cc:496: "server_fd == fd" 2012/04/19 12:12:59| Starting Squid Cache version 3.1.19 for sparc-sun-

Re: [squid-users] Re: external acl code examples

2012-05-05 Thread Amos Jeffries
On 6/05/2012 10:55 a.m., Amos Jeffries wrote: On 6/05/2012 8:09 a.m., E.S. Rosenberg wrote: 2012/5/3 Eliezer Croitoru: On 02/05/2012 14:53, E.S. Rosenberg wrote: 2012/5/2 E.S. Rosenberg: Hi, I just thought I'd share the script I have for the squid side, maybe someone finds it useful. I wrote

Re: [squid-users] need suggestion for bulk users

2012-05-05 Thread Amos Jeffries
On 6/05/2012 9:24 a.m., Muhammad Yousuf Khan wrote: thanks for sharing your experience but what about ISPs who are handling thousands of queries . aren't they using squid? AFAIK my ISP is usring squid and its a biggest ISP in whole country. and some time i am getting the squid error messages. so

Re: [squid-users] Re: external acl code examples

2012-05-05 Thread Amos Jeffries
On 6/05/2012 8:09 a.m., E.S. Rosenberg wrote: 2012/5/3 Eliezer Croitoru: On 02/05/2012 14:53, E.S. Rosenberg wrote: 2012/5/2 E.S. Rosenberg: Hi, I just thought I'd share the script I have for the squid side, maybe someone finds it useful. I wrote in PHP because I wanted to use prepared stateme

Re: [squid-users] Strange user name in SQUID log

2012-05-05 Thread Amos Jeffries
On 6/05/2012 12:53 a.m., Pavel Bychykhin wrote: Hi! My SQUID version is 3.1.19. Recently I noticed very strange log record (strange user name): 1335604655.033 49 192.168.1.20 TCP_DENIED/407 481 HEAD http://s7.addthis.com/static/r07/sh084.html %ef%bf%af%ef%be%bf%ef%be%90%ef%bf%af%ef%be%b

Re: [squid-users] Connection Reset by Peer (104)

2012-05-05 Thread Amos Jeffries
On 5/05/2012 1:53 a.m., Baird, Josh wrote: Hi, Running 2.6.STABLE21-6 (RHEL5) here. I am unable to access http://www.nacuboannualmeeting.org/. The error that is thrown is: The following error was encountered: Read Error The system returned: (104) Connection reset by peer My acc

Re: [squid-users] Re: cache peer communication about HIT/MISS between squid and and non-squid peer

2012-05-05 Thread Amos Jeffries
On 2/05/2012 8:44 p.m., x-man wrote: Thanks Amos, what will change if the cache peer is talking ICP or HTCP protocol? Can I use one of this protocols to say if the answer is HIT or MISS, so the main squid who is in intercept mode to the customers, will mark the traffic? ICP and HTCP are use to

Re: [squid-users] need suggestion for bulk users

2012-05-05 Thread Muhammad Yousuf Khan
thanks for sharing your experience but what about ISPs who are handling thousands of queries . aren't they using squid? AFAIK my ISP is usring squid and its a biggest ISP in whole country. and some time i am getting the squid error messages. so what would be their strategy ? On Sun, May 6, 2012 a

Re: [squid-users] Redirector idea using request header

2012-05-05 Thread Marcus Kool
On 05/05/2012 06:31 AM, gslavic wrote: Hi, there, Is there a way to read "Request Header" BEFORE it is writen in access.log ? Example: There are three versions of internet site. One for Simbian phones, one for Android phones, one for regular internet browsers. In request header there is a field

Re: [squid-users] need suggestion for bulk users

2012-05-05 Thread E.S. Rosenberg
2012/5/5 Muhammad Yousuf Khan : > right now i am handling 35 users with a squid having 512 MB ram and > it is on virtual server KVM linux, things are working fine. but for my > career growth i am looking for a good path to continue with squid. > like for example if i move to another org. and they h

Re: [squid-users] Re: external acl code examples

2012-05-05 Thread E.S. Rosenberg
2012/5/3 Eliezer Croitoru : > On 02/05/2012 14:53, E.S. Rosenberg wrote: >> >> 2012/5/2 E.S. Rosenberg: >>> >>> Hi, >>> I just thought I'd share the script I have for the squid side, maybe >>> someone finds it useful. >>> I wrote in PHP because I wanted to use prepared statements and am most >>> fa

Re: [squid-users] anyone knows some info about youtube "range" parameter?

2012-05-05 Thread Eliezer Croitoru
it seems like if a server (apache,nginx) is responding to a "range" request with the full file the player will get it without any problem despite the "range" request. so if you do have a current cache with a lot of files you can still use it. i also got into this nice project: http://code.goo

[squid-users] need suggestion for bulk users

2012-05-05 Thread Muhammad Yousuf Khan
right now i am handling 35 users with a squid having 512 MB ram and it is on virtual server KVM linux, things are working fine. but for my career growth i am looking for a good path to continue with squid. like for example if i move to another org. and they have like around 300 or 500 users . how c

[squid-users] Strange user name in SQUID log

2012-05-05 Thread Pavel Bychykhin
Hi! My SQUID version is 3.1.19. Recently I noticed very strange log record (strange user name): 1335604655.033 49 192.168.1.20 TCP_DENIED/407 481 HEAD http://s7.addthis.com/static/r07/sh084.html %ef%bf%af%ef%be%bf%ef%be%90%ef%bf%af%ef%be%be%ef%be%90%ef%bf%af%ef%be%bf%ef%be%90%ef%bf%af%ef

[squid-users] Redirector idea using request header

2012-05-05 Thread gslavic
Hi, there, Is there a way to read "Request Header" BEFORE it is writen in access.log ? Example: There are three versions of internet site. One for Simbian phones, one for Android phones, one for regular internet browsers. In request header there is a field: */User-Agent: Mozilla/5.0 (SymbianOS/9

[squid-users] Squid 3.1 and TPROXY 4 Problems

2012-05-05 Thread Dave Blakey
Hi all,  I'm busy working on a tproxy setup with the latest squid on Ubuntu 12.04; tproxy is enabled, squid is compiled with tproxy support etc. The difference with this setup is that traffic is being sent to the host using route-map on a cisco as opposed to WCCP but it seems that should work. Unfo