Re: Fork Bombing Attack

2007-05-22 Thread Mark Lord
Anand Jahagirdar wrote: Hello All I tried to execute a program which creates 8152 process.( i=0; while( i<14) i++ fork(); ) with ulimit 8200. This program created 8152 processes and then stopped and came back to command prompt. this proves that my machine do have sufficient resources t

Re: Fork Bombing Attack

2007-05-18 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > I found one more interesting thing related with fork > bombing attack. i have set following in /etc/security/limits.conf file > > [EMAIL PROTECTED]hard nproc 3000 > [EMAIL PROTECTED] hard nproc 500 The # is a comment character.

Re: Fork Bombing Attack

2007-05-18 Thread Krzysztof Halasa
"Anand Jahagirdar" <[EMAIL PROTECTED]> writes: > ulimit are by default set to some value for all users.. root, guest. > on my machine with FC4 distribution when i typed command "ulimit -u" > it gave me output as 3055 and another machine having FC6 distribution > output is 8050. when root or any o

Re: Fork Bombing Attack

2007-05-18 Thread Valdis . Kletnieks
On Fri, 18 May 2007 22:52:15 +0530, Anand Jahagirdar said: > output is 8050. when root or any other user changes ulimit by typing > "ulimit -u value",.ulimit value is changed for that session and not > permantely. Right. That value is only applied to that process, and its children. Or more corre

Re: Fork Bombing Attack

2007-05-18 Thread Anand Jahagirdar
Hello All I found one more interesting thing related with fork bombing attack. i have set following in /etc/security/limits.conf file [EMAIL PROTECTED]hard nproc 3000 [EMAIL PROTECTED] hard nproc 500 I have tried to execute fork bombing program on the same machine. it

Re: Fork Bombing Attack

2007-05-18 Thread Ahmed S. Darwish
On 5/18/07, Anand Jahagirdar <[EMAIL PROTECTED]> wrote: Hello All I tried to execute a program which creates 8152 process.( i=0; while( i<14) i++ fork(); ) with ulimit 8200. This program created 8152 processes and then stopped and came back to command prompt. this proves that my machi

Re: Fork Bombing Attack

2007-05-18 Thread Michael Tokarev
Anand Jahagirdar wrote: [] > I found one more interesting thing on the same machine > having FC6 distribution and Linux Kernel 2.6.18. i have set "ulimit -u > 100". after setting this limit i tried to execute fork bombing program > with guest account. after executing it > > expected resu

Re: Fork Bombing Attack

2007-05-18 Thread Anand Jahagirdar
Hello All I tried to execute a program which creates 8152 process.( i=0; while( i<14) i++ fork(); ) with ulimit 8200. This program created 8152 processes and then stopped and came back to command prompt. this proves that my machine do have sufficient resources to create 8000 processes.

Re: Fork Bombing Attack

2007-05-17 Thread Valdis . Kletnieks
On Thu, 17 May 2007 20:15:32 +0530, Anand Jahagirdar said: > Hello All > I have set per user process limit ( ulimit) for both > root and guest account as 8000 by using option ulimit -u 8000.this is > Hard limit. still fork bombing attack killed the box and machine > needed reboot. wi

Re: Fork bombing Attack

2007-05-17 Thread Alan Cox
On Thu, 17 May 2007 12:55:53 +0530 "Anand Jahagirdar" <[EMAIL PROTECTED]> wrote: > Dear Sir, > I just want to know whether fork bombing attack still > exist on the machine having Distribution as Fedora Core 6 and Linux > Kernel 2.6.x.? > >additional Info : I have set uli

Re: Fork bombing Attack

2007-05-17 Thread Marat Buharov
May be because Mars was in Scorpio? On 5/17/07, Anand Jahagirdar <[EMAIL PROTECTED]> wrote: Dear Sir, I just want to know whether fork bombing attack still exist on the machine having Distribution as Fedora Core 6 and Linux Kernel 2.6.x.? additional Info : I have set ul