LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-05-2006, 09:42 PM   #1
xcore_on
Member
 
Registered: Mar 2006
Posts: 96

Rep: Reputation: 15
how to control the time of users on internet?


hello all,


how to control the time of users on internet?

squid only control based in tyme
example: from 12:00 to 13:00

I d'like permit specifics users access internet only 15 minutes/day.

how to do this? what software to use?


thanks in advance.
 
Old 11-05-2006, 10:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If it was a given (static) period of time it would be quite easy, just
read the squid FAQ and combine time based access control with authentication.

If you want to be able to grant them 15 minutes a day at arbitrary times
you'll have to go into scripting, I'm afraid, and have some process that
watches squids logs, extracts access times per user, adds them up and modifies
the configuration on the fly (and HUPs squid).


Cheers,
Tink
 
Old 11-05-2006, 11:39 PM   #3
xcore_on
Member
 
Registered: Mar 2006
Posts: 96

Original Poster
Rep: Reputation: 15
your second narration is my objective.

so, no have "software/plugin" for this?!


thanks
 
Old 11-06-2006, 12:55 AM   #4
smaudlin
Member
 
Registered: Dec 2004
Location: Benicia, CA
Distribution: Fedora 6,5,4 Mandrake 10.1
Posts: 46

Rep: Reputation: 15
some routers will do this as well by time and/or Ip address.
 
Old 11-06-2006, 02:01 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by smaudlin
some routers will do this as well by time and/or Ip address.
But he's asking for accumulative time per user, not time-slot per IP.


Cheers,
Tink
 
Old 11-06-2006, 02:01 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by xcore_on
your second narration is my objective.

so, no have "software/plugin" for this?!


thanks
I didn't say there isn't. I don't know of one, and squid, which
is what you asked for, doesn't provide this per se.



Cheers,
Tink
 
  


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
Control amount of time a user may be logged in. (Parental Control) darrensnospam Mandriva 13 02-18-2006 06:01 PM
I can't add users to "samba users" in control center g_jakes Linux - Security 3 05-20-2005 03:10 PM
can't add users to "samba users" in control center g_jakes Linux - Networking 1 05-20-2005 02:28 PM
can't add users to "samba users" in control center g_jakes Linux - Wireless Networking 1 05-20-2005 02:27 PM
Traffic and time limits for internet users. pamsi Red Hat 0 12-15-2003 11:05 AM


All times are GMT -5. The time now is 09:09 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