*************************************************
This message has been scanned by IMSS NIT-Silchar
The thing is that, in my squid.conf already i had a cl signifying who are
the students and there was one acl indicating the allowed collge time.
acl college_time time M T W H F A 7:30-18:00
And there was this line as shown below:
http_access allow stud_hostel
What did now is that i added the thing to the above line as shown below to
enable net access to the stud_hostel at time other than college_time, show
below as
http_access allow stud_hostel !college_time
When i restarted the squid, it showed up no errors, and i think it should
work fine.
I will be sure only when the stud_hostel wont be getting the net access at
the college time from mon to sat in the coming week. now they would be
having access as per the acls defined in the squid.conf.
Thanks a zillion for giving the right pointers.
So what was also available http_access acl where it was showing up the
>
> jmaan_at_nits.ac.in wrote:
>> *************************************************
>> This message has been scanned by IMSS NIT-Silchar
>>
>>
>>
>> Thwn how do i set time for the hostel people to access the net. ??
>
> http_access
>
>>
>> Is it necessary to not to use the name twice in tow type of acls ??
>>
>>
>> I need the solution ?
>>
>>
>
> # define who the students are ...
> acl stud_hostel src 10.0.0.0/8
>
> # define when they are/aren't allowed access ...
> acl stud_time time MTWHF 06:00-18:00
>
> # link ACLs to prevent students browsing at certain times
> http_access deny stud_hostel stud_time
>
> # .. alternativly let them through to anywhere on other times...
> http_access allow stud_hostel !stud_time
>
> Amos
> --
> Please use Squid 2.7.STABLE4 or 3.0.STABLE8
>
> *************************************************
> This message has been scanned by IMSS-NIT Silchar
>
Thanks & Regards
Jyotishmaan Ray
Computer Center,NITS
National Institute of Technology Silchar
Assam, INDIA
Pin - 788 010
Tele: 0091-3842-233179
Fax: 0091-3842-233797
Mobile: 09435554598
URL: http://www.nits.ac.in
Received on Sat Aug 23 2008 - 13:55:37 MDT
This archive was generated by hypermail 2.2.0 : Sat Aug 23 2008 - 12:00:04 MDT