Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 1998 12:42:36 +0000
From:      Niall Smart <rotel@indigo.ie>
To:        Nicholas Charles Brawn <ncb05@uow.edu.au>, freebsd-security@FreeBSD.ORG
Subject:   Re: preventing fork bombs
Message-ID:  <199807261142.MAA00491@indigo.ie>
In-Reply-To: <Pine.SOL.3.96.980726201812.20876A-100000@banshee.cs.uow.edu.au>; Nicholas Charles Brawn <ncb05@uow.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 26,  8:25pm, Nicholas Charles Brawn wrote:
} Subject: preventing fork bombs
> The simple code used was:
> 
> #include <unistd.h>
> 
> main(void) {
> 	while(1) {
> 		fork();
> 	}
> }
> 
> The above effectively freezing my system. :\

As has been previously observed the system call frequency is so
high that this is still an effective DOS.  The solution is some
kind of system call rate limiting.

Niall

-- 
Niall Smart.        PGP: finger njs3@motmot.doc.ic.ac.uk
FreeBSD: Turning PC's into Workstations: www.freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe security" in the body of the message



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