LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid? (https://www.linuxquestions.org/questions/linux-newbie-8/squid-692383/)

your_shadow03 12-22-2008 11:02 PM

Squid?
 
Hi,
I have squid server running in RHEL5.
i have more than 3000 students and staffs. I have the authentication from windows 2008 server.

what i want that my users should use all the mail sites like yahoo, hotmail only for 30 minutes from the time they login.
is this possible in any way.
because it is possible with the product call CYBEROAM.
CYBEROAM is also developed in squid. but i dont have any idea how it can be done.

ZAMO 12-23-2008 12:16 AM

The following link is what i used to setup squid for a huge network and to make control many things, when i did it for the first time.Hope this will help you a lot

http://www.linuxhomenetworking.com/w...ess_with_Squid

You can also get more details from the /etc/squid/squid.conf , if you read the lines carefully.


Cheers

your_shadow03 12-23-2008 12:26 AM

I was following that link only.But what i need is restricting access for 30 mins a/c to my needs..which is not mentioned there.

pls Help

linuxlover.chaitanya 12-23-2008 01:05 AM

Does this link help?

http://www.untangle.com/index.php?op...491&Itemid=747

your_shadow03 12-23-2008 01:34 AM

Paid !!! Na ...
I want an open source Free Softy if any there..

More Advise Pls..

ZAMO 12-23-2008 04:05 AM

I will not agree with You. All the kind of stuff are there . Try to read it thoroughly , so that you can learn squid administration.


open an new acl

Code:

acl limited_hours 10:00-10.30
acl mailsites  dstdomain "/etc/squid/mailsites.squid"

cat /etc/squid/mailsites.squid
www.yahoo.com
www.hotmail.com



http_access allow your_network limited_hours  mailsites


your_shadow03 12-23-2008 04:50 AM

My Requirement is different:
suppose i am the user named abc.
I login at say 9:15 in the morning. and i open the site www.yahoomail.com
now it should start counting the time . if it is opened for more then 30 minutes. it should be closed.
and if the user try to open it again then it should not open as for the complete day he has used it.( complete day means that in one day he can only open for 30 minutes.)

this is what i want.

your_shadow03 12-23-2008 11:03 PM

Pls help !!!


All times are GMT -5. The time now is 06:26 PM.