Re: Native support of counting rules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just FYI,

I'm not in a hurry .. for now I did a little tweak to the iptables
program and accomplished this.

libiptc isn't in a stable state, right?

On Wed, Jan 2, 2013 at 9:48 PM, Aaron Lewis <the.warl0ck.1989@xxxxxxxxx> wrote:
> 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



-- 
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux