看板FB_security
标 题NEVERMIND! (was: Local Denial of Service: logger(1))
发信站NCTU CS FreeBSD Server (Mon May 26 04:37:07 2014)
转信站ptt!csnews.cs.nctu!news.cednctu!FreeBSD.cs.nctu!.POSTED!freebsd.org!ow
In message <
[email protected]>, 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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"