RE: [squid-users] squid acl help needed

2003-09-19 Thread Adam Aube
> The time acl is an exception that you can only list a single time per > line, but you can still list multiple lines. That I did not know - thanks for the correction. Adam

Re: [squid-users] squid acl help needed

2003-09-19 Thread Henrik Nordstrom
On Fri, 19 Sep 2003, Payal Rathod wrote: > Wowww! I thought that three acls by the same name might create a > problem. Not as long as you always stuff the same type of content into the acl. For most ACLs you can list as many things as you want to match on the same line, or on multiple lines. T

RE: [squid-users] squid acl help needed

2003-09-19 Thread Adam Aube
>> Then replace lunchbreak with the following >> >> acl coffeebreak time 09:00-10:00 >> acl coffeebreak time 13:00-14:00 >> acl coffeebreak time 18:00-19:00 > > Wowww! I thought that three acls by the same name might > create a problem. No, all it does is combine them - just as if you did: acl

Re: [squid-users] squid acl help needed

2003-09-19 Thread Payal Rathod
On Fri, Sep 19, 2003 at 02:14:49PM +0200, Henrik Nordstrom wrote: > On Fri, 19 Sep 2003, Payal Rathod wrote: > > > What if I have to allow from time 09:00-10:00 and 6:00-07:00 too with > > lunchbreak? > > > > I mean the users can access hotmail, yahoo in the abvoe 3 hours only. > > Then replace

Re: [squid-users] squid acl help needed

2003-09-19 Thread Henrik Nordstrom
On Fri, 19 Sep 2003, Payal Rathod wrote: > What if I have to allow from time 09:00-10:00 and 6:00-07:00 too with > lunchbreak? > > I mean the users can access hotmail, yahoo in the abvoe 3 hours only. Then replace lunchbreak with the following acl coffeebreak time 09:00-10:00 acl coffeebreak ti

Re: [squid-users] squid acl help needed

2003-09-19 Thread Payal Rathod
On Thu, Sep 18, 2003 at 03:28:27PM +0200, Henrik Nordstrom wrote: acl my_network src 192.168.10.0/24 ... [...] Thanks for the mail. It worksbeautifully. Just one small question below. > acl webmail dstdomain .yahoo.com .hotmail.com > acl lunchbreak time 13:00-14:00 > http_access deny !lunchbreak

Re: [squid-users] squid acl help needed

2003-09-18 Thread Henrik Nordstrom
On Thu, 18 Sep 2003, Payal Rathod wrote: > Hi, > I am at a loss to configure squid acl meeting the following > requirements. > > 1. All clients must have internet access throughout the day. acl my_network src 192.168.10.0/24 ... [used below] > 2. Clients 192.168.10.1, 192.168.10.2, 192.168.10.

RE: [squid-users] squid acl help needed

2003-09-18 Thread Adam Aube
> I am at a loss to configure squid acl meeting the following > requirements. There is a Squid FAQ on how acl and http_access logic works; read that if you haven't already. You'll need src, time, and dstdomain acls to get this to work, and you'll need to order them in http_acces properly. More in