Subject: Re: DoS by cat /proc/net/ip_conntrack ?

From: Patrick McHardy <[email-masked]>
Date: Sat, 08 Mar 2008 16:18:30 +0100

Jarek Poplawski wrote:
> On Sat, Mar 08, 2008 at 04:24:34PM +0200, Denys Fedoryshchenko wrote:
>   
>> For me personally, i think must be as a rule, that _READING_ must not hang 
>> whole system by consuming all resources (router becoming completely 
>> unreachable and blocking all traffic passing thru it). It can hang console, 
>> current program, but not crash router.
>>     
>
> IMHO you're right, and it's a bug. Only calling this DOS isn't probably
> very right if only root can do this, but maybe I'm wrong.
>   

Starting with current -git we don't take the conntrack
lock for /proc anymore, so it should behave better now.