All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Dibowitz <phil@ipom.com>
To: Harald Welte <laforge@netfilter.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: Comments on iptstate
Date: Sun, 15 Feb 2004 23:41:59 -0800	[thread overview]
Message-ID: <40307447.4030703@ipom.com> (raw)
In-Reply-To: <20040215190757.GC15567@sunbeam.de.gnumonks.org>

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

Harald Welte wrote:
> 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.

Thanks. I post new version the the netfilter mailing list...

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

I didn't know that. I'll put it in the docs of the next version. Thanks 
for the heads up.

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

Really? Also good to know.

> 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.

Will do! =)

> 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).

I might just do that. Do those libraries have hooks to do things like.. 
um, say remove a state from the state table? Its a commonly requested 
feature of iptstate.

> 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.

Sorry, but there's no way I'm renaming my app. =) I don't think its THAT 
misleading. ip_conntrack is an ip tables module. It's not some 
application that sits on top of any firewall, its very ip tables 
specific. It makes ip tables have stateful capabilities.

> Thanks for your attention,

Thanks for your comments!

-- 
Phil Dibowitz                             phil@ipom.com
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

  reply	other threads:[~2004-02-16  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-15 19:07 Comments on iptstate Harald Welte
2004-02-16  7:41 ` Phil Dibowitz [this message]
2004-02-16  8:34   ` Harald Welte
2004-02-16  9:51     ` Phil Dibowitz

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=40307447.4030703@ipom.com \
    --to=phil@ipom.com \
    --cc=laforge@netfilter.org \
    --cc=netfilter-devel@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.