newsyslog(8) patch for both size and time checks

Miroslav Lachman 000.fbsd at
Tue May 12 13:23:44 UTC 2009

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	@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

More information about the freebsd-current mailing list