Date: Tue, 12 May 2009 15:23:35 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-current@FreeBSD.org, gad@FreeBSD.org Subject: Re: newsyslog(8) patch for both size and time checks Message-ID: <4A097857.5040007@quip.cz> In-Reply-To: <alpine.BSF.2.00.0905121354450.1756@woozle.rinet.ru> References: <alpine.BSF.2.00.0905121354450.1756@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A097857.5040007>