OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 4th quarter (Oct-Dec) 1995: Re: fork()

Re: fork()

Jeff Uphoff (juphofftarsier.cv.nrao.edu)
Thu, 14 Dec 1995 12:57:14 -0500

"AL" == Alex Leipold <aleipoldclark.net> writes:

AL> O'm new to the list, so Im not sure if this has been covered, but someone
AL> can crash any system with a few lines of code. (tested on UNIX, LINUX)

AL> [...classic fork bomb code...]

Why go to such troubles?  You can often make a box just as comatose
(though you should not be able to crash it) with the following command:

$ perl -n /dev/zero

(Of course this only works on systems with /dev/zero.)

As with the other method, limiting/reducing a user's max. process size
will reduce the ill effects from this...

--Up.

--
Jeff Uphoff - systems/network admin.  |  juphoffnrao.edu
National Radio Astronomy Observatory  |  jeff.uphofflinux.org
Charlottesville, VA, USA              |  http://www.cv.nrao.edu/~juphoff/