Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

iptable-save command gives something like following output

*filter
:INPUT DROP [45:2658]
:FORWARD DROP [0:0]
: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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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.

http://www.faqs.org/docs/iptables/iptables-save.html

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.