View Single Post
Old Jul 2nd, 2006, 2:03 PM   #4
Delryn
Newbie
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0 Delryn is on a distinguished road
Quote:
Originally Posted by Arevos
If you haven't thought of it already, the Linux firewall (iptables) is a good tool to use if you want to restrict network access in some fashion (either incoming, or outgoing). One could have a cron job that stops network access at X time, and another that enables it at Y.

Might have to use a smidgen of Perl or Python for this, unless anyone knows any CLI commands that can do this. Why do you need this functionality, though? Isn't it just a case of enabling access at a certain time, and disabling it at another?
Thanks for the reply
I had looked at iptables, and I will be using them to help filter the content on my computer. As for the timing, this is a shared computer. So I can't just arbitrarily have the system shutdown the internet.

So I need to figure away of determining if the current user is allowed to be using the net at that specific time.
Delryn is offline   Reply With Quote