RE: AW: [squid-users] block TOR

2011-12-03 Thread Jenny Lee
Judging from "dst" acl, ultrasurf traffic and all in this thread, this is talking about outgoing traffic to Tor via squid. Why would anyone want to block Tor traffic to his/her webserver (if this is not an ecommerce site)? If it was an ecommerce site, they would know what to do already and not

[squid-users] kernel consideration for heavy loaded network

2011-12-03 Thread Benjamin
Hi, We are using centos 6 for squid with tproxy feature.Our squid purpose is for only cache gain.So i wonder that do we need to compile vanilla kernel with any specific parameters or OS default kernel is enough to use with heavy network. Regards, Benjamin

AW: [squid-users] block TOR

2011-12-03 Thread Andreas Müller
The question is with traffic of tor should be blocked. Outgoing client traffic to the tor network or incoming httpd requests from tor exit nodes ? Andreas -Ursprüngliche Nachricht- Von: Jenny Lee [mailto:bodycar...@live.com] Gesendet: Sonntag, 4. Dezember 2011 00:09 An: charlie@gmail

RE: [squid-users] block TOR

2011-12-03 Thread Jenny Lee
I dont understand how you are managing to have anything to do with Tor to start with. Tor is speaking SOCKS5. You need Polipo to speak HTTP on the client side and SOCKS on the server side. I have actively tried to connect to 2 of our SOCKS5 machines (and Tor) via my Squid and I could not succ

Re: [squid-users] block TOR

2011-12-03 Thread Carlos Manuel Trepeu Pupo
Sorry for reopen an old post, but a few days ago i tried with this solution, and . like magic, all traffic to the Tor net it's blocked, just typing this: acl tor dst "/etc/squid3/tor" http_access deny tor where /etc/squid3/tor it's the file that I download from the page you people recommend me

Re: [squid-users] error build squid-3.1.17 with gcc-4.5.3

2011-12-03 Thread Jose-Marcio Martins da Cruz
Pedro Correia Sardinha wrote: Thank you for the new version, but when I try to compile the 3.1.18, give me now this output error: It works fine, now, for me, under Solaris. It's in production...

Re: [squid-users] error build squid-3.1.17 with gcc-4.5.3

2011-12-03 Thread Pedro Correia Sardinha
Thank you for the new version, but when I try to compile the 3.1.18, give me now this output error: store.cc:376:9: error: no match for 'operator<<' in 'std::operator<< [with _Traits = std::char_traits](((std::basic_ostream&)((std::ostream*)operator<<(((std::ostream&)((std::basic_ostream*)std::op

Re: [squid-users] Re: Squid URL rewritter

2011-12-03 Thread Benjamin
On 12/03/2011 08:58 PM, RW wrote: On Sat, 03 Dec 2011 19:26:21 +0530 Benjamin wrote: Can we use bash shell script for creating squid URL rewritter script?As from squid wiki, i got some examples but those are in Perl and php.So i wonder that can we use bash shell scripting to create squid URL r

[squid-users] Re: Squid URL rewritter

2011-12-03 Thread RW
On Sat, 03 Dec 2011 19:26:21 +0530 Benjamin wrote: > Can we use bash shell script for creating squid URL rewritter > script?As from squid wiki, i got some examples but those are in Perl > and php.So i wonder that can we use bash shell scripting to create > squid URL rewritters? Probably, but why

Re: [squid-users] Squid URL rewritter

2011-12-03 Thread Amos Jeffries
On 4/12/2011 2:56 a.m., Benjamin wrote: Hi, Can we use bash shell script for creating squid URL rewritter script?As from squid wiki, i got some examples but those are in Perl and php.So i wonder that can we use bash shell scripting to create squid URL rewritters? Please share your suggestio

Re: [squid-users] Problem with Varnish and intercept Squid

2011-12-03 Thread Amos Jeffries
On 4/12/2011 1:30 a.m., Nguyen Hai Nam wrote: Hi Amos, I mean the first error is from Squid debug screen. In my existing configuration, Squid is listening on two ports: 3128 and 3129 intercept just like you said. I'm just wondering to combine Intercepting Varnish + Squid, because Varnish do ca

[squid-users] Squid URL rewritter

2011-12-03 Thread Benjamin
Hi, Can we use bash shell script for creating squid URL rewritter script?As from squid wiki, i got some examples but those are in Perl and php.So i wonder that can we use bash shell scripting to create squid URL rewritters? Please share your suggestions and experience.Suppose if we have some

[squid-users] Slow TCP_HITs

2011-12-03 Thread RW
I'm using squid-3.1.16 on FreeBSD 8.2/amd64 running on localhost. I've noticed that some TCP_HITs are loading very slowly. I've tested this in Opera, Firefox, wget and fetch. Normal TCP_HITs are too fast for wget to meter, but the slows ones are 2kB/s to 30kB/s, mostly around 5kB/s. It's a bit aw

Re: [squid-users] FATAL: commonUfsDirCloseTmpSwapLog: rename failed

2011-12-03 Thread Amos Jeffries
On 3/12/2011 11:26 p.m., David Touzeau wrote: Dear I have this is my cache.log FATAL: commonUfsDirCloseTmpSwapLog: rename failed Squid Cache (Version 3.2.0.13-2030-r11447): Terminated abnormally. What does it means ? The cache swap.state log rebuild failed. Essentially the "mv swap.sta

[squid-users] FATAL: commonUfsDirCloseTmpSwapLog: rename failed

2011-12-03 Thread David Touzeau
Dear I have this is my cache.log FATAL: commonUfsDirCloseTmpSwapLog: rename failed Squid Cache (Version 3.2.0.13-2030-r11447): Terminated abnormally. What does it means ? Best regards

Re: [squid-users] Problem with Varnish and intercept Squid

2011-12-03 Thread Amos Jeffries
On 3/12/2011 9:38 p.m., Nguyen Hai Nam wrote: Hi, Now, I'd like to have additional Varnish as a cache agent in front of intercept Squid 3.2 (built successfully before). Varnish was built with default setting and start up script: # ./varnishd -a 0.0.0.0:8080 -b 0.0.0.0:3129 -s malloc,512M Va

[squid-users] Squid 3.1.18 is available

2011-12-03 Thread Amos Jeffries
The Squid HTTP Proxy team is very pleased to announce the availability of the Squid-3.1.18 release! This release brings bug fixes for several compile and crash issues found in earlier releases. Several of these problems are serious stability issues in certain environments. All squid-3 users ar

[squid-users] Problem with Varnish and intercept Squid

2011-12-03 Thread Nguyen Hai Nam
Hi, Now, I'd like to have additional Varnish as a cache agent in front of intercept Squid 3.2 (built successfully before). Varnish was built with default setting and start up script: # ./varnishd -a 0.0.0.0:8080 -b 0.0.0.0:3129 -s malloc,512M Varnish will listen at tcp port 8080 first, if th