From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 00:32:10 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 5D10F16A418 for ; Tue, 23 Oct 2007 00:32:10 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.freebsd.org (Postfix) with SMTP id D71C213C48E for ; Tue, 23 Oct 2007 00:32:09 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: (qmail 48516 invoked from network); 23 Oct 2007 00:32:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=MCwiTUucQKFn1RcZV+5N5zHQx+f4DzEhGH8SeVT7rlDs+SKEJUSNVXcXr7WSUFA7cSkjyM/Bo1+cgKj/nw382TzaRZiqAs/EP2ehGZsgOjgKJ9iGKm5O57S59xEmC67k40b1ELObT1AWpRataass81NEd1dhA1WwskWI8PP9Dcc= ; Received: from unknown (HELO napoleon.local) (mike.jeays@rogers.com@99.224.73.40 with login) by smtp102.rog.mail.re2.yahoo.com with SMTP; 23 Oct 2007 00:32:00 -0000 X-YMail-OSG: 19cbxvYVM1lNaGmtm5nZZ97m5igKS.oEcCHXhhV2_XxRVQRs8H7A2g.w87UjtqKPTQ-- From: Mike Jeays To: freebsd-questions@freebsd.org Date: Mon, 22 Oct 2007 20:31:58 -0400 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <123275.56819.qm@web30812.mail.mud.yahoo.com> <471D00EB.2030903@lazlarlyricon.com> In-Reply-To: <471D00EB.2030903@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710222031.58924.mike.jeays@rogers.com> 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:32:10 -0000 On October 22, 2007 03:58:35 pm Rolf G Nielsen wrote: > 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? > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > What does it do? It is easier to understand when you replace the ":" by a more conventional subroutine name. myproc () { myproc & myproc } myproc It recursively generates useless processes that clog up the machine. Mine ground to a halt and froze after a few seconds. -- Mike Jeays http://www.jeays.ca