All of lore.kernel.org
 help / color / mirror / Atom feed
* Comments on iptstate
@ 2004-02-15 19:07 Harald Welte
  2004-02-16  7:41 ` Phil Dibowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Welte @ 2004-02-15 19:07 UTC (permalink / raw)
  To: phil; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]

Hi!

I recently found out about your tool 'iptstate'.

First of all, I think it serves a good purpose, and it is definitely
something that netfilter/iptables users need.

However, two comments:

1) reading /proc/net/ip_conntrack is currently (still) racy on SMP
   boxes.  This means it cannot be used as reliable source.

2) reading /proc/net/ip_conntrack has a huge impact on the performance
   of the conntrack system

It would be fine if you could inform your users about those issues.
Feel free to blame the netfilter/iptables developers, since it's our
fault to offer such a broken interface in the first place.

I suggest to consider porting your application on top of ctnetlink (see
libctnetlink in netfilter cvs and the nfnetlink-ctnetlink patch in
patch-o-matic).

3) The name of the application is misleading. iptables itself does not
   track any state information.  it is ip_conntrack who does.  There is
   almost no relation between both of them.

Thanks for your attention,

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-16  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-15 19:07 Comments on iptstate Harald Welte
2004-02-16  7:41 ` Phil Dibowitz
2004-02-16  8:34   ` Harald Welte
2004-02-16  9:51     ` Phil Dibowitz

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.