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

Re: iptables: reading counters



On Thu, Jan 06, 2005 at 01:47:39PM +0100, Marcin Owsiany wrote:
> Therefore I would like to somehow attach a "label" (like "server-in" or
> "lan-http" or "other") directly to iptables -L output. Then I would just have
> to use the label in two places: the chain setup script, and the counter reading
> script. Is there some way to do that? I don't want to use line numbers, since
> they change too much and way too often (e.g.at the time any rule is removed).

I don't know how it does it, but have a look at ipac-ng -- it does precisely
this same thing.  I don't think it uses any sort of tag thing.

- Matt

Attachment: signature.asc
Description: Digital signature


Reply to: