Re: newsyslog(8) patch for both size and time checks

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Tue, 12 May 2009 15:23:35 +0200
Dmitry Morozovsky wrote:

> Dear colleagues,
> 
> for now, if log is configured to be rotated in time manner, its size is not 
> checked, so /var/log may be DoSed by some service (in our case, it was mad DHCP 
> client which fills up our /var/log with dhcpd log; our newsyslog.conf line was
> 
> /var/log/dhcpd				640  5     5000	_at_T00	JC
> 
> The following simple patch should fix the problem. Any objection to commit 
> this?

I can't judged the patch, but I am +1 for this functionality.

Miroslav Lachman
Received on Tue May 12 2009 - 11:23:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC