From: Aaron Lewis <the.warl0ck.1989@gmail.com>
To: netfilter mailing list <netfilter@vger.kernel.org>
Subject: Native support of counting rules?
Date: Wed, 2 Jan 2013 21:48:35 +0800 [thread overview]
Message-ID: <20130102134421.GA17997@devnull> (raw)
Hi,
I want to know if I could get how many rules are present, i.e in
filter table?
Now I do `iptables -L | wc -l` like stuff, I know it's not right,
but iptables itself doesn't seem to count rules anyway.
I need this just to let user to know how many rules are present,
without root privileges, and now being able to view actual rules.
--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
next reply other threads:[~2013-01-02 13:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-02 13:48 Aaron Lewis [this message]
2013-01-02 13:58 ` Native support of counting rules? 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
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=20130102134421.GA17997@devnull \
--to=the.warl0ck.1989@gmail.com \
--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.