[squid-users] Hostname ACL question

From: Joe Giles <[email protected]>
Date: Wed, 16 Mar 2005 16:08:26 -0700

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
Received on Wed Mar 16 2005 - 16:08:34 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST