Re: [squid-users] srcdomain none

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 21 Jan 2010 13:08:27 +1300

On Wed, 20 Jan 2010 14:25:43 +0100, "Zeller, Jan" <jan.zeller_at_id.unibe.ch>
wrote:
> Dear Squid-list,
>
> i am a bit confused about :
> http://www.squid-cache.org/Versions/v3/3.0/cfgman/acl.html
>
> acl aclname srcdomain .foo.com ... # reverse lookup, from client
IP
> The name "none" is used if the reverse lookup fails.
>
>
> What I want to achieve is to deny access to clients which have no DNS
> entry.
> My ACL actually looks like this :
>
> acl BadClients srcdomain none
> deny_info ERR_CUSTOM_ACCESS_DENIED BadClients
> http_access deny BadClients
>
> But it doesn't work properly. The message which is defined in
> ERR_CUSTOM_ACCESS_DENIED appears but once the refresh button (or CTRL-R)
in
> the browser (IE & Firefox) is pressed access is granted.
> What am I doing wrong here ? /

Set debug_options 28,3 and find out.

Amos
Received on Thu Jan 21 2010 - 00:08:31 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 21 2010 - 12:00:04 MST