[CentOS] iptables-save: INPUT DROP [26:8260]

Alexander Farber

alexander.farber at gmail.com
Tue Dec 2 22:58:43 UTC 2008


Hello,

why does iptables-save print 2 numbers in square brackets?
Is it used for anything? Is it number of inspected packets
(and what's the other number then)?

And what does *filter mean?

Thank you
Alex

$ sudo iptables-save
# Generated by iptables-save v1.3.5 on Tue Dec  2 23:53:56 2008
*filter
:INPUT DROP [26:8260]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [376:82274]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 --tcp-flags
FIN,SYN,RST,ACK SYN -m limit --limit 1/min --limit-burst 3 -j ACCEPT
COMMIT
# Completed on Tue Dec  2 23:53:56 2008

$ cat /etc/*release
CentOS release 5.2 (Final)
2008010200



More information about the CentOS mailing list