Impose time limit per client or prefer new client over old client

Bob Miller bob at computerisms.ca
Mon Oct 20 18:56:10 UTC 2014


Hi Simon,

Thanks for your response,

> > I am looking to limit the use of these campers, either by only allowing
> > a certain number of lease renewals before imposing a refusal for a time,
> > or better such that when a new request is made, the oldest connection is
> > booted.
> > 
> > I have been searching on google and the man page for a while now, but I
> > find no such option.
> 
> That's because there is no such option

Okay, thank you for confirming my conclusions on that....

> I think the only way you might achieve your requirements would be to write a script which monitors goings on and externally blocks clients. Possibly watch the logs, and block clients by MAC address for a while. You might be able to get fail2ban to do it for you without much work.

Fail2ban is a good suggestion, I was already starting to work out how a
script might work, but this idea seems worth exploring first... 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list