Re: [squid-users] restrict a particular username to a class c segment]

From: Hement Gopal <hementg@dont-contact.us>
Date: Fri, 28 Oct 2005 09:52:22 +0200

-------- Original Message --------
Subject: Re: [squid-users] restrict a particular username to a class c
segment
Date: Fri, 28 Oct 2005 09:50:11 +0200
From: Hement Gopal <hementg@cns.wits.ac.za>
To: Chris Robertson <crobertson@gci.com>
CC: squid <squid-users@squid-cache.org>
References: <192679F3E82880468A29BB10EC24C72647D3B0@DTN1EX01.gci.com>

Thanks

Managed to sort this out.

created
acl net src a.b.c.0/255.255.255.0
acl user proxy_auth_regex -i "/usr/local/squid/etc/user.txt"

http_access allow user net
http_access deny user

Works like a charm!!

Rgds,
Hement

Chris Robertson wrote:

>>-----Original Message-----
>>From: Hement Gopal [mailto:hementg@cns.wits.ac.za]
>>Sent: Wednesday, October 26, 2005 11:15 PM
>>To: squid
>>Subject: [squid-users] restrict a particular username to a class c
>>segment
>>
>>
>>Hi all
>>
>>I am running Squid 2.5 Stable 5 on Redhat 9 on a class B network.
>>
>>I want to restrict a particular username to one of my class
>>C segments
>>using ACL's
>>
>>Can anyone give me a pointer?
>>
>>
>>
>
>http://www.squid-cache.org/Doc/FAQ/FAQ-10.html
>
>
>
>>I would prefer to point the src and username acl to a text file using
>>regex if it is at all possible.
>>
>>Many thanks
>>
>>Rgds,
>>Hement
>>
>>
>>
>>
>>
>>
>
>Chris
>
>
>
Received on Fri Oct 28 2005 - 01:52:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST