[squid-users] srcdomain none

From: Zeller, Jan <jan.zeller_at_id.unibe.ch>
Date: Wed, 20 Jan 2010 14:25:43 +0100

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 ? /

regards,

Jan
Received on Wed Jan 20 2010 - 13:25:58 MST

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