RE: [squid-users] Blocking all IP sites

2005-05-27 Thread Henrik Nordstrom
On Thu, 26 May 2005, squidrunner support wrote: If you use dstdom* acl, then squid will reverse lookup on that domain. You can use url_regex acl itself as, 2.5.STABLE10 and later allows matching of IP based hosts in dstdomain and dstdom_regex. Regards Henrik

RE: [squid-users] Blocking all IP sites

2005-05-27 Thread Henrik Nordstrom
On Thu, 26 May 2005 [EMAIL PROTECTED] wrote: The problem is that it works when i am testing it with squidclient, but not in production. What does access.log say? Regards Henrik

RE: [squid-users] Blocking all IP sites

2005-05-27 Thread squidrunner support
The problem is that it works when i am testing it with squidclient, but not in production. Please elaborate with sample logs? It will work. How it is differing from testing and production? == Best Regards, Squid Runner Support squidrunner_dev

RE: [squid-users] Blocking all IP sites

2005-05-27 Thread lderuaz
well If i am testing with squid-client, i've got 127.0.0.1 - - [27/May/2005:16:48:43 +0200] GET http://1.2.3.4 HTTP/1.0 403 1398 TCP_DENIED:NONE If i am testing from my browser, i've got x.x.x.x - - [27/May/2005:16:46:54 +0200] GET http://1.2.3.4/ HTTP/1.0 0 0 TCP_MISS:NONE For information,

RE: [squid-users] Blocking all IP sites

2005-05-27 Thread Henrik Nordstrom
On Fri, 27 May 2005 [EMAIL PROTECTED] wrote: If i am testing with squid-client, i've got 127.0.0.1 - - [27/May/2005:16:48:43 +0200] GET http://1.2.3.4 HTTP/1.0 403 1398 TCP_DENIED:NONE If i am testing from my browser, i've got x.x.x.x - - [27/May/2005:16:46:54 +0200] GET http://1.2.3.4/

RE: [squid-users] Blocking all IP sites

2005-05-26 Thread lderuaz
Hello to all, i've tried the two acls you've proposed, without succes at the moment. #acl ip_sites url_regex ^http://[^/]\.[0.9]+(/|$) and acl ip_sites dstdom_regex ip_based ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ http_access deny ip_sites Is there something I've missed ? --

RE: [squid-users] Blocking all IP sites

2005-05-26 Thread squidrunner support
#acl ip_sites url_regex ^http://[^/]\.[0.9]+(/|$) and acl ip_sites dstdom_regex ip_based ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ http_access deny ip_sites If you use dstdom* acl, then squid will reverse lookup on that domain. You can use url_regex acl itself as, acl

RE: [squid-users] Blocking all IP sites

2005-05-26 Thread lderuaz
Thank you. i've tried also the url_regex. The problem is that it works when i am testing it with squidclient, but not in production. Thanks in advance for your support #acl ip_sites url_regex ^http://[^/]\.[0.9]+(/|$) and acl ip_sites dstdom_regex ip_based

[squid-users] Blocking all IP sites

2005-05-10 Thread Winn Rama
Can you guide me how to block all dest IP based sites (no domain name), while name based requests are still allowed? They make my box overloaded and too much flood. Thank you. Winn

RE: [squid-users] Blocking all IP sites

2005-05-10 Thread Mukunthan D
Hi Winn url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* regards Mukunthd -Original Message- From: Winn Rama [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 2:06 PM To: squid-users@squid-cache.org Subject: [squid-users] Blocking all IP sites Can you guide me how to block all

RE: [squid-users] Blocking all IP sites

2005-05-10 Thread Chris Robertson
-Original Message- From: Winn Rama [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 2:06 PM To: squid-users@squid-cache.org Subject: [squid-users] Blocking all IP sites Can you guide me how to block all dest IP based sites (no domain name), while name based requests

Re: [squid-users] Blocking all IP sites

2005-05-10 Thread Matus UHLAR - fantomas
On 10.05 14:21, Mukunthan D wrote: url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]* I'm not so sure that would deny requests for sites like 1.2.3.4.fantomas.sk -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this

RE: [squid-users] Blocking all IP sites

2005-05-10 Thread Chris Robertson
-Original Message- From: Matus UHLAR - fantomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 9:40 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Blocking all IP sites On 10.05 14:21, Mukunthan D wrote: url_regex http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9