Re: [squid-users] Block ip dynamically

2007-10-01 Thread leongmzlist
You can create a fifo pipe and have squid accesslogs log to that pipe. On the other end of the pipe, write a custom log processor to look for what and do what you want. Note: squid takes logging VERY SERIOUSLY. If you log processor crashes or blocks, that'll impact/crash squid. mike At

Re: [squid-users] Block ip dynamically

2007-10-01 Thread leongmzlist
Follow up to my previous email: http://wiki.squid-cache.org/SquidFaq/SquidLogs mike At 10:34 PM 9/30/2007, Guangwei Yuan wrote: Hi, We setup squid in the accelerator mode. To prevent potential cache poisoning, we validate the request url in the backend, and return http status 400 if the url

Re: [squid-users] Squid caching only server

2007-10-01 Thread Matus UHLAR - fantomas
On 30.09.07 22:03, Yogesh Patil wrote: I would like to use Squid Server as cache for ISP Setup, but i am not having previous experience with the Squid server, i want to use Squid as cache server only, and i don;t want to NAT my public ip's through cache server, so please suggest that is

[squid-users] Squid 2.6 Question: Can I run a Perl script before/after checking cache for image

2007-10-01 Thread Ethan Whitt
Squid Gurus, I am not sure if Squid is able to do this, but I thought this would be the right place to ask. Here is my setup Clients: Windows and Mac PC's with proxy setting to 3128 Squid Box: v2.6, not in forwarding path between users and Internet Is there a way I can have Squid run a Perl

[squid-users] I Want To Ping A Cache Object

2007-10-01 Thread Solomon Asare
Hi All, please, how do I tell I have an object in my cache without fetching the object. I want a command like: wget --spider, but where I access only the cache without going to the origin server if the object is not available in the cache. I hope I have made my self clear. Regards, solomon.

Re: [squid-users] I Want To Ping A Cache Object

2007-10-01 Thread Adrian Chadd
On Mon, Oct 01, 2007, Solomon Asare wrote: Hi All, please, how do I tell I have an object in my cache without fetching the object. I want a command like: wget --spider, but where I access only the cache without going to the origin server if the object is not available in the cache. Hm; if

[squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-01 Thread Sylvain Viart
Hi, I'm setting up a special config which sould do the following: * load balance URL on backend servers (originserver) * filter URL on different kind of server with URL rewriting based on URL. So I have: incomming URL: somedomaine/path/script.php = should go to peer which host script, php

Re: [squid-users] authenticating against Win2000 AD

2007-10-01 Thread polloxx
On 9/28/07, Cory Coager [EMAIL PROTECTED] wrote: polloxx wrote: I have a problem authenticating a squid server (on Debian Etch) against ldap on a Win2000 AD with IP address 10.0.0.10: In the AD I have - a domain: domain.com - a group Users - in that group I have a user Administrator

Re: [squid-users] I Want To Ping A Cache Object

2007-10-01 Thread Andreas Pettersson
Adrian Chadd wrote: On Mon, Oct 01, 2007, Solomon Asare wrote: Hi All, please, how do I tell I have an object in my cache without fetching the object. I want a command like: wget --spider, but where I access only the cache without going to the origin server if the object is not available

Re: [squid-users] I Want To Ping A Cache Object

2007-10-01 Thread Adrian Chadd
On Mon, Oct 01, 2007, Andreas Pettersson wrote: Adrian Chadd wrote: On Mon, Oct 01, 2007, Solomon Asare wrote: Hi All, please, how do I tell I have an object in my cache without fetching the object. I want a command like: wget --spider, but where I access only the cache without going

Re: [squid-users] delays in squid.

2007-10-01 Thread Tek Bahadur Limbu
Hi Azfar Hashmi, Azfar Hashmi wrote: ### squidclient mgr:info ### HTTP/1.0 200 OK Server: squid/2.6.STABLE12 Date: Sat, 29 Sep 2007 08:27:35 GMT Content-Type: text/plain Expires: Sat, 29 Sep 2007 08:27:35 GMT Last-Modified: Sat, 29 Sep 2007 08:27:35

Re: [squid-users] I Want To Ping A Cache Object

2007-10-01 Thread Solomon Asare
Hi All, thanks for the responses. I guess what I need is something like: squidclient -m HEAD -H 'Max-Forwards = 0\n' http://www.google.com It fetches only the HEADERS so I can grep for 'X-Cache: HIT from mySquid'. I think it still contacts the origin server on a MISS. I will prefer if it

[squid-users] Need ACL to restrict specific hosts to specific websites

2007-10-01 Thread George
Hi All; Relatively new to Squid, and am having a problem with an ACL. Currently, my setup allows all hosts access to all sites on the Internet with the exception of bad sites that I've already restricted via another ACL. I want to add another ACL to allow 5 specific hosts on our network to

[squid-users] Firefox automatic search

2007-10-01 Thread Ted To
Does anyone know if there is a way to get firefox's automatic search feature to work with squid? When I type something like squid-cache into the location window, I get the following instead of going to squid-cache.org as I'm used to. Thanks in advance. Ted To

[squid-users] multihomed vpn

2007-10-01 Thread pedro noticioso
Hi there I am using squid 2.6.STABLE5 that comes in debian etch We just installed a VPN and noticed a slow speed, so just added a second adsl connection straight to the lans swith and added it to the clients gateway configuration. I want to redirect the vpn servers http traffic to that new

Re: [squid-users] Squid 2.6 Question: Can I run a Perl script before/after checking cache for image

2007-10-01 Thread Chris Robertson
Ethan Whitt wrote: Squid Gurus, I am not sure if Squid is able to do this, but I thought this would be the right place to ask. Here is my setup Clients: Windows and Mac PC's with proxy setting to 3128 Squid Box: v2.6, not in forwarding path between users and Internet Is there a way I can

Re: [squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-01 Thread Chris Robertson
Sylvain Viart wrote: Hi, I'm setting up a special config which sould do the following: * load balance URL on backend servers (originserver) * filter URL on different kind of server with URL rewriting based on URL. So I have: incomming URL: somedomaine/path/script.php = should go to peer

Re: [squid-users] Need ACL to restrict specific hosts to specific websites

2007-10-01 Thread Chris Robertson
George wrote: Hi All; Relatively new to Squid, and am having a problem with an ACL. Currently, my setup allows all hosts access to all sites on the Internet with the exception of bad sites that I've already restricted via another ACL. I want to add another ACL to allow 5 specific hosts on our

Re: [squid-users] multihomed vpn

2007-10-01 Thread Chris Robertson
pedro noticioso wrote: Hi there I am using squid 2.6.STABLE5 that comes in debian etch We just installed a VPN and noticed a slow speed, so just added a second adsl connection straight to the lans swith and added it to the clients gateway configuration. You've done the hard part... I