iptables-save file syntax

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

 



From: "Nicolas Cadilhac" <cadilhac@cae.com>

> I wonder what are those numbers on these lines :
>
> *nat
> :PREROUTING ACCEPT [77070:3730176]
> :POSTROUTING ACCEPT [2859:369253]
> :OUTPUT ACCEPT [6476:595842]
>
> sometimes it's 0:0 but since they are really big numbers they are not
ports.
> Also are these lines policies ?

its the number of packets/bytes of the table and its the default policy..

if you do an iptables -L -v you would see the same stuff as table headers
for each chain.





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux