Re: Simple DoS...out of resources?

Lenart Gabor (lgb@oxygene.terra.vein.hu)
Mon, 8 Mar 1999 19:49:10 +0100


On Mon, Mar 08, 1999 at 01:39:24PM -0500, rewt wrote:
> It is very easy to crash a system simply by viewing a large file with
> editor such as pico. It will eat up all the resources and do some
> unpredictible things. In my case I viewed a 100mb file as it was reading
> it, it filled up all the swap space which is 48mb. It killed most of the
> processes including sendmail, sshd, X, syslog. Does anyone have any idea
> how can i protect myself against that kind of DoS? My configuration:
> P100, 48mb ram, 48mb swap running on kernel 2.2.2.

I think there is no simple solution ... Resources are for using. It means
everybody can eat all of them as well. If there isn't such an editor like
you mentioned user can write a simple program to do it in C. The real
solution is limiting the resource usage in this case. imho.

---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]---
"The truth is out there" "We're l{ea,i}ving together" "The future is dark."
---[ 88/422022(4602) ]---[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]---

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/