Re: [Fwd: Re: Shortcuts to counting rules?]

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

 



Jan Engelhardt wrote:
On Friday 2008-10-31 18:57, Rick Jones wrote:


The end goal here is to teach netperf how to get a count of
iptables rules in place in the kernel.  There was also a drifting
question of whether or not strace should be taught about the
getsockopt() options.


iptables-save | grep ^- | wc -l

Here is where I cop to being a luddite who prefers straight C to calling system() :)

And strace should not be taught that. We have seen at least one
change of the interpretation of the binary stream.

How about at least the option name(s) so it can present something other than the 0x40/0x41 etc?

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux