LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2008, 12:02 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
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.
 
Old 12-23-2008, 01:16 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

Rep: Reputation: 30
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
 
Old 12-23-2008, 01:26 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
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
 
Old 12-23-2008, 02:05 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Does this link help?

http://www.untangle.com/index.php?op...491&Itemid=747
 
Old 12-23-2008, 02:34 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Paid !!! Na ...
I want an open source Free Softy if any there..

More Advise Pls..
 
Old 12-23-2008, 05:05 AM   #6
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

Rep: Reputation: 30
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
 
Old 12-23-2008, 05:50 AM   #7
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
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.
 
Old 12-24-2008, 12:03 AM   #8
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Pls help !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid - limited time slot for accessing the internet via squid. shahg_shahg Linux - Server 1 09-20-2008 07:41 AM
installing squid : service squid start --> error jonaskellens Linux - Software 2 09-05-2008 04:06 AM
Squid 2.6 Reverse Proxy from Squid(3128) to OrginServer(80) Not working rraj Linux - Server 0 06-06-2008 03:29 PM
LDAP authentication for squid squid 2.6.STABLE16 release 2.fc8 farrukhndm Linux - Security 2 04-03-2008 02:57 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration