Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 18:25:13 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Martin Tournoij <carpetsmoker@xs4all.nl>
Cc:        freebsd-questions@freebsd.org, laszlo.danielisz@gmail.com
Subject:   Re: defend from -> :() { :&:; } ;:
Message-ID:  <20071022182513.985c6428.wmoran@potentialtech.com>
In-Reply-To: <20071022164418.GA864@glitch.rwxrwxrwx.net>
References:  <123275.56819.qm@web30812.mail.mud.yahoo.com> <20071022164418.GA864@glitch.rwxrwxrwx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Martin Tournoij <carpetsmoker@xs4all.nl>:

> On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
> > Please do not try to execute this: :() { :&:; } ;: on your BSD machine.
> > I ask all who already tried it how to defend from this?
> 
> Wow,, my machine just crashed :-/
> Does in this work on other OS's as well (ie. GNU/Linux)? Or just
> (Free?)BSD? I really don't feel like crashing another machine right
> now...

It's a fork bomb.  It affects every OS that has fork() or equivalent.

> Only works in sh, not in csh.

No, it works in csh, the syntax is different.

> Anyway, this seems to be security/stability issue, maybe a PR is in
> order?

No.  Research (on your point) into fork bombs and how to configure
the system to handle them properly is in order.

-- 
Bill Moran
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071022182513.985c6428.wmoran>