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

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

 



On Sat, 1 Nov 2008, Jan Engelhardt wrote:

On Friday 2008-10-31 19:54, Rick Jones wrote:

iptables-save | grep ^- | wc -l

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

But there is no C library. And libiptc is so strongly internal that
it does not fall under libraries-to-use.

I don't see why not to use libiptc. Its been one of the most stable / less-changed through the years...

I'm using libiptc quite extensivly in IPTables::libiptc Perl CPAN module.

Hilsen
  Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
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