netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Krzysztof Oledzki <olel@ans.pl>
Cc: Denys Fedoryshchenko <denys@visp.net.lb>, netdev@vger.kernel.org
Subject: Re: DoS by cat /proc/net/ip_conntrack ?
Date: Sat, 08 Mar 2008 13:26:41 +0100	[thread overview]
Message-ID: <47D28601.4080106@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0803061449220.23263@bizon.gios.gov.pl>

Krzysztof Oledzki wrote, On 03/06/2008 02:51 PM:

> 
> On Thu, 6 Mar 2008, Denys Fedoryshchenko wrote:

...

>> i tried to issue command cat /proc/net/ip_conntrack |grep 'something'
>>
>> Router went dead for about 2 minutes, even i disconnect ssh session.
...
>> I dont think it is normal, and such command taking a lot of system resources
>> and cause whole system to hang.
>>
>> Kernel 2.6.24.2
> 
> The answer is quite simple here: don't do this. Instead use "conntrack -L" 
> as netlink is much more effective and better designed.


I think, Denys is concerned about some other, maybe too curious users
if they can read this?

Regards,
Jarek P.

  reply	other threads:[~2008-03-08 12:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 13:43 DoS by cat /proc/net/ip_conntrack ? Denys Fedoryshchenko
2008-03-06 13:51 ` Krzysztof Oledzki
2008-03-08 12:26   ` Jarek Poplawski [this message]
2008-03-08 12:33     ` Jarek Poplawski
2008-03-08 14:24       ` Denys Fedoryshchenko
2008-03-08 14:44         ` Jarek Poplawski
2008-03-08 15:18           ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D28601.4080106@gmail.com \
    --to=jarkao2@gmail.com \
    --cc=denys@visp.net.lb \
    --cc=netdev@vger.kernel.org \
    --cc=olel@ans.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).