[PLUG] time-based rule

Shannon C. Dealy dealy at deatech.com
Tue Oct 1 07:16:53 UTC 2002


On Tue, 1 Oct 2002, BMDimaculangan wrote:

> hello to all folks,
>
> we have a rule in our company that permits corporate IT departments full use
> and access of precious corporate bandwidth for critical mission activities.
> As well as key managers and top management may enjoy the same access
> benefits.  However, some employees are not included to this kind of benefit.
> According to the rule, access to the Internet is made possible only during
> noontime break, from 12:00 noon to 1:00 in the afternoon only but corporate
> email exchange is available throughout the working day.  My problem is, how
> can I apply and implement this rule in our Linux Server. Any idea?

Though it has been giving me some headaches, the newer 2.4 kernels include
some complex facilities for bandwidth management.  Using these along with
iptables (for selection of traffic types and/or machines whose bandwidth
you want to regulate), you should be able to setup pretty much anything
you like, then just run a shell script from a crontab at 12:00 and 1:00 to
make the necessary policy changes.  These facilities are part of the
current iproute software package in recent versions of linux, the
"tc" and "ip" commands are the primary ones of interest, but be warned
that the documentation sucks, and much is not documented at all.
There is however a web site which provides a great deal more info,
though it still hasn't solved my problems :-(   See:

   www.lartc.org

for more information.

Shannon C. Dealy      |               DeaTech Research Inc.
dealy at deatech.com     |          - Custom Software Development -
                      |    Embedded Systems, Real-time, Device Drivers
Phone: (800) 467-5820 | Networking, Scientific & Engineering Applications
   or: (541) 451-5177 |                  www.deatech.com





More information about the PLUG mailing list