Search squid archive

Re: restrict a particular username to a class c segment]

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

 





-------- Original Message --------
Subject: Re: restrict a particular username to a class c segment
Date: 	Fri, 28 Oct 2005 09:50:11 +0200
From: 	Hement Gopal <hementg@xxxxxxxxxxxxxx>
To: 	Chris Robertson <crobertson@xxxxxxx>
CC: 	squid <squid-users@xxxxxxxxxxxxxxx>
References: 	<192679F3E82880468A29BB10EC24C72647D3B0@xxxxxxxxxxxxxxxx>



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@xxxxxxxxxxxxxx]
Sent: Wednesday, October 26, 2005 11:15 PM
To: squid
Subject:  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


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

  Powered by Linux