Squid Access Controls

From: Benarson Behajaina R. <Benarson.Behajaina@dont-contact.us>
Date: Sun, 18 Aug 1996 17:28:16 +0200 (MET DST)

        Hello everyone,

  Has someone tried to define an access list based on
the combination of ip-address and domain ?

  i.e let's say my local network address is 192.108.125.0
  and one host called host1 has an ip-address 192.108.125.10
  let's say a domain dommfoo is .com

  So, what to do if I want to allow all hosts except the
host1 (192.108.125.10) for accessing the domain .foo.com ?
(i.e deny host1 if wants to access the domain .com,
but allow host1 if it wants to access domain other than .com)

I've tried something like this :
==========================================
acl host1 192.108.125.10/255.255.255.255
acl domfoo .com
http_access allow all !host1 domfoo
==========================================

But this doesn't work.

        Thank you,

        Benarson.

====================================================
Email : Benarson.Behajaina@swh.sk
URL : http://www.drp.fmph.uniba.sk/~benarson
====================================================
Received on Sun Aug 18 1996 - 08:34:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:49 MST