All of lore.kernel.org
 help / color / mirror / Atom feed
From: gapsf@yandex.ru
To: netfilter@vger.kernel.org
Subject: nftables: introspection capabilities?
Date: Tue, 24 May 2011 15:21:36 +0700	[thread overview]
Message-ID: <3210442595.20110524152136@yandex.ru> (raw)

Hi!
There is a lot of frontends for iptables like shorewall, ufw, ferm and special firewall distros.
They all are trying to formalize, simplify, integrate the
configuration of Linux firewall and traffic control subsystems.
They also use a certain set of metadata for their own use.

One of the iptables disadvantages - the inability to effectively
find out the internal state of the iptables.
There is only one way - parse the "iptables -L" output, isn't it?

So there's no easy way to find out how many rules in the some table now,
or whether there is a rule with the given src and dst port in such a table,
for example.

So for these purposes the frontend should keep the internal state of iptables
in some way, instead of simply request this information from iptables.

There is no doubt that for nftables frontends will be written too, so the question is:
"Will nfatbles be able to find out various information
about their own current state: tables, chains, rules, etc?"

Thanks.


             reply	other threads:[~2011-05-24  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24  8:21 gapsf [this message]
2011-05-24  8:33 ` nftables: introspection capabilities? Jan Engelhardt
2011-05-24  9:14   ` Re[2]: " gapsf
2011-05-24  9:25     ` Jan Engelhardt
2011-05-26 17:33     ` Pablo Neira Ayuso

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=3210442595.20110524152136@yandex.ru \
    --to=gapsf@yandex.ru \
    --cc=netfilter@vger.kernel.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.