Re: [PATCH nft v2] src: Allow to list ruleset without stateful information

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

 



On Mon, Jan 16, 2017 at 06:40:40PM -0200, Elise Lennion wrote:
> Currently only counter and quota have stateful information.
> 
> For named counters, packets and bytes are displayed as 0.
> 
> Standard list ruleset:
> 
> table ip filter {
> 	counter https {
> 		packets 161942 bytes 10253353
> 	}
> 
> 	chain output {
> 		type filter hook output priority 0; policy accept;
> 		counter name tcp dport map { https : "https"}
> 		tcp dport https counter packets 171211 bytes 10869045
> 		tcp dport https quota 25 mbytes used 10 mbytes
> 	}
> }
> 
> With stateless option, -s:
> 
> table ip filter {
> 	counter https {
> 		packets 0 bytes 0
> 	}
> 
> 	chain output {
> 		type filter hook output priority 0; policy accept;
> 		counter name tcp dport map { https : "https"}
> 		tcp dport https counter
> 		tcp dport https quota 25 mbytes
> 	}
> }

Applied, thanks Elise.
--
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