> [EMAIL PROTECTED] wrote: >> for (;;) >> fork(); > > In genuine UNIX(tm) systems, there is a per-user process limit, > so eventually the fork requests start failing. However, this > program keeps trying to fork, so if you kill off some of the > child processes it will spawn replacements. > > I don't think it counts as a proper "denial of service" attack, > since it affects only the invoking user (well, it does bog > down the system with swapping etc. but again, per-user resource > bounds can address that).
It's a proper denial of service on Plan 9... I ran it while cpu'd into another box and found that somehow it killed *both* machines. IIRC, Plan 9 doesn't really have any kind of resource limiting, does it? (Yeah, I know, not necessary for a terminal, but it should be important for a cpu server) John