Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In the output of iptables-save

# Generated by iptables-save v1.3.8 on Sun Mar 14 19:42:45 2010
*filter
:INPUT ACCEPT [328764:37367248]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [324693:28884726]
COMMIT
# Completed on Sun Mar 14 19:42:45 2010

What do the numbers 328764:37367248 mean?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

As explained here:

This contains a few comments starting with a # sign. Each table is marked like *<table-name>, for example *mangle. Then within each table we have the chain specifications and rules. A chain specification looks like : <chain-name> <chain-policy> [<packet-counter>:<byte-counter>].

So 328764 is the number of packets and 37367248 is the number of bytes.

share|improve this answer
    
Thanks. That mean I can set them all to zero when I use iptables-restore, right? –  netvope Mar 14 '10 at 20:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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