lkml.org 
[lkml]   [1999]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Simple DoS...out of resources?
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.097 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site