NEVERMIND! (was: Local Denial of Service: logger(1))

看板FB_security作者時間11年前 (2014/05/26 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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. _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1JWhn_iP (FB_security)
文章代碼(AID): #1JWhn_iP (FB_security)