cvs commit: src/lib/libc/gen syslog.c

Gleb Smirnoff glebius at freebsd.org
Sat Oct 9 14:29:56 PDT 2004


On Sat, Oct 09, 2004 at 05:39:17PM +0200, Andrea Campi wrote:
A> Unless I'm missing something, this would make the calling application
A> loop for an unbounded time (potentially forever), thus making the DoS
A> even more effective. Personally, I've never thought of syslog as a
A> reliable service, and I'm quite sure I prefer to lose messages but
A> keep my apps running than the opposite. If an application needs a
A> failsafe logging mechanism, chances are it will use something else
A> anyway.

Not forever. Actually this change can make applications work slower,
when syslogd is DoSed. Anyway when an attacker is flooding syslog with
messages your machine is _already_ slower, since syslogd consumes
all CPU and IO resources.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list