On 03/01/13 17:05, Jan Engelhardt wrote: > On Thursday 2013-01-03 15:56, Jan Vales wrote: > >> Hi, >> >> why dont you use ... >> iptables-save | grep "\-A" | wc -l > > grep ^-A > > But the foremost question is: how is the rule count alone going to be > useful? > I dont think its useful at all - I just like stats and wanted to help ;) Especially with OP's requirement to allow non-root users to view this count. Therefore know that/when you changed something. lg ~Jan -- 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