All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: KOVACS Krisztian <hidden@sch.bme.hu>
Cc: netfilter@lists.netfilter.org
Subject: Re: Reading /proc/net/ip_conntrack still slow / causing packet loss?
Date: Tue, 14 Feb 2006 22:05:27 +0200	[thread overview]
Message-ID: <20060214200526.GO16512@edu.joroinen.fi> (raw)
In-Reply-To: <200602142051.05801@krak>

On Tue, Feb 14, 2006 at 08:51:04PM +0100, KOVACS Krisztian wrote:
> 
>   Hi,
> 
> On Tuesday 14 February 2006 18:39, Pasi Kärkkäinen wrote:
> > "<Gandalf> cap_: the most extreme experience I have is reading
> > /proc/net/ip_conntrack on a fairly busy router... that really slows
> > wthings down and packets get dropped because of the slowdown"
> >
> > "<Gandalf> and I had an identd daemon wich forwarding support that read
> > /p/n/ip_conntrack for each incoming ident request... 200ms forwarding
> > delays and lots of drops each time an ident request came in :)"
> >
> > Is that information still valid for the current 2.6 kernels? How about
> > for 2.4 ?
> 
>   Yes, it's still valid (on both versions). However, on recent 2.6 kernels 
> you can do all kinds of funny things through netlink. An example of what 
> can be done through that interface is the 'conntrack' tool:
> 
>   http://netfilter.org/projects/conntrack/index.html
> 
>   For the API:
> 
>   http://netfilter.org/projects/libnetfilter_conntrack/index.html
> 
>   Please note that both of these is still work in progress, but they're 
> definitely worth a try.
> 

OK, Thanks for the info!

I suppose 'conntrack' tool does not block the whole netfilter like reading
/proc/net/ip_conntrack .. 

-- Pasi 


      reply	other threads:[~2006-02-14 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14 17:39 Reading /proc/net/ip_conntrack still slow / causing packet loss? Pasi Kärkkäinen
2006-02-14 19:51 ` KOVACS Krisztian
2006-02-14 20:05   ` Pasi Kärkkäinen [this message]

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=20060214200526.GO16512@edu.joroinen.fi \
    --to=pasik@iki.fi \
    --cc=hidden@sch.bme.hu \
    --cc=netfilter@lists.netfilter.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.