Search squid archive

srcdomain none

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux