Re: [squid-users] External acl question

2008-03-01 Thread Prasad J Pandit


   Hello Amos,

On Sat, 1 Mar 2008, Amos Jeffries wrote:

There is a patchset to both squid-2 and squid-3 for the include directive.

It will be included native in 2.7 and 3.0.STABLE2+ (due out within the week, 
daily snapshots of 3.0 are just undergoing final tests and checks before 
release).


  That's execellent! I hope, that'll let me include any file on my disk.
I'm looking forward to get my hands on 3.0 STABLE2+ release.

Thank you for the information!
--
Regards
  - Prasad


[squid-users] External acl question

2008-02-27 Thread Prasad J Pandit


  Hello Rodrigo, hello all!

I'm trying to implement the per user access restriction using Squid. I've 
put the acls for each user in a seperate file like user-acl.txt. For 
example, my `guest-acl.txt' looks like:


===
acl guest_ipdst some-ip/32
acl guest_mail  dstdom_regexmail.google* www.
acl guest_dom   dstdomain   .google.com

http_access allow guest_ip
http_access allow guest_mail
http_access allow guest_dom
===

So the  `guest' user will only be allowed to access some-ip and her 
gmail account.


Now, I've quite a few such files. What I'd like to have is I just include 
these files into the squid.conf file like


include guest-acl.txt
include root-acl.txt
 ...
include gobman-acl.txt

And depending upon which one is commented/uncommented squid would 
include the acls from the respective files(Snort does it really well).


I'm trying to do this with the `acl external'  `external_acl_type', but 
don't see any light so far.


Could you please tell me if this can be done, and how if yes? One more 
thing is, I can not use squid for authentication, I've to use something 
else for that.


Thank you!
--
Regards
  - Prasad