From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 00:44:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA1216A420 for ; Tue, 23 Oct 2007 00:44:17 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone4.qsi.net.nz (drone4-svc-skyt.qsi.net.nz [202.89.128.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCA513C4B5 for ; Tue, 23 Oct 2007 00:44:17 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 21342 invoked by uid 0); 23 Oct 2007 00:44:07 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 23 Oct 2007 00:44:07 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 8A3887E863; Tue, 23 Oct 2007 13:44:06 +1300 (NZDT) Date: Tue, 23 Oct 2007 13:44:06 +1300 From: Jonathan Chen To: freebsd-questions@freebsd.org, laszlo.danielisz@gmail.com Message-ID: <20071023004406.GD17142@osiris.chen.org.nz> References: <123275.56819.qm@web30812.mail.mud.yahoo.com> <20071022164418.GA864@glitch.rwxrwxrwx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071022164418.GA864@glitch.rwxrwxrwx.net> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: defend from -> :() { :&:; } ;: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 00:44:17 -0000 On Mon, Oct 22, 2007 at 06:44:18PM +0200, Martin Tournoij wrote: > 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... > > Only works in sh, not in csh. > > Anyway, this seems to be security/stability issue, maybe a PR is in > order? More likely something's wrong with your system? I tried out the fork bomb on my box, and while it crawled for a while, it came back out fine. Running 6-STABLE. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards