-------- 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 <[EMAIL PROTECTED]>
To:     Chris Robertson <[EMAIL PROTECTED]>
CC:     squid <[email protected]>
References:     <[EMAIL PROTECTED]>



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:[EMAIL PROTECTED]
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

Reply via email to