Subject: Re: A challenge for the list
To: None <port-macppc@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-macppc
Date: 04/20/2002 12:34:27
On Fri, Apr 19, 2002 at 09:56:32PM -0400, gabriel rosenkoetter wrote:
> On Fri, Apr 19, 2002 at 03:58:32PM +0200, Manuel Bouyer wrote:
> > It would, I've already run into this: all things that use syslog hang writing
> > to syslogd, because syslogd is hung trying to write on the console.
> > Once all buffers are filled in you run in this situation (and then
> > others things start hanging - bind for example).
> 
> Woah... that should REALLY be send-pr'ed. That's a really simple DoS
> that's easily avoided (make syslogd fill a queue, then either start
> accepting new entries and dumping them or dump old entries off the
> queue if it still can't write out to the console).

For sure, syslogd should use non-blocking writes to console. If it can't
write to console it's not a big deal, as long as it can write to other
destinations.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--