Search squid archive

[squid-users] Hostname ACL question

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

 



Hello,

I am trying to block/allow sites based on machine hostnames within my network; I have an inhouse DNS server that manages hostnames to IPs.

When I look at the squid logs, it appears to only show IP address. Is there a way to set up a client hostname ACL based on local machines on my network. For example:

acl test srcdomain linuxbox.wolfhome.com
acl TestACL url_regex -i <reg expression>

http_access deny TestACL !test

When I do this, it doesn't work at all. The logs show

1111013580.780 4 10.100.125.47 TCP_DENIED/403 1414 GET http://<blocked URL>/ - NONE/- text/html

when it should have allowed it based on the hostname being the ip address.

Any thoughts?

Thanks!!!

Joe

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

  Powered by Linux