From: Eliezer Croitoru <eliezer@ngtech.co.il>
To: blackhole@airpost.net
Cc: Aaron Lewis <the.warl0ck.1989@gmail.com>,
netfilter mailing list <netfilter@vger.kernel.org>
Subject: Re: [SOLVED] Re: Native support of counting rules?
Date: Fri, 04 Jan 2013 07:57:38 +0200 [thread overview]
Message-ID: <50E66F52.7070809@ngtech.co.il> (raw)
In-Reply-To: <50E66B1F.3050805@airpost.net>
On 1/4/2013 7:39 AM, Born Without wrote:
> That is not true.
> There also is the security table.
> And if you have xtables-addons installed, there might also be the
> rawpost table.
> But any of those might not be loaded, if compiled in as loadable module.
> So you might need to read /proc/net/ip_tables_names to work only on
> existing tables, without loading unwanted/needed ones.
>
> [...]
You can read For these specific cases.
But still it's not changing the basic concept which you don't need a new
binary to do all the above just add:
tables=`cat /proc/net/ip_tables_names`
He do have a point that adding this option he seeks is such a simple
task and can be added into iptables as a simple --rules-count or any
other directive.
I really don't know why and how this system works so if a binary works
it's fine by me.
The distance between the Binary file and this script is portability and
complexity.
Regards,
Eliezer
next prev parent reply other threads:[~2013-01-04 5:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-02 13:48 Native support of counting rules? Aaron Lewis
2013-01-02 13:58 ` Eliezer Croitoru
2013-01-03 14:13 ` [SOLVED] " Aaron Lewis
2013-01-03 14:56 ` Jan Vales
2013-01-03 16:05 ` Jan Engelhardt
2013-01-03 17:27 ` Jan Vales
2013-01-04 5:45 ` Born Without
2013-01-04 5:02 ` Eliezer Croitoru
2013-01-04 5:39 ` Born Without
2013-01-04 5:57 ` Eliezer Croitoru [this message]
2013-01-02 15:11 ` Aaron Lewis
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=50E66F52.7070809@ngtech.co.il \
--to=eliezer@ngtech.co.il \
--cc=blackhole@airpost.net \
--cc=netfilter@vger.kernel.org \
--cc=the.warl0ck.1989@gmail.com \
/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