Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 20:37:07 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-security@freebsd.org
Subject:   NEVERMIND!  (was: Local Denial of Service: logger(1))
Message-ID:  <2218.1401075427@server1.tristatelogic.com>
In-Reply-To: <2091.1401074804@server1.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help

In message <2091.1401074804@server1.tristatelogic.com>, I wrote:

>==========================================================================
>#!/bin/sh
>
>while (1)
>    dd if=/dev/random bs=15 count=1 | od -c | xargs logger
>end
>==========================================================================

DUH!

I forgot that newsyslog(8) should limit the size of /var/log/messages, and
that as long as you limit the size of that to a reasnable value, and as
long as you have newsyslog(8) only keeping a finite & reasonable number
of "rotated out" copies, then /var won't fill up.

My apologies to everyone for the distraction.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2218.1401075427>