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
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
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
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,
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/
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 ?
--
#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
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
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
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
-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
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
-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
13 matches
Mail list logo