Hey there, net comando,

First, don't cry about bandwidth, that argument got flushed with 14.4
modems. 

Anyway, the dhcpd.leases file is in /var/lib/dhcp but, that won't help
you.  Anyone on the net can get an IP, so if you delete, it will be given
a new one.  Back to the drawing board.

The easiest thing, would be to manage via a proxy server.  I am sure that
squid has options for this type of thing.  But YOU wan to get them off the
net, and take their birthday, er, IP Address away, right?

So, looking at that, and looking at man dhcpd, you are very limited in
wanting to take away an IP for certain periods of time on a daily basis. 
For example, you can set your dhcpd.conf file to expire leases after 8
hours, but if the client reboots, a new one will be assigned.

I think what I would do, is (outside of squid management) setup a firewall
rule to block said IP's, and then a firewall rule to unblock those same
IP's, and cron them out.  Then, you will not affect the rest of the
network, just those IP's, and the script should be a simple one.  From the
client side, he will still have an IP, but will be unable to ping squat
due to the firewall rule you've slapped on him.  

Good luck,

Ron
--- Julio Gutierrez <[EMAIL PROTECTED]> wrote:
>  I know is got something to do with dhcp.leases file but I couldn't find
> it
> in /etc
> I got a extended star topology, with a dhcp server/router/firewall
> running
> mandrake 8, & I'm also using the built in internet connection sharing &
> firewall. I'd this same problem before but I couldn't keep them off for
> long, I would erase the ip address & nodename from the dhcp.leases file
> but
> then the dhcp server would assign a different ip address @ boot time..so
> I'm
> looking for a new approach @ this...
> 
> Thanks
> 
> Julio
> > Get down with your bad self, Julio. But, in the meanwhile, understand
> that
> > you are on a "public" list, and that any posting can engender a very
> wide
> > range of responses (yes, even those that are imbecilic). For me, I
> found
> > your request lacking in info. For example, what kind of network
> topology
> > are you talking about, i.e. is a proxy server being used? And,
> furthermore,
> > why not just lock out the httpd port for these users? Maybe an even
> more
> > novel approach would be to explain to the "net-abusers" that they will
> > suffer the loss of Internet access if their machinations do not
> cease........
> >
> >
> >
> > J. Craig Woods
> > UNIX/NT SA
> > -Art is the illusion of spontaneity-
> 
> 
> 
> > Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 


=====
^C
quit
:q
exit
?
help
shit

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to