Take the 2-minute tour ×

Possible Duplicate:
Don’t understand [0:0] iptable syntax

iptable-save command gives something like following output

:INPUT DROP [45:2658]
:OUTPUT ACCEPT [78:4056]
:ufw-after-forward - [0:0]

what is the meaning of range of numbers give in square bracket? like in [45: 2658]

share|improve this question

marked as duplicate by Zoredache, mdpc, EEAA, Khaled, Ward Jan 3 '13 at 8:30


add comment

1 Answer

A chain specification looks like : chain-name chain-policy [packet-counter:byte-counter]. The chain-name may be for example PREROUTING, the policy is described previously and can for example be ACCEPT. Finally the packet-counter and byte-counters are the same counters as in the output from iptables -L -v.


share|improve this answer
add comment
