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

Re: Aint this a bug or i'm just the one having this problem



On Fri, Oct 27, 2000 at 01:52:26PM +0800, Livia Admin wrote:
> Please reply to my original address cause i'm not subscribe in the list.
> 
> 
> I'm using debian/woody and kernel-2.4-test*.
> anyone pls try running  "yes `yes`" as any user if it crashes your system.. cause it crashes mine.
> thanks

this is just a simple DoS, it is because your system is not configured
with resource limits, that will also cripple or kill a 2.2 box without
limits.  on my system with limits:

[eb@socrates eb]$ bash
[eb@socrates eb]$ PS1="$ "
$ yes `yes`
bash: xrealloc: cannot reallocate 16777216 bytes (0 bytes allocated)
[eb@socrates eb]$

no thrashing, swapping, crashing.  it just sits for a few seconds and
then my login shell is killed as above.  

there was a similer DoS attack noted on BugTraq, that one was 
su `cat /dev/urandom`

the solution: configure resource limits. 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpwKDv8JSgic.pgp
Description: PGP signature


Reply to: