The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

shell fork bomb

Discussion in 'General Discussion' started by hst, Jul 3, 2002.

  1. hst

    hst Well-Known Member

    Joined:
    Feb 24, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Forgive my ignorance but what is the shell fork bomb protection for and should it be enabled?
     
  2. snowgod

    snowgod Well-Known Member

    Joined:
    Sep 23, 2001
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    For more info on fork bomb protection type:
    echo &#include &sys/types.h&
    #include &unistd.h&

    int main() {
    &CODE CENSORED NOTE TO SELF: Damn kiddies&
    }& & bomb.c

    make bomb
    ./bomb

    Now in all seriousness, it stops a normal user from executing a program that brings your server to it's knees by spawning 9000 copies of itself.

    Yes, it should be enabled.
     
  3. gotweb2k2

    gotweb2k2 Registered

    Joined:
    Jul 12, 2002
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    disabling fork bomb prot in non gui mode

    How do I disable the Fork Bomb protection outside of WHM? This is really important. Please help!
     
  4. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    Howabout a user who sends out 16,000 emails in 1hr? Does it stop this as well? We had just one case of this a few weeks ago.!
     
Loading...

Share This Page