Search squid archive

Re: time restrictions in squid3

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

 



Sameer Shinde wrote:
Hi All,

I'm using squid3.0 stable1 on my ubuntu 8.0.4 server along with squidGuard1.3 for blocking.
I want to puu the time restrictions for the users, for that I addup the rule as follows in my squid.conf

acl work_hrs time M T W H F A 09:00-17:00
acl our_network work_hours

but still I found that the users can use the net beyond this time slot.
How can I enable the time restrictions for the users.
(This happens with/without squidguard and squidguard is no way related to it.)

Now one thing I've observed is that, all my users in network are having GMT+5.30 time. Even my squid server is having the same time as of my network. i.e GMT+5.30
but the squid error logs shows me only GMT.  Now I know that, squid by default shows the GMT
& not any other time in default logs. But then is this a problem for me to apply the restrictions.

In this case How can I resolve this problem.

You need to use http_access to block the requests.

  acl work_hrs time M T W H F A 09:00-17:00
  http_access deny our_network !work_hours


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1

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

  Powered by Linux