From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 18:09:05 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 14D1216A468 for ; Mon, 22 Oct 2007 18:09:05 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone3.qsi.net.nz (drone3-svc-skyt.qsi.net.nz [202.89.128.3]) by mx1.freebsd.org (Postfix) with ESMTP id 79CEE13C4C4 for ; Mon, 22 Oct 2007 18:09:04 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 30634 invoked by uid 0); 22 Oct 2007 18:08:51 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 22 Oct 2007 18:08:51 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id E885C7E863; Tue, 23 Oct 2007 07:08:50 +1300 (NZDT) Date: Tue, 23 Oct 2007 07:08:50 +1300 From: Jonathan Chen To: Danielisz Laszlo Message-ID: <20071022180850.GA14267@osiris.chen.org.nz> References: <123275.56819.qm@web30812.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <123275.56819.qm@web30812.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org 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: Mon, 22 Oct 2007 18:09:05 -0000 On Sun, Oct 21, 2007 at 12:10:02PM -0700, 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? That's just a fork bomb. Try looking at tuning(7) and login.conf(5) to reduce the maxproc limit for users. -- Jonathan Chen ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925