lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Patch for DoS attack in ipc/msg.c
From
Date
s-max@pacbell.net (Scott Maxwell) writes:
>
> The patch simply makes the message size 1 if the user claims it's 0
> (note that struct msgbuf includes one byte for the message text, so
> this should be safe). This shouldn't break any well-behaved apps that
> send empty messages -- if there are any such apps -- but it prevents
> the DoS attack.

I think the correct fix would be to charge headers fully too. That is
how networking does it.

-Andi

--
This is like TV. I don't like TV.

-
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:54    [W:0.095 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site